import type { VariantProps } from 'class-variance-authority'; import { flagVariants, type FlagImgAttrs } from './flag-view'; /** Country codes for which a flag asset exists (ISO 3166-1 alpha-2 + a few subdivisions). */ export declare const FLAG_COUNTRIES: readonly string[]; /** Does a flag asset exist for this country code? Case-insensitive. */ export declare function hasFlag(country: string): boolean; export interface FlagProps extends FlagImgAttrs, VariantProps { /** * ISO 3166-1 alpha-2 country code (e.g. `US`, `GB`, `JP`). A handful of * subdivision codes are also supported (`GB-ENG`, `GB-SCT`, `GB-WLS`, * `GB-NIR`, `ES-CT`, `BQ-BO`, `BQ-SA`, `BQ-SE`). Case-insensitive. */ country: string; /** * Accessible name for the flag — populates the `` attribute. * Omit for decorative flags next to a visible country label — the * component will use `alt=""` so screen readers ignore them. */ label?: string; } export declare const Flag: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=flag.d.ts.map