/** * Picker key dispatch. * * The picker dispatch is a closed dispatch table where each picker checks * `state..open` and either handles the key (returning `true`) or * falls through (returning `false`). The hook returns a single function * `tryPickerKey(input, key, isEnter)` that the caller's `handleKey` invokes * *before* its non-picker dispatch and bails on `true`. */ import type { KeyEvent } from '../components/input.js'; import type { PickerKeysHost } from './use-picker-keys-types.js'; export type { PickerKeysHost } from './use-picker-keys-types.js'; export declare function usePickerKeys(host: PickerKeysHost): (input: string, key: KeyEvent, isEnter: boolean) => boolean; //# sourceMappingURL=use-picker-keys.d.ts.map