/**
 * MK1 Safe Viewport Calculator
 *
 * Computes safeCols and safeRows that all layout uses.
 * Subtracts configurable margins to prevent overflow in problematic terminals.
 */
export interface SafeViewport {
    safeCols: number;
    safeRows: number;
    rightMargin: number;
    bottomMargin: number;
    screenCols: number;
    screenRows: number;
}
/**
 * Phase A: Get Safe Viewport - Single Source of Truth
 *
 * Rule: last usable column = cols - RIGHT_GAP
 *       last usable row = rows - BOTTOM_GAP
 *
 * Conservative gaps during debugging to kill scrollbars:
 * - RIGHT_GAP = 6 (can reduce later once offenders are gone)
 * - BOTTOM_GAP = 2
 *
 * Hard clamps: safeCols >= MIN_COLS, safeRows >= MIN_ROWS
 */
export declare function getSafeViewport(screenCols: number, screenRows: number): SafeViewport;
//# sourceMappingURL=safeViewport.d.ts.map