import { BooleanFieldDto } from './boolean-field.dto'; import { TextFieldDto } from './text-field.dto'; import { TextareaFieldDto } from './textarea-field.dto'; import { NumberFieldDto } from './number-field.dto'; import { PhoneFieldDto } from './phone-field.dto'; import { EmailFieldDto } from './email-field.dto'; import { UrlFieldDto } from './url-field.dto'; import { CountriesFieldDto } from './countries-field.dto'; import { CurrencyFieldDto } from './currency-field.dto'; import { DateFieldDto } from './date-field.dto'; import { PasswordFieldDto } from './password-field.dto'; import { SelectFieldDto } from './select-field.dto'; import { MultiSelectFieldDto } from './multi-select-field.dto'; /** * Discriminated union of every concrete field DTO. Discriminator is the string-literal `type`. */ export type AnyFieldDto = BooleanFieldDto | TextFieldDto | TextareaFieldDto | NumberFieldDto | PhoneFieldDto | EmailFieldDto | UrlFieldDto | CountriesFieldDto | CurrencyFieldDto | DateFieldDto | PasswordFieldDto | SelectFieldDto | MultiSelectFieldDto; /** * Runtime registry mapping each `type` literal to its concrete class. * Used by the dispatcher validator and the OpenAPI schema generator to build the * `oneOf` / `discriminator` schema for `AnyFieldDto`. */ export declare const FIELD_DTO_CLASSES: { readonly BOOLEAN: typeof BooleanFieldDto; readonly TEXT: typeof TextFieldDto; readonly TEXTAREA: typeof TextareaFieldDto; readonly NUMBER: typeof NumberFieldDto; readonly PHONE: typeof PhoneFieldDto; readonly EMAIL: typeof EmailFieldDto; readonly URL: typeof UrlFieldDto; readonly COUNTRIES: typeof CountriesFieldDto; readonly CURRENCY: typeof CurrencyFieldDto; readonly DATE: typeof DateFieldDto; readonly PASSWORD: typeof PasswordFieldDto; readonly SELECT: typeof SelectFieldDto; readonly MULTI_SELECT: typeof MultiSelectFieldDto; }; export type FieldTypeLiteral = keyof typeof FIELD_DTO_CLASSES;