/** * Atomically reconciles and upserts one server-origin sync row by its complete, * null-safe logical identity. The identity contains the null actor, resource * type/id, and either every scope column declared by the sync model or the * caller's explicit effective scope columns for a supported legacy publisher. * A stable portable advisory lock serializes runtime publication and maintenance/backfill calls; * legacy duplicates converge to the newest server sequence, then the lowest * immutable id, before the survivor is updated and re-sequenced. * * The lock is acquired through the static sync model on a dedicated connection. * `persistenceModel` may be an operation-bound model facade so reads/writes keep * their owning operation while sharing the same identity lock as ordinary * publisher calls. * @param {object} args - Persistence arguments. * @param {string} [args.actorForeignKeyColumn] - Persisted actor foreign-key column. * @param {Record>} args.attributes - Complete sync-row mutation attributes. * @param {ReturnType} [args.persistenceModel] - Optional operation-bound model used for row reads/writes. * @param {string[]} [args.scopeColumnNames] - Exact persisted scope columns overriding model declarations for a supported legacy publisher identity. * @param {ReturnType} args.syncModel - Static sync model owning scope metadata and the advisory lock. * @returns {Promise>} Created or reconciled sync row. */ export declare function upsertServerOriginSyncRow({ actorForeignKeyColumn, attributes, persistenceModel, scopeColumnNames, syncModel, ...restArgs }: { actorForeignKeyColumn?: string; attributes: Record>; persistenceModel?: ReturnType; scopeColumnNames?: string[]; syncModel: ReturnType; }): Promise>; //# sourceMappingURL=upsert-server-origin-sync-row.d.ts.map