, nextState: Readonly<{}>, nextContext: any): void;
}>, {}> & {
help: (config: import("./types").OpenProps) => void;
hide: () => void;
show: (config: import("./types").OpenProps) => void;
open: (config: import("./types").OpenProps) => {
key: string;
close: () => void;
};
close: (key?: string | undefined) => void;
warning: (config: import("./types").OpenProps) => void;
error: (config: import("./types").OpenProps) => void;
config: (config: Partial<{
top: number;
maxCount: number;
duration: number;
}>) => void;
loading: (config: import("./types").OpenProps) => void;
success: (config: import("./types").OpenProps) => void;
notice: (config: import("./types").OpenProps) => void;
destory: () => void;
withContext: (WrappedComponent: import("react").JSXElementConstructor
& C) => (props: JSX.LibraryManagedAttributes>) => import("react").JSX.Element;
};
export default MessageProvider;
export type { MessageProps, MessageQuickProps } from './types';
export type { ContextMessage } from './toast';