import React, { ReactElement } from 'react'; export interface AlertOptions { title?: React.ReactNode; modalClass?: string; } /** * Imperative-style alert function backed by `react-confirm`. * * @returns a Promise which resolves when the alert is closed. */ export declare function alert(content: string | ReactElement, options?: AlertOptions): Promise;