export interface ServeOptions { port: string; host?: string; } export interface CompileOptions { output: string; } export type ServeCommandHandler = ( dir: string, options: ServeOptions, ) => Promise; export type CompileCommandHandler = ( dir: string, options: CompileOptions, ) => Promise; export interface MarkdownFile { path: string; route: string; content: string; }