import { NavigationApi } from 'piral-core'; import type { FormProps, InputFormOptions } from './types'; /** * Hook for using a form locally that blocks if a transition is performed. * @param initialData The initial data of the form. * @param navigation The navigation API. * @param options The options used for creating the form. * @param existingId The existing id of the form, if any. */ export declare function useForm(initialData: TFormData, navigation: NavigationApi, options: InputFormOptions, existingId?: string): FormProps;