/**
 * Excel-specific approval component.
 *
 * Renders a diff table (Address | Before | After | Detail) with
 * an ApprovalButtonBar for Accept / Accept All / Reject.
 *
 * Display logic lives in GridTable (grid-table.ts) and the
 * DIFF_COLUMNS definitions below. ExcelApprovalComponent is pure composition.
 */
import type { ExcelApprovalPayload } from '../../app/local/tools/execute-code/approval-payload.js';
import { Container, type TUI } from '../../tui/index.js';
import type { Theme } from '../theme/runtime.js';
import { type ApprovalChoice, type ApprovalQueueInfo } from './approval.js';
export declare class ExcelApprovalComponent extends Container {
    private grid?;
    private buttonBar?;
    private onDone;
    private readonly terminal?;
    private readonly payload;
    private readonly theme;
    private readonly queueInfo?;
    private lastVisibleRows;
    constructor(payload: ExcelApprovalPayload, theme: Theme, onDone: (choice: ApprovalChoice) => void, queueInfo?: ApprovalQueueInfo, terminal?: Pick<TUI, 'terminal'> | {
        rows: number;
    });
    private getVisibleRows;
    private isCompactLayout;
    private rebuild;
    render(width: number): string[];
    handleInput(keyData: string): void;
}
//# sourceMappingURL=excel-approval.d.ts.map