import type { NormalizedTokens, LoadTokensOptions } from "./types.js"; /** * Manager for caching loaded token data. */ export declare class TokensCacheManager { private readonly cache; /** * Loads tokens from compressed data, using cache if available. * If loading fails, the failed promise is removed from the cache to allow retry. * @remarks * The default `cacheKey` is based on the full compressed string; consider providing a shorter stable key. */ load(compressed: string, options?: LoadTokensOptions): Promise; /** * Clears a specific entry or all entries from the cache. */ clear(key?: string): void; /** * Resets the cache to its initial empty state. * Alias for clear() - useful for testing. */ reset(): void; /** * Returns the number of cached entries. */ size(): number; /** * Returns true if the cache contains an entry for the given key. */ has(key: string): boolean; } //# sourceMappingURL=loader.d.ts.map