import type { KnowledgeCapsuleId, KnowledgeSource } from "@oscharko-dev/keiko-contracts";
import type { WorkspaceFs } from "@oscharko-dev/keiko-workspace";
import { type ParserOptions, type ParserRegistry } from "../parsers/index.js";
import type { KnowledgeStore } from "../store.js";
import { type DiscoveryOptions, type ExtractionEvent } from "./types.js";
export interface DiscoverAndExtractDeps {
    readonly fs: WorkspaceFs;
    readonly store: KnowledgeStore;
    readonly parserRegistry: ParserRegistry;
}
export interface DiscoverAndExtractParams {
    readonly capsuleId: KnowledgeCapsuleId;
    readonly source: KnowledgeSource;
    readonly discovery?: DiscoveryOptions;
    readonly parserOptions?: ParserOptions;
}
export declare function discoverAndExtract(deps: DiscoverAndExtractDeps, params: DiscoverAndExtractParams): AsyncGenerator<ExtractionEvent>;
//# sourceMappingURL=discovery-runner.d.ts.map