import type { CompactionConfig } from '../../config/runtime.js';
import type { Message } from '../../types/message/index.js';
import type { ConversationManager } from '../interface.js';
/**
 * Structured conversation manager wrapping the existing WorkingStateManager.
 * Extracts context from messages into a structured state, then compacts via serialization.
 *
 * Flow:
 * 1. Extract state from input messages (tracks tasks, decisions, files, etc.)
 * 2. Serialize state to XML-like format
 * 3. Inject compacted state as system message
 * 4. Trim older messages, keeping the state message + recent history
 *
 * Provides maximum context preservation but more computational overhead.
 */
export declare class StructuredCompactionManager implements ConversationManager {
    readonly name = "structured";
    private readonly config;
    constructor(config: CompactionConfig);
    applyManagement(messages: Message[]): Message[];
    reduceContext(messages: Message[], _overflowTokens: number): boolean;
}
//# sourceMappingURL=structured.d.ts.map