/**
 * MK2 App - Main application entry point
 *
 * MK2 Hotfix: Kill Scrollbars + Fix Command Input
 * - Increased guards (RIGHT_GUARD=4, BOTTOM_GUARD=3, TOP_GUARD=1)
 * - Stricter clamping (>= not >)
 * - Real command textbox with input handling
 * - Focus and readInput() for server terminals
 */
export declare class MK2App {
    private kernel;
    private boxes;
    private debugOverlay;
    private commandBox;
    private operationsBox;
    private errorOverlay;
    constructor();
    /**
     * Setup signal handlers for Ctrl+C (CRITICAL FIX)
     */
    private setupSignalHandlers;
    /**
     * Clean exit (CRITICAL FIX)
     */
    private exitClean;
    /**
     * Start MK2 App
     */
    start(): Promise<void>;
    /**
     * Render layout - MK2 Hotfix: Single source of truth for dimensions
     * FIXED: Check dimensions first, then decide to show overlay or dashboard
     */
    private render;
    /**
     * Show dashboard (normal UI)
     * FIXED: Atomic rendering - validate all rects first, then create all boxes
     */
    private showDashboard;
    /**
     * Show "too small" error overlay
     * FIXED: Separate method to manage overlay lifecycle
     * CRITICAL: Must destroy dashboard elements first, not just render behind them
     */
    private showTooSmallOverlay;
    /**
     * Show error overlay (generic - can be "too small" or layout error)
     */
    private showErrorOverlay;
    /**
     * Append text to operations box
     */
    private appendOps;
    /**
     * Handle resize - MK2 Hotfix: Preserve input focus
     */
    private handleResize;
    /**
     * Destroy all children (kill old boxes on resize)
     * FIXED: Also destroy error overlay and clear blessed screen children
     */
    private destroyAll;
    /**
     * Create error box for terminal too small or other errors
     * FIXED: Use dimensions from single source of truth, include debug booleans
     */
    private createErrorBox;
    /**
     * Stop app
     */
    stop(): void;
}
/**
 * Start MK2 App (entry point)
 */
export declare function startMK2(): Promise<void>;
//# sourceMappingURL=mk2App.d.ts.map