import type { DocumentExtractionProgress, DocumentExtractionProgressEvent } from "../../../src/extensions/compat/index.js"; export interface KnowledgeParserResult { success: true; source_path: string; source_filename: string; source_type: string; slug: string; sandbox_output_path: string; suggested_project_path: string; description: string; title: string; summary: string; stats: Record; warnings: string[]; } export interface KnowledgeParserInput { filePath: string; description?: string; slug?: string; sourceReference?: string; } export type ExtractDocumentText = (input: { filePath: string; mimeType: string; onProgress?: DocumentExtractionProgress; }) => Promise; export interface RunKnowledgeParsersDeps { extractDocumentText?: ExtractDocumentText; onProgress?: (event: DocumentExtractionProgressEvent) => void | Promise; } export declare function slugifyKnowledgeValue(value: string): string; export declare function runKnowledgeParser(input: { filePath: string; outputDir: string; description?: string; slug?: string; sourceReference?: string; }, deps?: RunKnowledgeParsersDeps): Promise; export declare function runKnowledgeParsers(input: { files: KnowledgeParserInput[]; outputDir: string; }, deps?: RunKnowledgeParsersDeps): Promise; //# sourceMappingURL=parser.d.ts.map