interface fetchNotification { page: number; limit: number; spam?: boolean; } declare const useFetchNotification: () => { fetchNotification: ({ page, limit, spam }: fetchNotification) => Promise<{ [k: string]: any; } | undefined>; error: string | undefined; loading: boolean; }; export default useFetchNotification;