declare function fetchJsonp(url: string, options?: fetchJsonp.Options): Promise; declare namespace fetchJsonp { interface Options { timeout?: number; jsonpCallback?: string; jsonpCallbackFunction?: string; nonce?: string; referrerPolicy?: ReferrerPolicy; charset?: string; } interface Response { json(): Promise; json(): Promise; ok: boolean; } } export = fetchJsonp;