import React from 'react'; import './Confirm.css'; export declare const classes: Record<"title" | "content" | "actions" | "root" | "confirm-button" | "cancel-button", string>; interface ConfirmProps { title: string | { key: string; options?: Record; }; body: string | { key: string; options?: Record; }; cancel?: string | { key: string; options?: Record; }; confirm?: string | { key: string; options?: Record; }; color?: 'success' | 'error' | 'warning' | 'primary'; } export interface ConfirmDialogProps extends ConfirmProps { resolve: (value: boolean | PromiseLike) => void; } export declare const Confirm: React.FC; declare const confirm: (props: ConfirmProps) => Promise; export default confirm;