/** * Convex mutation emission for IR referential `onDelete` / `onUpdate` actions. * * Single-column and composite belongsTo/ref edges. setNull clears via * `undefined` (Convex `v.optional` rejects JSON `null`). */ import type { IR, IRCommand } from '../../ir'; import type { ProjectionDiagnostic } from '../interface'; import type { NormalizedOptions } from './generator.js'; export type { InboundOnDeleteEdge, InboundReferentialEdge } from './referential-edges.js'; export { collectInboundOnDeleteEdges, collectInboundOnUpdateEdges } from './referential-edges.js'; export declare function isHardDeleteCommand(cmd: IRCommand): boolean; export declare function renderReferentialOnDeleteHelper(ir: IR, options: NormalizedOptions): { code: string | null; diagnostics: ProjectionDiagnostic[]; parentEntities: Set; }; export declare function renderReferentialOnUpdateHelper(ir: IR, options: NormalizedOptions): { code: string | null; diagnostics: ProjectionDiagnostic[]; parentEntities: Set; }; export declare function renderReferentialOnDeleteCall(entityName: string): string; export declare function renderReferentialOnUpdateCall(entityName: string): string; //# sourceMappingURL=referential-emit.d.ts.map