import type { Component } from "@earendil-works/pi-tui";
/**
 * Emits `max(0, getMax(width) - getCurrent(width))` empty rows. Used in
 * `dialog-builder.ts` to absorb the dialog-height residual OUTSIDE the bordered
 * body region: the body renders at its natural height (no internal `""`
 * padding), and this spacer makes up the difference between the global max
 * across tabs and the current tab's body height so the overall dialog footprint
 * stays constant on tab switches.
 */
export declare class BodyResidualSpacer implements Component {
    private readonly getMax;
    private readonly getCurrent;
    constructor(getMax: (width: number) => number, getCurrent: (width: number) => number);
    handleInput(_data: string): void;
    invalidate(): void;
    render(width: number): string[];
}
//# sourceMappingURL=body-residual-spacer.d.ts.map