import { type ReactNode } from 'react'; import type { PatternsFieldType } from '@wix/bex-core'; /** * Canonical field type keys (UPPER_SNAKE_CASE). * The map is keyed by these values; incoming camelCase strings * are normalised before lookup. */ export type FieldType = 'SHORT_TEXT' | 'LONG_TEXT' | 'NUMBER' | 'BOOLEAN' | 'DATE' | 'DATE_TIME' | 'DATETIME' | 'TIME' | 'URL' | 'EMAIL' | 'IMAGE' | 'MEDIA_GALLERY' | 'AUDIO' | 'DOCUMENT' | 'MULTI_DOCUMENT' | 'RICH_TEXT' | 'RICH_CONTENT' | 'REFERENCE' | 'MULTI_REFERENCE' | 'OBJECT' | 'ARRAY' | 'ADDRESS' | 'COLOR' | 'INTEGER' | 'DECIMAL' | 'CHECKBOX' | 'DROPDOWN' | 'FILES' | 'MULTI_SELECT'; /** * Converts any casing (camelCase, snake_case, etc.) to a canonical FieldType. * e.g. "shortText" → "SHORT_TEXT", "dateTime" → "DATE_TIME". * Already UPPER_SNAKE_CASE strings pass through unchanged. */ export declare function toFieldType(value: string): FieldType; export declare function getFieldTypeIcon({ fieldType, size, }: { fieldType?: FieldType | PatternsFieldType; size?: 'small' | 'medium'; }): ReactNode; //# sourceMappingURL=fieldTypePrefixIcons.d.ts.map