import { IExtendedEntity, IExtendedFormEntity, IFieldProps, IFormProps, IGenericFieldEntity, IGenericFormEntity, IPresetsFieldEntity, IPresetsFormEntity, IPresetsTabEntity, IReduxFormHolderEntity } from '../definition'; import { AnyT, IEntity } from '../definitions.interface'; /** * @stable [06.05.2020] * @param {IExtendedFormEntity} wrapper * @param {IGenericFieldEntity} fieldProps * @returns {AnyT} */ export declare const getFormFieldValue: (wrapper: IExtendedFormEntity, fieldProps: IGenericFieldEntity) => AnyT; /** * @stable [23.04.2020] * @param {IFormProps} entity * @returns {boolean} */ export declare const isFormDirty: (entity: IFormProps) => boolean; /** * @stable [23.03.2020] * @param {IFormProps} formProps * @param {IGenericFieldEntity} fieldProps * @returns {boolean} */ export declare const isFormFieldDisabled: (formProps: IFormProps, fieldProps: IGenericFieldEntity) => boolean; /** * @stable [03.02.2020] * @param {IFormProps} formProps * @returns {boolean} */ export declare const isFormSubmittable: (formProps: IFormProps) => boolean; /** * @stable [23.03.2020] * @param {IFormProps} formProps * @returns {boolean} */ export declare const isFormResettable: (formProps: IFormProps) => boolean; /** * @stable [11.05.2020] */ export declare class FormUtils { static readonly fieldDisplayValue: (formEntity: IExtendedFormEntity, fieldProps: IFieldProps, defaultFieldProps?: IFieldProps) => any; static readonly fieldOriginalValue: (entity: IExtendedEntity, fieldProps: IFieldProps) => unknown; static readonly inProgress: (entity: IReduxFormHolderEntity) => boolean; static readonly isChanged: (entity: IReduxFormHolderEntity) => boolean; static readonly isDisabled: (entity: IGenericFormEntity) => boolean; static readonly isFieldChangeable: (formEntity: IPresetsFormEntity, fieldEntity: IPresetsFieldEntity) => boolean; static readonly isFieldReadOnly: (formEntity: IPresetsFormEntity, fieldEntity: IPresetsFieldEntity) => boolean; static readonly isReady: (formProps: IGenericFormEntity) => boolean; static readonly isTabActive: (holderFormEntity: IReduxFormHolderEntity, tabEntity: IPresetsTabEntity) => boolean; static readonly isTouched: (entity: IReduxFormHolderEntity) => boolean; static readonly isValid: (entity: IGenericFormEntity) => boolean; }