export declare class MK1App {
    private kernel;
    private uiRefs;
    private layoutSpec;
    private lastRebuildReason;
    private inputHandlersAttached;
    private safeViewport;
    private commandValue;
    private resizeDebounceTimer;
    constructor();
    /**
     * Start MK1 App
     */
    start(): Promise<void>;
    /**
     * Rebuild UI - destroy all widgets and recreate from layout spec
     */
    private rebuildUI;
    /**
     * Render full layout (calls rebuildUI)
     */
    private render;
    /**
     * Handle resize (debounced)
     */
    private handleResize;
    /**
     * Setup input handling (manual - works on all terminals)
     */
    private setupInputHandling;
    /**
     * Handle command
     */
    private handleCommand;
    /**
     * Emit layout debug info
     */
    /**
     * Stop app
     */
    stop(): void;
}
declare global {
    var __MK1_APP__: MK1App | undefined;
}
export declare function startMK1(): Promise<void>;
//# sourceMappingURL=mk1App.d.ts.map