import type React from 'react'; import type { MarkOptional } from 'ts-essentials'; import type { BlocksField, BlocksFieldClient } from '../../fields/config/types.js'; import type { BlocksFieldValidation } 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 BlocksFieldClientWithoutType = MarkOptional; type BlocksFieldBaseClientProps = { readonly validate?: BlocksFieldValidation; } & FieldPaths; type BlocksFieldBaseServerProps = Pick; export type BlocksFieldClientProps = BlocksFieldBaseClientProps & ClientFieldBase; export type BlocksFieldServerProps = BlocksFieldBaseServerProps & ServerFieldBase; export type BlocksFieldServerComponent = FieldServerComponent; export type BlocksFieldClientComponent = FieldClientComponent; export type BlocksFieldLabelServerComponent = FieldLabelServerComponent; export type BlocksFieldLabelClientComponent = FieldLabelClientComponent; type BlockRowLabelBase = { blockType: string; rowLabel: string; rowNumber: number; }; export type BlockRowLabelClientComponent = React.ComponentType>; export type BlockRowLabelServerComponent = React.ComponentType>; export type BlocksFieldDescriptionServerComponent = FieldDescriptionServerComponent; export type BlocksFieldDescriptionClientComponent = FieldDescriptionClientComponent; export type BlocksFieldErrorServerComponent = FieldErrorServerComponent; export type BlocksFieldErrorClientComponent = FieldErrorClientComponent; export type BlocksFieldDiffServerComponent = FieldDiffServerComponent; export type BlocksFieldDiffClientComponent = FieldDiffClientComponent; export {}; //# sourceMappingURL=Blocks.d.ts.map