import type { ElementType } from "react"; import type { ButtonOptions } from "../button/button.tsx"; import type { Props } from "../utils/types.ts"; import type { FormStore } from "./form-store.ts"; declare const TagName = "button"; type TagName = typeof TagName; /** * Returns props to create a `FormReset` component. * @see https://ariakit.com/components/form * @example * ```jsx * const store = useFormStore(); * const props = useFormReset({ store }); *
* ``` */ export declare const useFormReset: import("../utils/types.ts").Hook<"button", FormResetOptions<"button">>; /** * Renders a button that resets the form to its initial values, as defined by * the * [`defaultValues`](https://ariakit.com/reference/use-form-store#defaultvalues) * prop given to the form store. * @see https://ariakit.com/components/form * @example * ```jsx {4} * const form = useFormStore(); * * * ``` */ export declare const FormReset: (props: FormResetProps) => import("react").ReactElement