import * as React from 'react';
import { type ConfirmModalBodyProps, type ConfirmModalCloseProps, type ConfirmModalContentProps, type ConfirmModalFooterProps, type ConfirmModalHeaderProps, type ConfirmModalProps, type ConfirmModalTriggerProps } from './ConfirmModal.types';
/**
* `ConfirmModal` is a modal dialog that interrupts the user with important content and expects a response.
*
* `ConfirmModal` is a context of the ConfirmModal-related components. It doesn't render any DOM node.
* It controls the visibility of the entire component and provides
* handlers and accessibility properties to ConfirmModal-related components.
* @example
*
* ```tsx
* // Anatomy of the ConfirmModal
*
*
*
*
*
*
*
*
* ```
*/
export declare function ConfirmModal({ children, ...rest }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
/**
* `ConfirmModalContent` is a container of the modal content.
* It creates a portal to render the modal content outside of the DOM tree
* and renders overlay behind the modal content too.
*/
export declare const ConfirmModalContent: React.ForwardRefExoticComponent>;
/**
* `ConfirmModalHeader` is a header of the modal content.
* It renders the accessible title and description of the modal.
*/
export declare const ConfirmModalHeader: React.ForwardRefExoticComponent>;
/**
* `ConfirmModalBody` is a simple wrapper of the main modal content.
*/
export declare const ConfirmModalBody: React.ForwardRefExoticComponent>;
/**
* `ConfirmModalFooter` is a simple wrapper of the footer of the modal content.
* Usually, it contains the action buttons of the modal.
*/
export declare const ConfirmModalFooter: React.ForwardRefExoticComponent>;
/**
* `ConfirmModalTrigger` is a button that opens the modal. **It doesn't render any DOM node.**
* It passes the handler that opens the modal and accessibility properties to the children.
*
* It **must** be placed outside of the `ConfirmModalContent`.
*/
export declare function ConfirmModalTrigger({ children }: ConfirmModalTriggerProps): import("react/jsx-runtime").JSX.Element;
/**
* `ConfirmModalClose` is a button that closes the modal. **It doesn't render any DOM node.**
* It passes the handler that closes the modal to the children.
*/
export declare function ConfirmModalClose({ children }: ConfirmModalCloseProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ConfirmModal.d.ts.map