type messageType = 'success' | 'error' | 'loading' | 'info' | 'warning'; export type MessagesProps = { status: messageType; id?: string; duration?: number; }; export declare const useMessage: (props: { followCursor?: boolean; }) => { (content: string, options?: MessagesProps): import("@chakra-ui/react").ToastId; close: (id: import("@chakra-ui/react").ToastId) => void; promise(promise: any, options: any): any; }; export {};