import type { ComponentProps, ComponentType, FunctionComponent } from 'react'; import { ReactNode } from 'react'; import { Portal } from '../Portal/Portal'; export interface ModalProps extends ComponentProps { isOpen: boolean; hideBackdrop?: boolean; disableBackdropClick?: boolean; children?: ReactNode; onRequestClose?(e: 'backdrop' | 'escapeKeyDown' | string): void; } export declare const Modal: FunctionComponent; export declare const withModal: (WrappedComponent: ComponentType) => FunctionComponent; //# sourceMappingURL=Modal.d.ts.map