/** */ import { FormOptions, Form } from '../forms'; export interface WatchableFormValue { values: any; label: FormOptions['label']; fields: FormOptions['fields']; } /** * @deprecated See https://github.com/tinacms/rfcs/blob/master/0006-form-hook-conventions.md */ export declare function useLocalForm(options: FormOptions, watch?: Partial): [FormShape, Form]; /** * A hook that creates a form and updates it's watched properties. */ export declare function useForm({ loadInitialValues, ...options }: FormOptions, watch?: Partial): [FormShape, Form, boolean];