import React from 'react'; import './Alert.css'; export declare const classes: Record<"title" | "content" | "actions" | "root" | "confirm-button", string>; interface AlertProps { title: string | { key: string; options?: Record; }; body: string | { key: string; options?: Record; }; okay?: string | { key: string; options?: Record; }; color?: 'success' | 'error' | 'primary'; } export interface AlertDialogProps extends AlertProps { resolve: () => void; } export declare const Alert: React.FC; declare const alert: (props: AlertProps) => Promise; export default alert;