import { default as React } from 'react'; import { FlagComponentType } from '../../utils/types'; import { ThemeTypes } from '@viasat/beam-shared/utils/constants'; export interface FlagProps extends Omit, 'color'> { /** * Specify which Flag to display */ flag: FlagComponentType; /** * Pass maxWidth. The height will scale proportionally with the width. */ size?: string; /** * Specify the display property of the Flag */ display?: 'inline' | 'inline-block' | 'block' | 'none'; /** * Specify the `aria-label` of the Flag */ ariaLabel?: string; /** * Specify the theme of the Flag. By default it inherits the theme from the parent */ theme?: ThemeTypes; } declare function Flag({ flag: FlagComponent, className: customClassName, size, display, role, ariaLabel, ...props }: FlagProps): import("react/jsx-runtime").JSX.Element | null; declare const MemoizedFlag: React.MemoExoticComponent; export { MemoizedFlag as Flag }; export default Flag;