import React from 'react';
import { PromptDialogProps, ConfirmDialogProps, AlertDialogProps } from '../dialog';
declare type AlertDialogOptions = Omit<AlertDialogProps, 'visible' | 'onSubmit'> & {
    optimistic?: boolean;
};
declare type ConfirmDialogOptions = Omit<ConfirmDialogProps, 'visible' | 'onSubmit' | 'onDismiss'> & {
    optimistic?: boolean;
};
declare type PromptDialogOptions = Omit<PromptDialogProps, 'visible' | 'onSubmit' | 'onDismiss'> & {
    optimistic?: boolean;
};
declare type DialoggerType = React.FunctionComponent & {
    alert: (options: AlertDialogOptions) => Promise<undefined>;
    confirm: (options: ConfirmDialogOptions) => Promise<boolean>;
    prompt: (options: PromptDialogOptions) => Promise<string | null>;
};
declare const Dialogger: DialoggerType;
export default Dialogger;
