import { Manifest, SDK } from '@rsdoctor/types'; export declare function fetchShardingFile(url: string): Promise; export declare function loadManifestByUrl(url: string): Promise<{ data: Manifest.RsdoctorManifestData; cloudData?: Record; __LOCAL__SERVER__?: boolean; __SOCKET__PORT__?: string; __SOCKET__URL__?: string; client: Manifest.RsdoctorManifestClient; cloudManifestUrl?: string | undefined; name?: string | undefined; series?: Manifest.RsdoctorManifestSeriesData[] | undefined; }>; export declare function fetchJSONByUrl(url: string): Promise; export declare function fetchJSONByUrls(urls: string[]): Promise; export declare function parseManifest(json: Manifest.RsdoctorManifestWithShardingFiles): Promise<{ data: Manifest.RsdoctorManifestData; cloudData?: Record; __LOCAL__SERVER__?: boolean; __SOCKET__PORT__?: string; __SOCKET__URL__?: string; client: Manifest.RsdoctorManifestClient; cloudManifestUrl?: string | undefined; name?: string | undefined; series?: Manifest.RsdoctorManifestSeriesData[] | undefined; }>; export declare function getManifestUrl(): string; export declare function fetchManifest(url?: string): Promise; export declare function postServerAPI = SDK.ServerAPI.InferRequestBodyType, R extends SDK.ServerAPI.InferResponseType = SDK.ServerAPI.InferResponseType>(...args: B extends void ? [api: T] : [api: T, body: B]): Promise;