import { AxiosResponse, ResponseType } from '../../dependencies/src/axios-0.33.0/index'; export declare const REMOTE_DATA_TIMEOUT = 30000; export declare const REMOTE_DATA_MAX_CONTENT_LENGTH: number; export declare const REMOTE_DATA_MAX_REDIRECTS = 3; /** * Whether `uri` is an `http(s)` URL that does not obviously point back at the host or its private * network. Anything unparseable, non-`http(s)`, credential-bearing or address-literal-private is * rejected. */ export declare function isPublicHttpUrl(uri: string): boolean; /** * The single entry point through which remote data is fetched. Validates the target, bounds the * request, and re-validates every redirect hop, since a one-off check on the initial URL is * trivially defeated by a redirect. */ export declare function remoteDataGet(uri: string, responseType?: ResponseType): Promise>;