import type React from 'react'; import type { MarkOptional } from 'ts-essentials'; import type { TextareaField, TextareaFieldClient } from '../../fields/config/types.js'; import type { TextareaFieldValidation } 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 TextareaFieldClientWithoutType = MarkOptional; type TextareaFieldBaseClientProps = { readonly inputRef?: React.Ref; readonly onKeyDown?: React.KeyboardEventHandler; readonly path: string; readonly validate?: TextareaFieldValidation; }; type TextareaFieldBaseServerProps = Pick; export type TextareaFieldClientProps = ClientFieldBase & TextareaFieldBaseClientProps; export type TextareaFieldServerProps = ServerFieldBase & TextareaFieldBaseServerProps; export type TextareaFieldServerComponent = FieldServerComponent; export type TextareaFieldClientComponent = FieldClientComponent; export type TextareaFieldLabelServerComponent = FieldLabelServerComponent; export type TextareaFieldLabelClientComponent = FieldLabelClientComponent; export type TextareaFieldDescriptionServerComponent = FieldDescriptionServerComponent; export type TextareaFieldDescriptionClientComponent = FieldDescriptionClientComponent; export type TextareaFieldErrorServerComponent = FieldErrorServerComponent; export type TextareaFieldErrorClientComponent = FieldErrorClientComponent; export type TextareaFieldDiffServerComponent = FieldDiffServerComponent; export type TextareaFieldDiffClientComponent = FieldDiffClientComponent; export {}; //# sourceMappingURL=Textarea.d.ts.map