
import { ValidateTrigger } from "../../../../shared/form.js";
import "../../../../shared/index.js";
import { FieldTypes } from "../types.js";
import { UseFieldProps } from "./types.js";

//#region src/components/form/Form/use-field/use-field-props.d.ts
type UseFieldPropsParams = {
  valuePropsMapper?: ({
    value,
    onChange
  }: {
    value: any;
    onChange: any;
  }) => any;
  /**
   * @default 'onBlur'
   */
  defaultValidationTrigger?: ValidateTrigger;
  /**
   * prop helps to prevent calling hook conditionally, but changing this prop during render is unsafe and forbidden
   * If you want to change this prop after mount, remount the component with a new value.
   */
  unsafe__isDisabled?: boolean;
};
declare function useFieldProps<T extends FieldTypes, Props extends UseFieldProps<T>>(props: Props, params?: UseFieldPropsParams): Props;
//#endregion
export { UseFieldPropsParams, useFieldProps };
//# sourceMappingURL=use-field-props.d.ts.map