export interface CompressedContext {
    project: string;
    mode: 'compact' | 'full' | 'topic';
    tokenEstimate: number;
    sections: ContextSection[];
    compressedAt: string;
    summary: string;
}
export interface ContextSection {
    type: 'overview' | 'recent' | 'decisions' | 'errors' | 'fixes' | 'patterns' | 'handoff' | 'recommendations' | 'files' | 'topics';
    title: string;
    content: string;
    wordCount: number;
    importance: number;
    compressed: boolean;
}
export interface CompressionOptions {
    project: string;
    mode?: 'compact' | 'full' | 'topic';
    topic?: string;
    maxWords?: number;
    maxSections?: number;
    includeHandoff?: boolean;
    includeRecommendations?: boolean;
    includeFiles?: boolean;
    days?: number;
}
export declare function compressContext(options: CompressionOptions): CompressedContext;
export declare function compressToMinimal(project: string): CompressedContext;
export declare function compressForAITool(project: string, tool: string): CompressedContext;
export declare function formatCompressedContext(ctx: CompressedContext): string;
export declare function estimateTokens(text: string): number;
//# sourceMappingURL=context-compression.d.ts.map