UNPKG

helixzypher-api-client

Version:

Orval generated API client for heliZypher

13 lines (12 loc) 741 B
import { type AxiosRequestConfig } from 'axios'; export declare const AXIOS_INSTANCE: import("axios").AxiosInstance; /** * Custom Axios instance function for Orval. * Orval will pass the request configuration and optionally an options object. * This function should return a Promise that resolves with the response data. * @template T - The expected type of the response data. * @param {AxiosRequestConfig} config - The Axios request configuration generated by Orval. * @param {AxiosRequestConfig} [options] - Additional Axios request options. * @returns {Promise<T>} A promise that resolves with the response data. */ export declare const customInstance: <T>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<T>;