/*** useFetch('/user', 'get', { name: 'tony' }, { refreshInterval: 1000 }) */ export declare function useFetch(path: string | null | undefined, method?: 'post' | 'get', params?: any, options?: any): { data: T | undefined; error: any; mutate: import("swr").KeyedMutator; }; //# sourceMappingURL=useFetch.d.ts.map