export declare type FetchBody = { data: T; error: string | null; }; export interface FetchError { body?: string; err?: Error; status?: number; statusText?: string; } export declare type FetchResponse = { body: T; error: FetchError; response: Response; token: any; };