export type FieldType = | "text" | "textarea" | "color" | "icon" | "array" | "object" | "boolean" | "select" export interface FieldOption { label: string value: string } export interface FieldConfig { type: FieldType label?: string options?: FieldOption[] arrayFields?: Record objectFields?: Record } export interface ComponentConfig { label: string fields: Record } export type ElementConfig = Record