import { type WorkspaceFs } from "./fs.js";
import { type DiscoveredFile, type DiscoveryOptions, type DiscoveryStats, type FileContent, type ReadOptions, type WorkspaceInfo } from "./types.js";
export interface DiscoveryResult {
    readonly files: readonly DiscoveredFile[];
    readonly stats: DiscoveryStats;
}
export declare function discoverFiles(workspace: WorkspaceInfo, opts: DiscoveryOptions, fs?: WorkspaceFs): readonly DiscoveredFile[];
export declare function discoverWithStats(workspace: WorkspaceInfo, opts: DiscoveryOptions, fs?: WorkspaceFs): DiscoveryResult;
export declare function readWorkspaceFile(workspace: WorkspaceInfo, relPath: string, opts?: ReadOptions, fs?: WorkspaceFs): FileContent;
//# sourceMappingURL=discovery.d.ts.map