/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * Schedules proactive token refresh timers so tokens are refreshed
 * before they expire: fires at (expiry - leadSec - jitterSec).
 *
 * @plan PLAN-20250214-CREDPROXY.P21
 * @requirement R16.1-R16.7
 * @pseudocode analysis/pseudocode/007-proactive-scheduler.md
 */
export interface ProactiveSchedulerOptions {
    refreshFn: (provider: string, bucket: string) => Promise<void>;
    leadTimeSec?: number;
    maxJitterSec?: number;
}
export declare class ProactiveScheduler {
    private readonly refreshFn;
    private readonly leadTimeSec;
    private readonly maxJitterSec;
    private readonly timers;
    constructor(options: ProactiveSchedulerOptions);
    schedule(provider: string, bucket: string, expiryEpochSec: number): void;
    cancel(provider: string, bucket: string): void;
    cancelAll(): void;
    get activeCount(): number;
}
