/**
 * Context Files - Automatic Project Context (Gemini CLI inspired)
 *
 * Automatically loads context from special files:
 * - .codebuddy/CONTEXT.md - Project-specific context
 * - CODEBUDDY.md - Alternative location (project root)
 * - ~/.codebuddy/CONTEXT.md - Global user context
 *
 * These files are read at startup and injected into the system prompt.
 */
export interface ContextFile {
    path: string;
    content: string;
    source: 'project' | 'global';
    priority: number;
}
export interface LoadedContext {
    files: ContextFile[];
    combinedContent: string;
    totalSize: number;
}
/**
 * Load context files from project directory
 */
export declare function loadProjectContextFiles(projectDir?: string): Promise<ContextFile[]>;
/**
 * Load and combine all context files
 */
export declare function loadContext(projectDir?: string): Promise<LoadedContext>;
/**
 * Format context for inclusion in system prompt
 */
export declare function formatContextForPrompt(context: LoadedContext): string;
/**
 * Initialize context file in project
 */
export declare function initContextFile(projectDir?: string): Promise<string>;
/**
 * Check if context files exist
 */
export declare function hasContextFiles(projectDir?: string): Promise<boolean>;
/**
 * Get context file summary for display
 */
export declare function formatContextSummary(context: LoadedContext): string;
