import type { MarkOptional } from 'ts-essentials'; import type { RelationshipField, RelationshipFieldClient } from '../../fields/config/types.js'; import type { RelationshipFieldValidation } 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 RelationshipFieldClientWithoutType = MarkOptional; type RelationshipFieldBaseClientProps = { readonly path: string; readonly validate?: RelationshipFieldValidation; }; type RelationshipFieldBaseServerProps = Pick; export type RelationshipFieldClientProps = ClientFieldBase & RelationshipFieldBaseClientProps; export type RelationshipFieldServerProps = RelationshipFieldBaseServerProps & ServerFieldBase; export type RelationshipFieldServerComponent = FieldServerComponent; export type RelationshipFieldClientComponent = FieldClientComponent; export type RelationshipFieldLabelServerComponent = FieldLabelServerComponent; export type RelationshipFieldLabelClientComponent = FieldLabelClientComponent; export type RelationshipFieldDescriptionServerComponent = FieldDescriptionServerComponent; export type RelationshipFieldDescriptionClientComponent = FieldDescriptionClientComponent; export type RelationshipFieldErrorServerComponent = FieldErrorServerComponent; export type RelationshipFieldErrorClientComponent = FieldErrorClientComponent; export type RelationshipFieldDiffServerComponent = FieldDiffServerComponent; export type RelationshipFieldDiffClientComponent = FieldDiffClientComponent; export {}; //# sourceMappingURL=Relationship.d.ts.map