import React from 'react'; import useNotification from './hooks/useNotification'; import type { ArgsProps, NotificationConfig } from './interface'; export type { ArgsProps }; export declare function getGlobalConfig(): NotificationConfig; interface BaseMethods { open: (config: ArgsProps) => void; destroy: (key?: React.Key) => void; config: (config: NotificationConfig) => void; useNotification: typeof useNotification; } type StaticFn = (config: ArgsProps) => void; interface NoticeMethods { success: StaticFn; info: StaticFn; warning: StaticFn; error: StaticFn; } declare const staticMethods: NoticeMethods & BaseMethods; export default staticMethods;