/**
 * MK1 UI Builder - Single function that creates all widgets
 *
 * Rules:
 * - Only place widgets are created
 * - All positions come from layout spec
 * - Never hardcode positions
 */
import type { Widgets } from 'neo-blessed';
import type { LayoutSpec } from '../layout/layoutEngine.js';
export interface UIRefs {
    rootChildren: any[];
    header?: Widgets.Box;
    posture?: Widgets.Box;
    resources?: Widgets.Box;
    assets?: Widgets.Box;
    operations?: Widgets.Box;
    network?: Widgets.Box;
    capabilities?: Widgets.Box;
    command?: Widgets.Box;
    commandValue: string;
}
/**
 * Destroy all UI widgets
 */
export declare function destroyUI(uiRefs: UIRefs | null, screen: Widgets.Screen): void;
/**
 * Build UI from layout spec
 *
 * This is the ONLY place widgets are created.
 */
export declare function buildUI(screen: Widgets.Screen, spec: LayoutSpec, canvas: {
    cols: number;
    rows: number;
}, commandValue?: string, gitSha?: string): UIRefs;
/**
 * Update operations feed in existing UI
 */
export declare function updateOperationsFeed(uiRefs: UIRefs): void;
/**
 * Update command line value
 */
export declare function updateCommandValue(uiRefs: UIRefs, value: string): void;
//# sourceMappingURL=uiBuilder.d.ts.map