/// declare const MessageProvider: import("../config-provider/types").ConfiguredComponentClass void; render(): import("react").JSX.Element | null; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: import("react").ReactNode; }>; refs: { [key: string]: import("react").ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, 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';