import type { MarkOptional } from 'ts-essentials'; import type { UploadField, UploadFieldClient } from '../../fields/config/types.js'; import type { UploadFieldValidation } 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 UploadFieldClientWithoutType = MarkOptional; type UploadFieldBaseClientProps = { readonly path: string; readonly validate?: UploadFieldValidation; }; type UploadFieldBaseServerProps = Pick; export type UploadFieldClientProps = ClientFieldBase & UploadFieldBaseClientProps; export type UploadFieldServerProps = ServerFieldBase & UploadFieldBaseServerProps; export type UploadFieldServerComponent = FieldServerComponent; export type UploadFieldClientComponent = FieldClientComponent; export type UploadFieldLabelServerComponent = FieldLabelServerComponent; export type UploadFieldLabelClientComponent = FieldLabelClientComponent; export type UploadFieldDescriptionServerComponent = FieldDescriptionServerComponent; export type UploadFieldDescriptionClientComponent = FieldDescriptionClientComponent; export type UploadFieldErrorServerComponent = FieldErrorServerComponent; export type UploadFieldErrorClientComponent = FieldErrorClientComponent; export type UploadFieldDiffServerComponent = FieldDiffServerComponent; export type UploadFieldDiffClientComponent = FieldDiffClientComponent; export {}; //# sourceMappingURL=Upload.d.ts.map