export interface DiscoveryOptions {
    paths: string[];
    depth: number;
    top: number;
    mode: "quick" | "guided" | "full";
    preferences?: string[];
}
export interface ScoredFile {
    filePath: string;
    score: number;
    signals: string[];
    modifiedAt: Date;
    sizeBytes: number;
}
export interface DomainCluster {
    name: string;
    rootPath: string;
    files: ScoredFile[];
    totalScore: number;
    explanation: string;
}
export interface DiscoveryResult {
    clusters: DomainCluster[];
    totalFilesScanned: number;
    totalCandidates: number;
    harnessTranscripts?: HarnessTranscriptSummary[];
}
export interface HarnessTranscriptSummary {
    harness: "claude-code" | "codex" | "cursor";
    paths: string[];
    fileCount: number;
    estimatedDateRange: {
        earliest: Date;
        latest: Date;
    } | null;
    sampleTitles: string[];
    requiresSqlite?: boolean;
}
export declare function discoverHarnessTranscripts(homeDir: string): Promise<HarnessTranscriptSummary[]>;
export declare function discover(options: DiscoveryOptions): Promise<DiscoveryResult>;
/**
 * Format discovery results for terminal output.
 */
export declare function formatDiscoveryOutput(result: DiscoveryResult): string;
/**
 * Format discovery results as JSON for programmatic consumption.
 */
export declare function formatDiscoveryJson(result: DiscoveryResult): string;
//# sourceMappingURL=discovery.d.ts.map