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 or not */ isOpen: boolean; /** * A selector for which element gets focus when the modal opens. Uses `document.querySelector` under the hood */ initialFocus?: string; /** * Function 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; /** * Allows custom styling */ className?: string; } declare const _default: ({ isAnimated, ...props }: ModalBaseProps) => React.JSX.Element; export default _default;