import type { FormStoreValues } from "@ariakit/core/form/form-store"; import type { PickRequired } from "@ariakit/core/utils/types"; import type { ReactElement, ReactNode } from "react"; import type { FormStoreProps } from "./form-store.ts"; type Values = FormStoreValues; /** * Provides a form store to [Form](https://ariakit.com/components/form) * components. * @see https://ariakit.com/components/form * @example * ```jsx * *
* * *
* ``` */ export declare function FormProvider(props: PickRequired, "values" | "defaultValues" | "errors" | "defaultErrors" | "touched" | "defaultTouched">): ReactElement; export declare function FormProvider(props: FormProviderProps): ReactElement; export interface FormProviderProps extends FormStoreProps { children?: ReactNode; } export {};