declare class DelayedFetch implements PromiseLike { request: Request; fetchFunction: typeof fetch; innerPromise: Promise | null; constructor(delayedFunction: Promise); withHeader(key: string, value: string): this; then(onfulfilled?: ((value: Response) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): PromiseLike; catch(onrejected: ((reason: any) => TResult2 | PromiseLike) | undefined | null): PromiseLike; private doInner; }