/**
 * Living Docs Builder - Foundation Builder Phase
 *
 * Generates high-level documentation from key files:
 * - overview.md - Project summary, tech stack, main components
 * - tech-stack.md - Detected technologies and versions
 * - modules-skeleton.md - Module list with brief descriptions
 *
 * This phase completes quickly (1-2 hours) for any codebase size
 * by reading only priority files and using minimal LLM calls.
 */
import type { DiscoveryResult } from './discovery.js';
/**
 * Foundation docs output
 */
export interface FoundationDocs {
    overview: string;
    techStack: string;
    modulesSkeleton: string;
}
/**
 * Key file content map
 */
export type KeyFileMap = Map<string, string>;
/**
 * Progress callback
 */
export type FoundationProgressCallback = (docName: string, status: 'reading' | 'generating' | 'complete') => void;
/**
 * Build foundation documentation from discovery results
 */
export declare function buildFoundation(projectPath: string, discovery: DiscoveryResult, onProgress?: FoundationProgressCallback): Promise<FoundationDocs>;
/**
 * Save foundation docs to the living docs directory
 */
export declare function saveFoundationDocs(projectPath: string, docs: FoundationDocs): Promise<string[]>;
//# sourceMappingURL=foundation-builder.d.ts.map