import type { KnowledgeSourceScope } from "@oscharko-dev/keiko-contracts";
import type { WorkspaceFs } from "@oscharko-dev/keiko-workspace";
import { type DiscoveredFile, type DiscoveryError, type DiscoveryOptions } from "./types.js";
export type WalkYield = {
    readonly kind: "file";
    readonly file: DiscoveredFile;
} | {
    readonly kind: "error";
    readonly error: DiscoveryError;
};
export declare function walkSource(fs: WorkspaceFs, scope: KnowledgeSourceScope, options?: DiscoveryOptions): Generator<WalkYield>;
//# sourceMappingURL=walk.d.ts.map