/** Dashboard and top-view actions that can be rebound in `.pi/subagents.json`. */ export type DashboardAction = "escapeKey" | "quitKey" | "moveUp" | "moveDown" | "pageUp" | "pageDown" | "home" | "end" | "pageLeft" | "pageRight" | "toggleSelect" | "openConversation" | "kill" | "steer" | "permissions" | "refresh" | "help" | "topView" | "schedules" | "tree" | "swarm" | "commandMode" | "commandSubmit" | "commandCancel" | "commandBackspace" | "closePerf" | "sortTokens" | "sortTurns" | "sortDuration" | "sortTools" | "sortName" | "sortLastSeen"; export type DashboardKeybindings = Record; export declare const DASHBOARD_ACTIONS: readonly DashboardAction[]; /** Vim-style defaults; override per action via `dashboardKeybindings` in settings. */ export declare const DEFAULT_DASHBOARD_KEYBINDINGS: DashboardKeybindings; export type DashboardKeybindingsOverride = Partial>; export declare function sanitizeDashboardKeybindings(raw: unknown): DashboardKeybindingsOverride | undefined; export declare function resolveDashboardKeybindings(override?: DashboardKeybindingsOverride): DashboardKeybindings; export declare function matchDashboardKey(data: string, action: DashboardAction, bindings?: DashboardKeybindings): boolean; export declare function isDashboardNavigationKey(data: string, bindings?: DashboardKeybindings): boolean; /** First configured key for help text (e.g. footer hints). */ export declare function primaryDashboardKey(action: DashboardAction, bindings?: DashboardKeybindings): string;