import { ConfirmationPopoverContentProps, SideDrawerProps } from '../../module';
type WithConfirmation = SideDrawerProps & {
    /** Optionally hide the close icon in the header */
    hideCloseIcon?: never;
    /** Optionally disable the outside click "close" functionality  */
    disableOutsideClick?: never;
    /** The content to display in the confirmation popover */
    confirmation: ConfirmationPopoverContentProps;
};
type WithoutConfirmation = SideDrawerProps & {
    confirmation?: never;
    /** Optionally hide the close icon in the header */
    hideCloseIcon?: boolean;
    /** Optionally disable the outside click "close" functionality  */
    disableOutsideClick?: boolean;
};
export type ModalProps = WithConfirmation | WithoutConfirmation;
declare const Modal: (props: ModalProps) => JSX.Element;
export default Modal;
