import { LockDriver, LockInfo } from '../types'; /** * File system driver implementation * Uses atomic file operations and directory-based locking */ export declare class FileLockDriver implements LockDriver { private lockDir; private cleanupInterval?; private static readonly MAX_FILENAME_LENGTH; constructor(config: { lockDir: string; cleanupInterval?: number; }); private ensureLockDir; private getLockPath; tryAcquire(key: string, lockValue: string, expiryInSeconds: number): Promise; tryAcquireMultiple(keys: string[], lockValue: string, expiryInSeconds: number): Promise; release(key: string, lockValue: string): Promise; releaseMultiple(keys: string[], lockValue: string): Promise; exists(key: string): Promise; getLockInfo(key: string): Promise; cleanup(): Promise; close(): Promise; private readLockFile; }