type KeyLikeEvent = { key: string; preventDefault: () => void; }; type ElementGetter = () => Node | null | undefined; type FocusedIndexUpdate = number | ((index: number) => number); type VoidCallback = () => void; export declare function positionCountryDropdown(rootEl: Element | null, dropdownEl: HTMLElement | null): void; export declare function scrollCountryOptionIntoView(dropdownEl: Element | null | undefined, index: number): void; export declare function bindCountryDropdownListeners(getDropdownElement: ElementGetter, getSelectorElement: ElementGetter, closeDropdown: VoidCallback, updateDropdownPosition: VoidCallback): VoidCallback; export declare function handleCountrySearchKeydown(event: KeyLikeEvent, focusedIndex: number, items: readonly T[], setFocusedIndex: (index: FocusedIndexUpdate) => void, scrollFocusedIntoView: (index: number) => void, selectItem: (item: T) => void): void; export declare function handleCountryButtonKeydown(event: KeyLikeEvent, dropdownOpen: boolean, setOpenByKeyboard: VoidCallback, focusSearch: VoidCallback, openDropdown: VoidCallback): void; export {}; //# sourceMappingURL=country-selector.d.ts.map