import type { LocalizedOrNode } from '../client'; import React from "react"; import { type FieldPath, type FieldValues, type RegisterOptions } from "react-hook-form"; export interface FormComponentProps { name: string; isRequired?: boolean; canClear?: boolean; localizedPlaceholder?: LocalizedOrNode; rules?: Omit>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs' | 'disabled'>; defaultValue?: unknown; errorMessage?: string; } export declare function withFormComponent

(Component: React.ComponentType

): React.ForwardRefExoticComponent & React.RefAttributes>; //# sourceMappingURL=hoc.d.ts.map