type MsgState = 'success' | 'error' | 'warning' | 'info';
interface MsgOptions {
    title: string;
    message: string;
    type: MsgState;
    duration: number;
}
export declare const useMessage: () => {
    success: (opt?: Partial<MsgOptions>) => void;
    error: (opt?: Partial<MsgOptions>) => void;
    warning: (opt?: Partial<MsgOptions>) => void;
    info: (opt?: Partial<MsgOptions>) => void;
};
export {};
