UNPKG

@maccuaa/intellitrust-issuance-sdk

Version:
40 lines (39 loc) 1.1 kB
import { Configuration, ConfigurationParameters } from "./configuration"; import type { RequestArgs } from "./base"; import type { 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: any, keyParamName: string, configuration?: ConfigurationParameters) => Promise<void>; /** * * @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; /** * * @export */ export declare const createRequestFunction: (axiosArgs: RequestArgs, configuration?: ConfigurationParameters) => <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance) => Promise<R>;