import { Box } from "@earendil-works/pi-tui";
import type { VerbatimCompactionDetails, VerbatimCompactionResult, VerbatimCompactionStats } from "../../../core/compaction/index.ts";
import { type CustomMessage } from "../../../core/messages.ts";
interface BoundaryView {
    text: string;
    stats: VerbatimCompactionStats;
    rung: VerbatimCompactionDetails["rung"];
}
/** Renders the durable verbatim compaction boundary without markdown reflow. */
export declare class CompactionBoundaryMessageComponent extends Box {
    private expanded;
    private readonly view;
    constructor(result: VerbatimCompactionResult | BoundaryView);
    setExpanded(expanded: boolean): void;
    invalidate(): void;
    private updateDisplay;
}
export declare function compactionBoundaryFromMessage(message: CustomMessage, expanded: boolean): CompactionBoundaryMessageComponent;
export {};
//# sourceMappingURL=compaction-boundary-message.d.ts.map