import { CandidateHealthStoreContext } from "./candidate-health-store-context.js"; import type { FailureClassification, RouterHealthRecord } from "./types.js"; export declare class CandidateHealthStore extends CandidateHealthStoreContext { protected claimLocalLease(key: string, current: RouterHealthRecord, now: number): boolean; protected claimLease(key: string, current: RouterHealthRecord, now?: number): boolean; protected pruneExpiredClaimedProbes(keys: string[], now: number): void; protected update(key: string, updater: (current: RouterHealthRecord | undefined) => { record?: RouterHealthRecord; result: T; }, decisionNow?: number): T | "cas-exhausted"; protected readForDecision(key: string, decisionNow: number | undefined): RouterHealthRecord | undefined; protected compareAndSet(): ((key: string, expectedVersion: number | undefined, value: RouterHealthRecord) => boolean) | undefined; protected read(key: string, decisionNow?: number): RouterHealthRecord | undefined; protected clockNow(): number; protected failureKey(index: number, classification: FailureClassification, healthKey?: string, family?: string): string; }