/** * @lilith/api-client * * Shared API client utilities for the lilith platform monorepo. * Provides a factory function for creating configured axios instances. * * @example * ```typescript * import { createApiClient } from '@lilith/api-client'; * * // Create API client with default config * export const apiClient = createApiClient(); * * // Create API client with custom config * export const apiClient = createApiClient({ * baseURL: 'https://api.example.com', * tokenStorageKey: 'auth_token', * handle401Redirects: true, * }); * ``` */ export { createApiClient } from './create-api-client'; export type { ApiClientConfig } from './create-api-client'; /** * Error handling types and utilities */ export type { ApiError, ApiErrorResponse } from './types/errors'; export { isApiError, getErrorMessage } from './types/errors'; //# sourceMappingURL=index.d.ts.map