import { FetchOptions } from './global'; export declare const createAbortController: () => AbortController; export declare const switchFetch: (fetchUrl: string, audience: string, scope: string, fetchOptions: FetchOptions, worker?: Worker, timeout?: number) => Promise; export declare function getJSON(url: string, timeout: number, audience: string, scope: string, options: FetchOptions, worker?: Worker): Promise;