import React, { ElementType, FC, HTMLAttributes } from 'react';
declare const Modal: FC;
declare type ModalProps = PrimitiveModalProps & HTMLAttributes;
export interface PrimitiveModalProps {
/**
* open - sets the state of the Dialog. Whether the Dialog is open or not.
*/
open: boolean | undefined;
/**
* onClose - function to execute while closing the Dialog
*/
onClose?: (item: false) => void;
/**
* unmount - controls if the Dialog should be unmounted or hidden when closed
*/
unmount?: boolean;
/**
* as - specifies the html element the component should be rendered as
*/
as?: ElementType;
/**
* initialFocus - control the element that receives focus once the modal is open. Only elements in the tab order can be focused.
*/
initialFocus?: React.MutableRefObject;
}
export { Modal };