import type React from 'react'; /** Which interactive context is active — drives which shortcuts the bar shows. * Ordered by priority (a confirm prompt overrides a picker, etc.). */ export interface KeyHintContext { confirm?: boolean | undefined; picker?: boolean | undefined; monitor?: boolean; managed?: boolean; /** Hint for the next panel: key combination and panel name to encourage discovery. */ nextPanelHint?: { key: string; label: string; } | undefined; } export interface Hint { key: string; label: string; /** When true, render in a distinct color to highlight panel discovery. */ discovery?: boolean | undefined; } /** * Messages cycled in the idle status line (no active confirm/picker/monitor). * The first entry is the canonical brand link — tests depend on it being * index 0, so keep it there. */ export declare const IDLE_MESSAGES: readonly Hint[]; /** Returns true when no interactive context is active (idle / chat). */ export declare function isIdleContext(ctx: KeyHintContext): boolean; export declare function hintsFor(ctx: KeyHintContext): Hint[]; /** * Persistent one-line keybinding hint bar shown at the very bottom of the TUI, * like a status-line cheat sheet. Context-aware: surfaces the keys that matter * for whatever is on screen (confirm prompt → y/n/a/d, picker → ↑↓/↵, etc.). * Discovery hints (next panel) are rendered in a distinct color to encourage exploration. * * When idle (no active context), the bar rotates through {@link IDLE_MESSAGES} * on an interval so the status line serves different purposes over time. */ export declare function KeyHintBar({ context }: { context: KeyHintContext; }): React.ReactElement; //# sourceMappingURL=key-hint-bar.d.ts.map