import React from 'react'; import { NotificationVariants } from '../../containers'; import { Theme } from '../../themes'; declare type ModalSizeType = 'small' | 'base' | 'medium' | 'large'; export declare type ModalDialogProps = { icon?: React.ReactNode; isOpen?: boolean; onDismiss?: () => void; primaryAction?: (props: { close: () => void; }) => void; secondaryAction?: (props: { close: () => void; }) => void; primaryButton?: React.ReactNode; secondaryButton?: React.ReactNode | ((p: { close: () => void; }) => React.ReactNode); primaryText?: string; secondaryText?: string; footer?: 'expanded' | 'right' | 'full'; tagline?: string; children?: React.ReactNode; variant?: NotificationVariants; size?: ModalSizeType; title?: string; noCloseButton?: boolean; onModalOpen?: () => void; role?: React.AriaRole; }; export declare type ModalComponentProps = { defaultOpen?: boolean; trigger?: React.ReactNode | ((props: { isOpen: boolean; open: () => void; }) => React.ReactNode); } & ModalDialogProps; export declare type ModalStyleProps = { theme: Theme; } & ModalComponentProps; export {};