import { AxiosInstance, AxiosRequestConfig } from 'axios'; export interface APIRequestConfig extends Omit { /** * Retrieves the base URL from environment variables. * * @param env - The environment variable name. * @example 'APP_EXAMPLE_API' */ env?: string; /** * The endpoint prefix that appears on every endpoint. * This could include API base paths or versioning groups for endpoints. * * @example '/api', '/v2' */ prefix?: string; } declare const createAxiosInstance: (config?: APIRequestConfig) => AxiosInstance; export default createAxiosInstance;