import type { SQL } from '../../db/types.js'; import type { DefinedTable } from '../../domain/types.js'; /** * `jsonb_build_object('field', "source"."column", ...)` over each trace-safe * field, qualified by `sourceAlias` (the CTE name the column resolves through: * `before` for the pre-image, `updated` / `deleted` / `inserted` / `upserted` * for the post-image). Returns `null` when the table has no trace-safe fields * — the caller substitutes `NULL::jsonb`. */ export declare function buildTraceSafeProjection(table: DefinedTable, sourceAlias: string): SQL | null; //# sourceMappingURL=projection.d.ts.map