import * as React from 'react';
import { ToastProps } from './Toast';
export interface ToastHandler {
    close: () => void;
    replace: (element: React.ReactElement) => void;
}
export declare const show: (props: Omit<ToastProps, 'visible'> | string) => ToastHandler;
export declare const clear: () => void;
declare type ToastPropsKey = keyof ToastProps;
declare const ALLOW_KEYS: ToastPropsKey[];
export declare const config: (props: Pick<ToastProps, typeof ALLOW_KEYS[number]>) => void;
export {};
