import type { EditorProps } from '@monaco-editor/react'; import type { MarkOptional } from 'ts-essentials'; import type { CodeField, CodeFieldClient } from '../../fields/config/types.js'; import type { CodeFieldValidation } 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 CodeFieldClientWithoutType = MarkOptional; type CodeFieldBaseClientProps = { readonly autoComplete?: string; readonly onMount?: EditorProps['onMount']; readonly path: string; readonly validate?: CodeFieldValidation; }; type CodeFieldBaseServerProps = Pick; export type CodeFieldClientProps = ClientFieldBase & CodeFieldBaseClientProps; export type CodeFieldServerProps = CodeFieldBaseServerProps & ServerFieldBase; export type CodeFieldServerComponent = FieldServerComponent; export type CodeFieldClientComponent = FieldClientComponent; export type CodeFieldLabelServerComponent = FieldLabelServerComponent; export type CodeFieldLabelClientComponent = FieldLabelClientComponent; export type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent; export type CodeFieldDescriptionClientComponent = FieldDescriptionClientComponent; export type CodeFieldErrorServerComponent = FieldErrorServerComponent; export type CodeFieldErrorClientComponent = FieldErrorClientComponent; export type CodeFieldDiffServerComponent = FieldDiffServerComponent; export type CodeFieldDiffClientComponent = FieldDiffClientComponent; export {}; //# sourceMappingURL=Code.d.ts.map