import { AxiosInstance } from "axios"; /** * Configuration for the token-based HTTP client. */ export interface TokenHttpClientConfig { /** Base URL of the API server */ baseUrl: string; /** Request timeout in milliseconds, defaults to 30000 */ timeout?: number; } /** * Token-based HTTP client for authenticated API calls. * * Unlike `createHttpClient` (which uses a static API key), * this client uses `Authorization: Bearer ` and allows * the token to be set/cleared dynamically after login/logout. */ export declare class TokenHttpClient { private readonly client; private token; constructor(config: TokenHttpClientConfig); /** * Set the authentication token (after login). */ setToken(token: string): void; /** * Clear the authentication token (on logout). */ clearToken(): void; /** * Get the underlying Axios instance for use by services. */ getClient(): AxiosInstance; } //# sourceMappingURL=tokenHttpClient.d.ts.map