import * as React from 'react'; export interface ConfirmDialogProps { isOpen: boolean; /** Shows a spinner on the confirm button and disables it. */ isDeleting?: boolean; onOpenChange: (open: boolean) => void; handleConfirm: (e: React.MouseEvent) => void | Promise; itemName?: string; dataType?: string; /** Copy for a question that is not a delete. Each falls back to the delete wording. */ title?: string; description?: React.ReactNode; confirmLabel?: string; cancelLabel?: string; /** 'destructive' paints the confirm red; a question that destroys nothing passes 'default'. */ tone?: 'destructive' | 'default'; } export default function ConfirmDialog({ isOpen, isDeleting, onOpenChange, handleConfirm, itemName, dataType, title, description, confirmLabel, cancelLabel, tone, }: ConfirmDialogProps): React.JSX.Element; //# sourceMappingURL=ConfirmDialog.d.ts.map