export declare class DestinationPolicyLockError extends Error { readonly errorCode = "destination-policy-lock-unavailable"; } export interface DestinationPolicyLockOptions { acquireTimeoutMs?: number; leaseMs?: number; pollMs?: number; subject?: string; beforeRenewalClaim?: () => void; } export interface DestinationPolicyLockLease { renew(): void; } export declare const PUBLICATION_LOCK_RECOVERY_QUARANTINE_MS = 180000; export declare function withDestinationPolicyLock(lockPath: string, action: (lease: DestinationPolicyLockLease) => T, options?: DestinationPolicyLockOptions): T; export declare function publicationLockRecoveryEligible(pid: number, expiresAt: string, nowMs?: number): boolean; //# sourceMappingURL=destination-policy-lock.d.ts.map