import { Context, ListboxUIState } from './state.ts'; import { Command } from './commands.ts'; export type TypeaheadState = { buffer: string; lastInputMs: number; }; export declare function typeaheadFromKey(state: ListboxUIState, _ctx: Context, key: string, now: number): TypeaheadState | null; export declare function applyTypeahead(state: ListboxUIState, ctx: Context, command: Command): ListboxUIState;