export type CompileFileResult = { ok: true; html: string; } | { ok: false; error: string; }; export declare function compileFile(file: string, content: string, layout?: string): Promise;