import { type Database } from "./database.js"; /** Retain the installation row through the caller's outer transaction. This is * a no-write reconciliation read; it never activates or alters an installation. * Acquisition callers must already hold the organization policy fence. */ export declare function withLockedCapabilityInstallation(db: Database, workspaceId: string, capabilityId: string, read: (tx: Database) => Promise): Promise;