import { L as LicenseState } from './trial-ByaOqPZz.cjs'; export { D as DEFAULT_API_BASE, a as LicenseActivation, b as LicenseCache, c as LicenseConfig, d as LicenseError, P as PolarActivateResponse, e as PolarApiError, f as PolarParseError, g as PolarValidateResponse, T as TrialConfig, V as ValidateOptions, h as activateKey, i as deactivateKey, j as getCurrentDomain, k as getDaysLeft, l as isDevEnvironment, m as isEphemeralHost, r as resolveApiBase, v as validateDomainAtRender, n as validateKey, o as validateLicenseKey } from './trial-ByaOqPZz.cjs'; import 'zod'; declare function readCache(domain: string, key?: string): LicenseState | null; declare function writeCache(domain: string, state: LicenseState, key?: string): void; declare function clearCache(domain: string): void; /** * Returns true if a non-expired, valid cache entry exists for this domain. * Pass `key` to also require the cached entry's keyHash to match the current * license key. Used by error-state handling: error + fresh cache = grace * period (licensed), error + no cache = unlicensed. */ declare function hasFreshCache(domain: string, key?: string): boolean; export { LicenseState, clearCache, hasFreshCache, readCache, writeCache };