import type { AxiosInstance } from "axios"; import type { PartialDeep } from "type-fest"; import type { ConciergeConfig } from "../types/concierge"; /** * The concierge. * * This is the fallback object that must be provided to the application; its * purpose is to contain a default Axios instance to perform HTTP requests and * an optional configuration that defines the default behavior of selected * hooks. */ export declare class Concierge { /** The Axios instance. */ readonly instance: AxiosInstance; /** The configuration for selected hooks. */ readonly config: ConciergeConfig; /** * Creates a concierge. * * Options that are not explicitly passed to this constructor will be set * with the default value. * * @param instance The Axios instance. * @param config The configuration for selected hooks. */ constructor(instance: AxiosInstance, config?: PartialDeep); }