import type { Director } from '@wrongstack/core/coordination'; import { type Dispatch, type MutableRefObject, type SetStateAction } from 'react'; import type { AppProps } from '../app-props.js'; import type { Action } from '../app-action-type.js'; import type { State } from '../app-state.js'; import { createCronJobsGetter } from '../cron-slash.js'; import type { MemoryContextMonitorState } from '../memory-context-monitor.js'; interface CoreTuiCommandsOptions { agent: AppProps['agent']; slashRegistry: AppProps['slashRegistry']; memoryStore: AppProps['memoryStore']; onPanelOpen: AppProps['onPanelOpen']; memoryContextMonitorRef: MutableRefObject; memoryRecordTotalRef: MutableRefObject; stateRef: MutableRefObject; boardFocusRef: MutableRefObject<{ current: (boardId: string) => boolean; } | null>; setFocusedBoardId: Dispatch>; terminalWidth: number; getModeLabel: AppProps['getModeLabel']; activeCtrlRef: MutableRefObject; clearPendingConfirms: () => void; dispatch: Dispatch; liveDirector: () => Director | null | undefined; streamingTextRef: MutableRefObject; director: AppProps['director']; handleRewindTo: (index: number) => Promise; } /** Registers process/context/kanban/steer/rewind/agents commands. */ export declare function useCoreTuiCommands({ agent, slashRegistry, memoryStore, onPanelOpen, memoryContextMonitorRef, memoryRecordTotalRef, stateRef, boardFocusRef, setFocusedBoardId, terminalWidth, getModeLabel, activeCtrlRef, clearPendingConfirms, dispatch, liveDirector, streamingTextRef, director, handleRewindTo, }: CoreTuiCommandsOptions): { getCronJobs: ReturnType; runSteerSequence: (text: string) => { preamble: string; droppedCount: number; subagentsTerminated: number; }; }; export {}; //# sourceMappingURL=use-core-tui-commands.d.ts.map