import { KeyboardEvent } from 'react'; import { PhoneCountryChoice, RenderCountryFlag } from './types'; export interface CountryCodeOptionsProps { dataTest: string; /** Already filtered — the caller owns the query. */ visible: readonly PhoneCountryChoice[]; selectedIso2: string; activeIndex: number | null; optionId: (index: number) => string; onSelect: (iso2: string) => void; listId: string; /** Accessible name for the list. Consumer copy, same string that titles the mobile sheet. */ label: string; renderFlag?: RenderCountryFlag; className?: string; /** * Makes the list a Tab stop of its own (the mobile sheet, ASMA-8468), driven by these keys and * the 3 px active-row marker. Without it the list is only driven from the combobox (desktop). */ onKeyDown?: (event: KeyboardEvent) => void; /** Tabbing into the list: put the active-row marker on a row. */ onFocus?: () => void; /** The list is showing: each opening starts at the chosen country (LIST-10, AC 17). */ open?: boolean; } /** * The country listbox. Presentation only — filtering, the active row and the keyboard live in * [[useCountryPicker]], so the desktop trigger and the mobile sheet render the same list. */ export declare const CountryCodeOptions: ({ dataTest, visible, selectedIso2, activeIndex, optionId, onSelect, listId, label, renderFlag, className, onKeyDown, onFocus, open, }: CountryCodeOptionsProps) => JSX.Element;