
import { FieldBaseProps } from "../../../shared/form.js";
import "../../../shared/index.js";
import { FieldTypes } from "./types.js";
import { CubeFormInstance } from "./use-form.js";
import { Styles } from "@tenphi/tasty";
import { ReactElement } from "react";
import * as react_jsx_runtime0 from "react/jsx-runtime";

//#region src/components/form/Form/Field.d.ts
interface CubeFieldProps<T extends FieldTypes> extends FieldBaseProps {
  /** The initial value of the input. */
  defaultValue?: any;
  styles?: Styles;
  children?: ReactElement | ((CubeFormInstance: any) => ReactElement);
  /** The form instance */
  form?: CubeFormInstance<T>;
}
declare function Field<T extends FieldTypes>(props: CubeFieldProps<T>): react_jsx_runtime0.JSX.Element | null;
//#endregion
export { Field };
//# sourceMappingURL=Field.d.ts.map