declare function useNotice(): { notices: any[]; position: string; add: (noticeProps: any) => string; update: (newNotice: any) => any; remove: (id: string) => void; clear: () => void; }; export default useNotice;