import { type Dispatch } from 'react'; import type { AppProps } from '../app-props.js'; import type { Action } from '../app-action-type.js'; import type { State } from '../app-state.js'; interface SlashPickerOptions { state: State; slashRegistry: AppProps['slashRegistry']; dispatch: Dispatch; setDraft: (buffer: string, cursor: number) => void; } /** Synchronizes the slash menu with the active command token. */ export declare function useSlashPicker({ state, slashRegistry, dispatch, setDraft, }: SlashPickerOptions): () => void; export {}; //# sourceMappingURL=use-slash-picker.d.ts.map