import { type FrontmatterOptions } from "./frontmatter.js"; /** * Ensures the output directory exists. */ export declare function ensureOutputDir(dir: string): Promise; /** * Writes a generated document to disk with YAML frontmatter. * Returns the full path of the written file. */ export declare function writeDocument(outputDir: string, slug: string, content: string, frontmatterOpts: FrontmatterOptions, filenameTemplate: string): Promise; //# sourceMappingURL=writer.d.ts.map