import type { ButtonOptions } from "../button/button.js";
import type { As, Props } from "../utils/types.js";
import type { FormStore } from "./form-store.js";
/**
 * Returns props to create a `FormReset` component.
 * @see https://ariakit.org/components/form
 * @example
 * ```jsx
 * const store = useFormStore();
 * const props = useFormSubmit({ store });
 * <Form store={store}>
 *   <Role {...props}>Submit</Role>
 * </Form>
 * ```
 */
export declare const useFormSubmit: import("../utils/types.js").Hook<FormSubmitOptions<"button">>;
/**
 * Renders a submit buttom in a form.
 * @see https://ariakit.org/components/form
 * @example
 * ```jsx
 * const form = useFormStore();
 * <Form store={form}>
 *   <FormSubmit>Submit</FormSubmit>
 * </Form>
 * ```
 */
export declare const FormSubmit: import("../utils/types.js").Component<FormSubmitOptions<"button">>;
export interface FormSubmitOptions<T extends As = "button"> extends ButtonOptions<T> {
    /**
     * Object returned by the `useFormStore` hook. If not provided, the parent
     * `Form` component's context will be used.
     */
    store?: FormStore;
    /**
     * @default true
     */
    accessibleWhenDisabled?: ButtonOptions<T>["accessibleWhenDisabled"];
}
export type FormSubmitProps<T extends As = "button"> = Props<FormSubmitOptions<T>>;
