interface DatabaseLock { isLocked: boolean; lockedBy: string; lockedAt: string | null; } /** * Gets the current database lock state * @returns The current database lock state */ export declare const getDatabaseLock: () => DatabaseLock; /** * Attempts to acquire the database lock * @param processName Name of the process requesting the lock * @returns true if lock was acquired, false if database is already locked */ export declare const acquireDatabaseLock: (processName: string) => boolean; /** * Releases the database lock * @param processName Name of the process releasing the lock * @returns true if lock was released, false if process doesn't own the lock */ export declare const releaseDatabaseLock: (processName: string) => boolean; /** * Checks if the database is available for use * @returns true if database is available, false if locked */ export declare const isDatabaseAvailable: () => boolean; export {}; //# sourceMappingURL=database-lock.d.ts.map