import React, { type RefObject } from 'react'; import type { CommonComponentProps, Spacing } from '../types'; import type { GetRef } from '../utils/refs'; interface ModalProps extends CommonComponentProps { animationDuration?: number; children?: React.ReactNode; initialFocusOn?: RefObject | Element | string; getRef?: GetRef; id?: string; /** When used with `initialFocusOn`, this allows the initial focus to be set after modal content has finished loading instead of on modal open. */ isContentLoading?: boolean; isOpen?: boolean; maxWidth?: string | number; padding?: Spacing; persist?: boolean; requestClose?: () => void; width?: string | number; zIndex?: number; } export declare function Modal({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, animationDuration, getRef, id, initialFocusOn, isContentLoading, isOpen, maxWidth, padding, persist, requestClose, width, zIndex, children, ...rest }: ModalProps): React.JSX.Element; export {};