import { type AxiosInstance } from "axios"; /** Options for {@link createAxiosRuntime}. */ export interface AxiosRuntimeOptions { /** Axios instance to issue requests through — e.g. one preconfigured * with interceptors, a base URL, or a custom `httpsAgent`. Defaults * to the top-level `axios` singleton. */ instance?: AxiosInstance; } /** Adapts an axios instance to the `typeof fetch` signature so it can be * passed as `CratestackRpcClientOptions.fetch` (the generated runtime's * constructor option) or as an `RpcLink`'s `request.fetchFn` override — * axios becomes the actual transport while every link and the * generated runtime keep speaking the Fetch API's `Request`/`Response` * shape, unaware anything changed underneath. */ export declare function createAxiosRuntime(options?: AxiosRuntimeOptions): typeof fetch; //# sourceMappingURL=index.d.ts.map