import type { Config } from '../config/schema.js'; import type { UnderstandingSourceItem } from '../user-context/sources/types.js'; import type { WorkContextSnapshot, WorkDiscoveryCandidate, WorkDiscoveryProfileCandidate, WorkDiscoveryResult, WorkUnderstandingThreadCandidate } from './types.js'; export declare function analyzeWorkContext(input: { config: Config; snapshot: WorkContextSnapshot; candidateContext?: WorkDiscoveryCandidate[]; signal?: AbortSignal; }): Promise<{ modelRef: string; result: WorkDiscoveryResult; }>; export declare function analyzeUnderstandingSources(input: { config: Config; items: UnderstandingSourceItem[]; workContext?: Pick; signal?: AbortSignal; }): Promise<{ modelRef: string; profileCandidates: WorkDiscoveryProfileCandidate[]; workThreadCandidates: WorkUnderstandingThreadCandidate[]; }>; export declare function workDiscoveryResultMarkdown(result: WorkDiscoveryResult): string;