/// <reference types="react" resolution-mode="require"/>
import { useAppProps } from 'antd/es/app/context';
/**
 * Wrapper for static dialog functionality from antd. Regular static instances
 * are not responsive to the theming context, and will appear with the default
 * styling, so we use the app context from antd which hooks into the context.
 * This requires our code to call the `App.useApp` hook somewhere, so we do that
 * in the AppView. We fall back to the vanilla static methods so testing
 * functionality isn't broken.
 */
declare let notification: useAppProps['notification'];
export declare const useInitApi: () => void;
export { notification };
export type Severity = 'Info' | 'Confirm' | 'Warning' | 'Error';
export type ToastArgs = {
    title: string;
    severity?: Severity;
    description?: string;
    link?: React.ReactNode;
    closeable?: boolean;
    duration?: number;
};
export declare const makeToast: ({ title, severity, closeable, duration, description, link, }: ToastArgs) => void;
export declare const useToast: () => {
    openToast: (args: ToastArgs) => void;
};
//# sourceMappingURL=Toast.d.ts.map