import React from 'react'; import { UseModalReturn } from './Modal'; declare type ConfirmationModalProps = { control: UseModalReturn; heading: React.ReactNode; children: React.ReactNode; icon?: React.ReactNode; loading?: boolean; confirm: (e: React.MouseEvent) => void | Promise; cancel: (e: React.MouseEvent) => void; confirmText?: React.ReactNode; color?: 'indigo' | 'red' | 'green'; }; export declare function ConfirmationModal({ control, heading, color, icon, children, loading, confirm, cancel, confirmText }: ConfirmationModalProps): JSX.Element; export {};