import type { ArrayField } from 'mzinga/types'; import type { PostgresAdapter } from '../../types'; import type { ArrayRowToInsert, BlockRowToInsert, RelationshipToDelete } from './types'; type Args = { adapter: PostgresAdapter; arrayTableName: string; baseTableName: string; blocks: { [blockType: string]: BlockRowToInsert[]; }; blocksToDelete: Set; data: unknown; field: ArrayField; locale?: string; numbers: Record[]; path: string; relationships: Record[]; relationshipsToDelete: RelationshipToDelete[]; selects: { [tableName: string]: Record[]; }; texts: Record[]; /** * Set to a locale code if this set of fields is traversed within a * localized array or block field */ withinArrayOrBlockLocale?: string; }; export declare const transformArray: ({ adapter, arrayTableName, baseTableName, blocks, blocksToDelete, data, field, locale, numbers, path, relationships, relationshipsToDelete, selects, texts, withinArrayOrBlockLocale, }: Args) => ArrayRowToInsert[]; export {}; //# sourceMappingURL=array.d.ts.map