import type { Field } from 'mzinga/types'; import type { PostgresAdapter } from '../../types'; import type { ArrayRowToInsert, BlockRowToInsert, RelationshipToDelete } from './types'; type Args = { adapter: PostgresAdapter; arrays: { [tableName: string]: ArrayRowToInsert[]; }; /** * This is the name of the base table */ baseTableName: string; blocks: { [blockType: string]: BlockRowToInsert[]; }; blocksToDelete: Set; /** * A snake-case field prefix, representing prior fields * Ex: my_group_my_named_tab_ */ columnPrefix: string; data: Record; existingLocales?: Record[]; /** * A prefix that will retain camel-case formatting, representing prior fields * Ex: myGroup_myNamedTab_ */ fieldPrefix: string; fields: Field[]; forcedLocale?: string; locales: { [locale: string]: Record; }; numbers: Record[]; /** * This is the name of the parent table */ parentTableName: string; path: string; relationships: Record[]; relationshipsToDelete: RelationshipToDelete[]; row: Record; 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 traverseFields: ({ adapter, arrays, baseTableName, blocks, blocksToDelete, columnPrefix, data, existingLocales, fieldPrefix, fields, forcedLocale, locales, numbers, parentTableName, path, relationships, relationshipsToDelete, row, selects, texts, withinArrayOrBlockLocale, }: Args) => void; export {}; //# sourceMappingURL=traverseFields.d.ts.map