export type ModalBetaElement = HTMLDivElement; export type ModalBetaSize = 's' | 'm' | 'l' | 'xl'; export interface ModalBetaProps { /** * Modal id (useful when multiple modal on the same page) */ id: string; /** * Modal testid */ ['data-testid']?: string; /** * Is Modal Open */ isOpen: boolean; /** * Function to call when closing modal */ onModalClose: () => void; /** * Size of the modal (width, padding and corner radius) */ size?: ModalBetaSize; /** * ID of the HTML element to receive focus when modal is active. */ focusId?: string; /** * Children */ children: React.ReactNode; } declare const ModalBeta: import('react').ForwardRefExoticComponent> & { Header: { ({ onModalClose, children, subtitle, }: import('./ModalBetaHeader').ModalBetaHeaderProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; Body: { ({ children, className }: import('./ModalBetaBody').ModalBetaBodyProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; Footer: { ({ children }: import('./ModalBetaFooter').ModalBetaFooterProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; }; export default ModalBeta;