import { type FieldDraft, type FieldManagement, type NewFieldConfig, type NewFieldType } from '@wix/bex-core'; type NewFieldMapping = { fieldType: NewFieldType; displayName?: string; config?: NewFieldConfig; }; /** * Turns a column's `new` mapping into the DataExtension `FieldDraft` used to both * create the field and pre-fill the editor. The precise type comes from a prior * edit (`config.deType`) or the default for the detected type; permissions come * from a prior edit or the source defaults. Key derives from the resolved column * (creation) or the name (editor). */ export declare const mappingToFieldDraft: (mapping: NewFieldMapping, key: string, name: string, fieldManagement: FieldManagement) => FieldDraft; export {}; //# sourceMappingURL=dataExtensionFieldDraft.d.ts.map