export interface FileArtifact { path: string; action: 'created' | 'modified' | 'deleted'; description: string; } export interface WorkingMemorySnapshot { lastUpdated: string; artifacts: FileArtifact[]; currentTask?: { description: string; status: 'in_progress' | 'blocked' | 'reviewing' | 'completed'; progress: number; }; activeProblems: { problem: string; approach?: string; }[]; nextActions: string[]; } export interface FocusCompressionOptions { lineThreshold: number; sizeThreshold: number; keepCompletedTasks: number; maxWorkingMemoryArtifacts: number; } export interface FocusCompressionResult { needsCompression: boolean; compressed: boolean; oldLines: number; newContent: string; newVersion: string; milestones: { completedTasks: string[]; fileArtifacts: string[]; }; } export declare const DEFAULT_FOCUS_COMPRESSION_OPTIONS: FocusCompressionOptions; export declare function extractVersion(content: string): string; export declare function extractDate(content: string): string; export declare function extractSummary(content: string, maxLines?: number): string; export declare function parseWorkingMemorySection(content: string): WorkingMemorySnapshot | null; export declare function workingMemoryToInjection(snapshot: WorkingMemorySnapshot | null): string; export declare function extractMilestones(content: string): { completedTasks: string[]; fileArtifacts: string[]; }; export declare function validateCurrentFocus(content: string): { valid: boolean; errors: string[]; warnings: string[]; }; export declare function mergeWorkingMemory(content: string, snapshot: WorkingMemorySnapshot): string; export declare function cleanupStaleInfoPure(content: string, config: FocusCompressionOptions): string; export declare function compressFocusContent(content: string, options?: FocusCompressionOptions): FocusCompressionResult; declare function extractDescription(text: string, filePath: string): string; declare function extractProblems(text: string, problems: { problem: string; approach?: string; }[]): void; declare function extractNextActions(text: string, actions: string[]): void; declare function deduplicateArtifacts(artifacts: FileArtifact[]): FileArtifact[]; export { extractDescription, extractProblems, extractNextActions, deduplicateArtifacts, }; //# sourceMappingURL=focus-compression.d.ts.map