export declare type UseFetchResult = [void | T, (...args: any[]) => Promise, boolean, void | Error]; export declare const useFetch: (method: (...args: any[]) => Promise) => [void | T, (...args: any[]) => Promise, boolean, void | Error];