/**
 * Nexus Prime — Deep Bootstrap
 *
 * Performs heavyweight preparation:
 *   - Candidate file discovery
 *   - Knowledge fabric composition
 *   - Artifact shortlisting
 *   - Token budgeting
 *   - Worker topology hints
 *
 * Only called when BootstrapFastResult.needsDeepBootstrap is true,
 * or when explicitly requested. Results are cached for the session.
 */
import type { BootstrapDeepResult, BootstrapFastResult, CandidateFile, BootstrapShortlist, TopologyHint } from './types.js';
export interface DeepBootstrapDeps {
    /** Discover candidate files for the task */
    discoverCandidateFiles: (task: string) => {
        files: CandidateFile[];
        dropped: string[];
    };
    /** Compose knowledge fabric from candidates + memory */
    composeKnowledgeFabric: (task: string, candidateFiles: string[]) => {
        selectedFiles: number;
        memorySources: number;
        ragChunks: number;
        patternHits: number;
        dominantSource: string;
        reasons: string[];
    };
    /** Resolve artifact shortlist */
    resolveShortlist: (task: string) => BootstrapShortlist;
    /** Compute topology hints based on task and candidates */
    computeTopologyHints: (task: string, candidateCount: number, complexity: number) => TopologyHint[];
    /** Scan catalog health */
    scanCatalogHealth: () => {
        overall: string;
    };
    /** Workspace state root for updating receipt */
    stateRoot: string;
    /** Repo root for identity */
    repoRoot: string;
}
/**
 * Execute deep bootstrap. Assumes fast bootstrap already ran.
 * Updates the durable receipt with deep=true.
 */
export declare function bootstrapDeep(task: string, fastResult: BootstrapFastResult, deps: DeepBootstrapDeps): Promise<BootstrapDeepResult>;
