import type { MarkOptional } from 'ts-essentials'; import type { SelectField, SelectFieldClient } from '../../fields/config/types.js'; import type { SelectFieldValidation } from '../../fields/validations.js'; import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'; import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js'; import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js'; type SelectFieldClientWithoutType = MarkOptional; type SelectFieldBaseClientProps = { readonly onChange?: (e: string | string[]) => void; readonly path: string; readonly validate?: SelectFieldValidation; readonly value?: string | string[]; }; type SelectFieldBaseServerProps = Pick; export type SelectFieldClientProps = ClientFieldBase & SelectFieldBaseClientProps; export type SelectFieldServerProps = SelectFieldBaseServerProps & ServerFieldBase; export type SelectFieldServerComponent = FieldServerComponent; export type SelectFieldClientComponent = FieldClientComponent; export type SelectFieldLabelServerComponent = FieldLabelServerComponent; export type SelectFieldLabelClientComponent = FieldLabelClientComponent; export type SelectFieldDescriptionServerComponent = FieldDescriptionServerComponent; export type SelectFieldDescriptionClientComponent = FieldDescriptionClientComponent; export type SelectFieldErrorServerComponent = FieldErrorServerComponent; export type SelectFieldErrorClientComponent = FieldErrorClientComponent; export type SelectFieldDiffServerComponent = FieldDiffServerComponent; export type SelectFieldDiffClientComponent = FieldDiffClientComponent; export {}; //# sourceMappingURL=Select.d.ts.map