import { CatalogFile } from '../scanner';
export interface ParsedFile {
    file: CatalogFile;
    frontmatter: Record<string, unknown>;
    content: string;
    raw: string;
}
export interface ParseError {
    file: CatalogFile;
    error: Error;
}
export declare const parseFrontmatter: (file: CatalogFile) => Promise<ParsedFile | ParseError>;
export declare const parseAllFiles: (files: CatalogFile[]) => Promise<{
    parsed: ParsedFile[];
    errors: ParseError[];
}>;
//# sourceMappingURL=index.d.ts.map