import { AxiosInstance, AxiosRequestConfig } from 'axios'; export interface APIRequestConfig extends Omit { /** * Retrieves the base URL from environment variables. * * @param env - The environment variable name. * @default 'APP_EXAMPLE_API' */ env?: string; /** * The endpoint prefix that appears on every endpoint. * This could include API base paths or versioning groups for endpoints. * Prefixes must include leading forward slashes. * * @example '/api', '/v2' */ prefix?: string; /** * The base URL for the API. * This is the root URL that will be used for all API requests. * It should include the protocol (http or https) and the domain name. * * Note: Only public APIs should be passed here. * * @example 'https://api.example.com' */ baseURL?: string; } export declare const createAxiosInstance: (config?: APIRequestConfig) => AxiosInstance;