export interface IFetchConfig { defaultUrl?: string; body?: any; cache?: string; credentials?: string; headers?: Object; method?: string; mode?: string; redirect?: string; referrer?: string; } export declare class FetchClient { private config; constructor(config?: IFetchConfig); setConfig(config: IFetchConfig): void; getConfig(): IFetchConfig; fetch(url: string, options: IFetchConfig): Promise; }