import { z } from "zod"; import { Nullable } from "../type"; export declare const configureModelFormFieldSchema: z.ZodObject<{ description: z.ZodNullable; }, "strip", z.ZodTypeAny, { description: string | null; }, { description: string | null; }>; export declare const validateConfigureModelFormSchema: (value: any) => { description: string | null; }; export type ConfigureModelFormFields = z.infer; export type ConfigureModelFormState = { formIsDirty: boolean; fields: ConfigureModelFormFields; errors: Record>; }; export type ConfigureModelFormAction = { setFormIsDirty: (isDirty: boolean) => void; init: () => void; setFieldError: (fieldName: keyof ConfigureModelFormState["errors"], value: Nullable) => void; setFieldValue: (fieldName: T, value: ConfigureModelFormFields[T]) => void; setFieldsValue: (fields: ConfigureModelFormFields) => void; setErrorsValue: (errors: ConfigureModelFormState["errors"]) => void; }; export type ConfigureModelFormStore = ConfigureModelFormState & ConfigureModelFormAction; export declare const configureModelFormInitialState: ConfigureModelFormState; export declare const useConfigureModelFormStore: import("zustand").UseBoundStore, "setState" | "devtools"> & { setState(partial: ConfigureModelFormStore | Partial | ((state: ConfigureModelFormStore) => ConfigureModelFormStore | Partial), replace?: false | undefined, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; setState(state: ConfigureModelFormStore | ((state: ConfigureModelFormStore) => ConfigureModelFormStore), replace: true, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; devtools: { cleanup: () => void; }; }>; //# sourceMappingURL=useConfigureModelFormStore.d.ts.map