import type { RestFetchConstructorOptions, RestFetchRequestOptions } from '@vunk/core/shared/types'; export declare class RestFetch { baseURL: RestFetchConstructorOptions['baseURL']; setRequestInit: RestFetchConstructorOptions['setRequestInit']; presetRequestInit: RestFetchConstructorOptions['presetRequestInit']; responseThen: RestFetchConstructorOptions['responseThen']; requestThen: RestFetchConstructorOptions['requestThen']; timeout: RestFetchConstructorOptions['timeout']; ontimeout: RestFetchConstructorOptions['ontimeout']; protected caches: Record>; protected queues: Record; abortController: AbortController; }[]>; constructor(options: RestFetchConstructorOptions); response(options: RestFetchRequestOptions, requestInit?: RequestInit): Promise; request(options: RestFetchRequestOptions, ...args: any[]): Promise; download(downloadOpts: { url: string; fileName?: string; overwriteName?: boolean; }, options?: Partial, requestInit?: RequestInit): Promise; private initFetch; }