/** * UIContext * * Provides cross-cutting UI state to all components without prop drilling. * Used for values that almost every view/component needs. * * @since v1.52.0 */ import { type ReactNode } from 'react'; export interface UIContextValue { /** Whether keyboard input is enabled (false when dialogs are open) */ inputEnabled: boolean; /** Maximum content height in lines */ maxHeight: number; /** Terminal width in columns */ terminalWidth: number; /** Whether debug mode is enabled */ debugEnabled: boolean; } export interface UIProviderProps { children: ReactNode; value: UIContextValue; } export declare function UIProvider({ children, value }: UIProviderProps): React.ReactElement; export declare function useUIContext(): UIContextValue; //# sourceMappingURL=ui-context.d.ts.map