import type { WorkContextSnapshot, WorkContextSnapshotSummary } from './types.js'; export declare const WORK_DISCOVERY_SCAN_POLICY_VERSION = 1; export declare function canonicalWorkDiscoveryRoot(input: string): Promise; export declare function previewWorkDiscoveryRoot(rootPath: string): Promise<{ canonicalRootPath: string; displayName: string; projectKind: import("../projects/project-kind.js").ProjectKind; projectKindConfidence: number; markerReasons: string[]; fingerprint: { changedFileCount: number; recentAreas: string[]; contentSignature: string; generatedAt: number; branch?: string; }; }>; export declare function probeWorkDiscoveryRoot(rootPath: string, signal?: AbortSignal): Promise; export declare function readWorkDiscoveryTextExcerpt(input: { rootPath: string; relativePath: string; maxChars?: number; signal?: AbortSignal; }): Promise<{ relativePath: string; excerpt: string; modifiedAt: number; truncated: boolean; }>; export declare function searchWorkDiscoveryText(input: { rootPath: string; relativePaths: string[]; query: string; signal?: AbortSignal; }): Promise>; export declare function summarizeWorkContextSnapshot(snapshot: WorkContextSnapshot): WorkContextSnapshotSummary;