export declare const MIN_LEASE_MS: number;
export declare const MAX_LEASE_MS: number;
export interface SecretLease {
    id: string;
    bundle: string;
    keys: string[];
    createdAt: number;
    expiresAt: number;
    harness: string;
    sleepPersist: boolean;
}
export declare function clampLeaseTtlMs(ttlMs: number): number;
export declare function normalizeLeaseKeys(keys: readonly string[], availableKeys: readonly string[]): string[];
export declare function createSecretLease(input: {
    bundle: string;
    keys: readonly string[];
    availableKeys: readonly string[];
    ttlMs: number;
    now?: number;
    id?: string;
    harness?: string;
    sleepPersist?: boolean;
}): SecretLease;
export declare function leaseIsActive(lease: SecretLease, now?: number): boolean;
export declare function selectLeasedEnv(lease: SecretLease, env: Record<string, string>, now?: number): Record<string, string>;
