import type { KnowledgeCapsuleId, KnowledgeSource } from "@oscharko-dev/keiko-contracts";
import type { WorkspaceFs } from "@oscharko-dev/keiko-workspace";
import type { ParserOptions, ParserRegistry } from "../parsers/index.js";
import type { KnowledgeStore } from "../store.js";
import { type DiscoveredFile, type ExtractionResult } from "./types.js";
export interface ExtractDocumentParams {
    readonly capsuleId: KnowledgeCapsuleId;
    readonly source: KnowledgeSource;
    readonly file: DiscoveredFile;
    readonly parserOptions?: ParserOptions;
}
export interface ExtractDocumentDeps {
    readonly fs: WorkspaceFs;
    readonly store: KnowledgeStore;
    readonly parserRegistry: ParserRegistry;
}
export declare function extractDocument(deps: ExtractDocumentDeps, params: ExtractDocumentParams): Promise<ExtractionResult>;
//# sourceMappingURL=extract.d.ts.map