import { Schema, FormatDataForMutationOptions } from '../types'; interface IFormatDataForMutationMeta { tableName: string; schema: Schema; appName?: string; initialData?: any; } /** * Formats entity data for create or update mutation based on passed schema. * @param {MutationType} type - The type of the mutation. * @param {string} tableName - The name of the table from the 8base API. * @param {Object} data - The entity data for format. * @param {Object} initialData - Initial data. Used in UPDATE on submit formatting to disconnect removed relations. * @param {Schema} schema - The schema of the used tables from the 8base API. */ declare const formatDataForMutation: (type: "CREATE" | "UPDATE", data: any, { tableName, appName, schema, initialData }: IFormatDataForMutationMeta, options?: FormatDataForMutationOptions) => any; export { formatDataForMutation }; //# sourceMappingURL=formatDataForMutation.d.ts.map