import * as React from "react"; export declare enum ModalSizes { S = "s", M = "m", L = "l", Fullscreen = "fullscreen" } export interface ModalBaseProps { children?: React.ReactNode; /** Controls whether the modal animates in and out. ⚠️Do not use this directly⚠️ */ isAnimated?: boolean; /** Whether the modal is open */ isOpen: boolean; /** A selector for which element gets focus when the modal opens. Uses `document.querySelector` under the hood */ initialFocus?: string; /** Function that gets called when the modal is closed */ onClose: (event?: React.SyntheticEvent) => void; /** Which size modal to render. ⚠️Do not use this directly⚠️ */ size?: ModalSizes; /** * human-readable selector used for writing tests */ ["data-cy"]?: string; /** * which DOM node the modal will attach to */ overlayRoot?: HTMLElement; /** * the ID attribute that is passed to the modal dialog box */ id?: string; } declare const _default: ({ isAnimated, ...props }: ModalBaseProps) => JSX.Element; export default _default;