/**
 * Renders a context-compaction summary with collapsed/expanded toggle.
 *
 * Collapsed: shows token count and a keybinding hint to expand.
 * Expanded: renders the full compaction summary as markdown.
 */
import type { CustomMessage } from '../../../app/messages.js';
import { Box, type MarkdownTheme } from '../../../tui/index.js';
/**
 * Component that renders a compaction message with collapsed/expanded state.
 * Uses same background color as custom messages for visual consistency.
 */
export declare class CompactionSummaryMessageComponent extends Box {
    private expanded;
    private message;
    private markdownTheme;
    constructor(message: CustomMessage<{
        tokensBefore?: number;
    }>, markdownTheme?: MarkdownTheme);
    setExpanded(expanded: boolean): void;
    invalidate(): void;
    private updateDisplay;
}
//# sourceMappingURL=compaction-summary-message.d.ts.map