import type { DataTransactionOperation } from 'openxiangda-contracts/browser'; import { type SubtableOperationPlanInput } from '../platform-fields/subtable-value'; import type { SurfaceField } from './SurfaceFields'; import type { GeneratedResourceDefinition } from './generated-resource-definition'; import type { ResourceRecord } from './resource-page-helpers'; /** One Native parent/child plan shared by ordinary and workflow-owned data editing. */ export declare function buildResourceFormOperations(input: { mode: 'create' | 'edit'; resourceCode: string; record?: ResourceRecord; data: Record; values: Record; subtableFields: SurfaceField[]; definitions: Readonly>; canWrite: SubtableOperationPlanInput['canWrite']; canDelete: (definition: GeneratedResourceDefinition) => boolean; }): DataTransactionOperation[]; //# sourceMappingURL=resource-form-operations.d.ts.map