export interface FormItemValidator { name: string; fn: (value: any) => string; } export interface FormItemProps { name: string; label: string; disabled?: boolean; validators?: FormItemValidator[]; required?: boolean; } export declare type FormItemValueWatcher = (value: any) => void; export declare type FormItemErrors = Record; export declare type FormItemTexts = { label: string; } & Record;