import type { Field } from '../../fields/config/types.js'; import type { ClientFieldWithOptionalType, ServerComponentProps } from './Field.js'; export type GenericErrorProps = { readonly alignCaret?: 'center' | 'left' | 'right'; readonly message?: string; readonly path?: string; readonly showError?: boolean; }; export type FieldErrorClientProps = { field: TFieldClient; } & GenericErrorProps; export type FieldErrorServerProps = { clientField: TFieldClient; readonly field: TFieldServer; } & GenericErrorProps & ServerComponentProps; export type FieldErrorClientComponent = React.ComponentType>; export type FieldErrorServerComponent = React.ComponentType>; //# sourceMappingURL=Error.d.ts.map