export type FetchPromise = Promise>; export interface FetchResponse extends Response { json(): Promise; }