import type { ButtonVariant, IllustrationHeroSquareNames } from '@coinbase/cds-common/types'; import type { ModalBaseProps } from './modal/Modal'; import type { ModalHeaderBaseProps } from './modal/ModalHeader'; import type { AlertBaseProps } from './Alert'; export type FullscreenAlertBaseProps = Pick & Pick & Pick< ModalBaseProps, | 'visible' | 'onRequestClose' | 'disablePortal' | 'accessibilityLabel' | 'accessibilityLabelledBy' | 'testID' > & { /** * Name of the illustration that is rendered in the alert */ heroSquare?: IllustrationHeroSquareNames; /** * Label of the main call to action button */ preferredActionLabel: string; /** * Callback function fired when the main call to action button is pressed */ onPreferredActionPress?: () => void; /** * Variant of the main call to action button * @default primary */ preferredActionVariant?: Extract; /** * Label of the dismiss button */ dismissActionLabel?: string; /** * Callback function fired when the dismiss button is pressed */ onDismissActionPress?: () => void; }; export type FullscreenAlertProps = FullscreenAlertBaseProps; export declare const FullscreenAlert: import('react').MemoExoticComponent< (_props: FullscreenAlertProps) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=FullscreenAlert.d.ts.map