import { FC, PropsWithChildren } from 'react'; import { ListBoxProps } from 'react-aria-components'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import { CountryData } from 'country-codes-list'; export type Country = CountryData & { name: string; code: string; }; export type CountryFilterFn = (country: Country) => boolean; export type CountrySortFn = (left: Country, right: Country) => number; export interface CountryOptionsProps extends PropsWithChildren, "children">>, FlowComponentProps { filterBy?: CountryFilterFn; sortBy?: CountrySortFn; } export declare const CountryOptions: FC; export default CountryOptions;