import type { DB } from './types.js'; /** Acquires a transaction-scoped advisory lock. Released automatically at commit/rollback. * * String keys: hashed independently into the int4 arguments of pg_advisory_xact_lock. * Numeric namespace: `advisoryLock(db, 1001, 'key')` → `pg_advisory_xact_lock(1001, hashtext('key'))`. */ export declare function advisoryLock(db: DB, namespace: number, key: string): Promise; export declare function advisoryLock(db: DB, ...keys: string[]): Promise; //# sourceMappingURL=advisory-lock.d.ts.map