import { n as ButtonOptions } from "../button-Bh6AYzok.js";
import { t as FormStore } from "../form-store-C15msSpw.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/form/form-reset.d.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 });
 * <Form store={store}>
 *   <Role {...props}>Reset</Role>
 * </Form>
 * ```
 */
declare const useFormReset: import("@ariakit/react-utils").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();
 *
 * <Form store={form}>
 *   <FormReset>Reset</FormReset>
 * </Form>
 * ```
 */
declare const FormReset: (props: FormResetProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface FormResetOptions<T extends ElementType = TagName> extends ButtonOptions<T> {
  /**
   * Object returned by the
   * [`useFormStore`](https://ariakit.com/reference/use-form-store) hook. If not
   * provided, the closest [`Form`](https://ariakit.com/reference/form) or
   * [`FormProvider`](https://ariakit.com/reference/form-provider) components'
   * context will be used.
   */
  store?: FormStore;
}
type FormResetProps<T extends ElementType = TagName> = Props<T, FormResetOptions<T>>;
//#endregion
export { FormReset, FormResetOptions, FormResetProps, useFormReset };
//# sourceMappingURL=form-reset.d.ts.map