import { Cache } from "@saltcute/cache"; import axios, { type AxiosInstance } from "axios"; export declare abstract class BaseScoreAdapter { protected cache: Cache; protected axios: AxiosInstance; protected logger: import("loglayer", { with: { "resolution-mode": "import" } }).LogLayer; constructor({ baseUrl, name }?: { baseUrl?: string; name?: string; }); private readonly maxLogLength; private readonly cachePartition; /** * Cacheable requests that are waiting for a response, by cache key. */ private readonly inflight; private getCacheKey; protected get(endpoint: string, data?: unknown, /** * Cache TTL in milliseconds. Defaults to 30 minutes. */ cacheTtl?: number, options?: axios.AxiosRequestConfig): Promise; protected post(endpoint: string, data?: unknown): Promise; }