import { Configuration } from "./configuration"; import { RequestArgs } from "./base"; import { AxiosInstance, AxiosResponse } from 'axios'; /** * * @export */ export declare const DUMMY_BASE_URL = "https://example.com"; /** * * @throws {RequiredError} * @export */ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void; /** * * @export */ export declare const setApiKeyToObject: ({ object, key, type, keyParamName, configuration, prefix }: { object: any; key?: string | undefined; type?: "Cookie" | undefined; keyParamName: string; configuration?: Configuration | undefined; prefix?: string | undefined; }) => Promise; /** * * @export */ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void; /** * * @export */ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise; /** * * @export */ export declare const setSearchParams: (url: URL, ...objects: any[]) => void; /** * * @export */ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any; /** * * @export */ export declare const toPathString: (url: URL) => string; /** * remove trailing slash from string */ export declare const removeTrailingSlash: (url: string) => string; /** * * @export */ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => >(axios?: AxiosInstance, basePath?: string) => Promise; export declare function isBrowser(): boolean;