import * as React from "react"; import * as z from "zod"; import { GeneralRecord, Nullable } from "../type"; import { PickRegularFieldsFromInstillFormTreeOptions } from "./pick"; import { CheckIsHidden, InstillFormTree, InstillJSONSchema } from "./types"; export type UseInstillFormOptions = { checkIsHidden?: CheckIsHidden; stringifyDefaultValue?: boolean; } & Pick; export declare function useInstillForm(schema: InstillJSONSchema | null, data: GeneralRecord | null, options?: UseInstillFormOptions): { form: import("react-hook-form").UseFormReturn; fields: React.ReactNode; ValidatorSchema: z.ZodTypeAny; formTree: InstillFormTree | null; selectedConditionMap: Nullable; }; //# sourceMappingURL=useInstillForm.d.ts.map