import { type LockOp, type ReleaseResult } from "../../common/backend.js"; import type { RedisConfig } from "../types.js"; /** Redis client with eval and optional cached releaseLock method */ interface RedisWithCommands { eval(script: string, numKeys: number, ...args: (string | number)[]): Promise; releaseLock?(lockIdKey: string, lockId: string, toleranceMs: string): Promise; } /** * Creates release operation with atomic ownership verification and deletion. * @see redis/scripts.ts */ export declare function createReleaseOperation(redis: RedisWithCommands, config: RedisConfig): (opts: LockOp) => Promise; export {};