import { CrystallizedContext } from '../types/index.js';
export declare class ContextStorage {
    private repoPath;
    private contextBasePath;
    private templateManager;
    private allFiles;
    private indexMutex;
    constructor(repoPath: string);
    initialize(allFiles: string[]): Promise<void>;
    storeContext(filePath: string, context: Partial<CrystallizedContext>, fileContent?: string, fileMetadata?: {
        category: 'config' | 'source' | 'test' | 'docs' | 'other';
        estimatedTokens: number;
    }): Promise<void>;
    getContext(relativePath: string): Promise<CrystallizedContext | null>;
    private storeMetadata;
    private getContextPath;
    private parseMarkdownContext;
    private updateIndex;
    private regenerateFullIndex;
    getContextStatistics(): Promise<{
        totalContexts: number;
        byCategory: Record<string, number>;
        byTemplate: Record<string, number>;
        totalTokens: number;
        avgTokensPerContext: number;
    }>;
}
//# sourceMappingURL=context-storage.d.ts.map