import type { MarkOptional } from 'ts-essentials'; import type { JSONField, JSONFieldClient } from '../../fields/config/types.js'; import type { JSONFieldValidation } 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 JSONFieldClientWithoutType = MarkOptional; type JSONFieldBaseClientProps = { readonly path: string; readonly validate?: JSONFieldValidation; }; type JSONFieldBaseServerProps = Pick; export type JSONFieldClientProps = ClientFieldBase & JSONFieldBaseClientProps; export type JSONFieldServerProps = JSONFieldBaseServerProps & ServerFieldBase; export type JSONFieldServerComponent = FieldServerComponent; export type JSONFieldClientComponent = FieldClientComponent; export type JSONFieldLabelServerComponent = FieldLabelServerComponent; export type JSONFieldLabelClientComponent = FieldLabelClientComponent; export type JSONFieldDescriptionServerComponent = FieldDescriptionServerComponent; export type JSONFieldDescriptionClientComponent = FieldDescriptionClientComponent; export type JSONFieldErrorServerComponent = FieldErrorServerComponent; export type JSONFieldErrorClientComponent = FieldErrorClientComponent; export type JSONFieldDiffServerComponent = FieldDiffServerComponent; export type JSONFieldDiffClientComponent = FieldDiffClientComponent; export {}; //# sourceMappingURL=JSON.d.ts.map