export declare const ComboboxAction: { readonly ClosePopup: "ClosePopup"; readonly CommitAndClose: "CommitAndClose"; readonly MoveFirst: "MoveFirst"; readonly MoveLast: "MoveLast"; readonly MoveNext: "MoveNext"; readonly MovePrevious: "MovePrevious"; readonly OpenPopup: "OpenPopup"; readonly TypeCharacter: "TypeCharacter"; }; export type ComboboxAction = (typeof ComboboxAction)[keyof typeof ComboboxAction]; /** * Returns the combobox action for a keyboard event, based on whether the * popup is currently open or closed. Returns `undefined` when the key has * no mapped behavior. */ export declare function getComboboxActionFromKey(event: Pick, popupIsOpen: boolean): ComboboxAction | undefined; /** * Calculates the next active option index given the current index and the * navigation action. Clamps the result within bounds. * Skips disabled options by searching forward or backward from the target index. * Returns -1 if all options are disabled. */ export declare function getUpdatedIndex(currentIndex: number, action: ComboboxAction, options: Array<{ disabled?: boolean; }>): number; //# sourceMappingURL=keyboardUtils.d.ts.map