import React from 'react'; import { OverlayTriggerState } from '@react-stately/overlays'; import { ModalType } from './types'; export declare const useToggleModalButton: (onPress?: () => void) => { state: OverlayTriggerState; buttonRef: React.MutableRefObject; buttonProps: any; }; declare type ModalProps = { buttonTitle?: string; children?: React.ReactNode | React.ReactNode[]; state?: OverlayTriggerState; onClose?: () => void; isDismissable?: boolean; variant?: ModalType; }; export declare function Modal({ variant, buttonTitle, children, state, onClose, isDismissable }: ModalProps): JSX.Element; export {}; //# sourceMappingURL=Modal.d.ts.map