import type { FC, HTMLAttributes, PropsWithChildren, ReactNode } from "react"; import type { FormContextField } from "./FormContext"; import type { ButtonProps } from "../../Actions"; import type { AlertProps } from "../../Indicators"; export interface FormProps extends HTMLAttributes { } export type FormLocale = { errorTitle?: (invalidFields: FormContextField[], extraErrors?: string[]) => ReactNode; errorText?: (invalidFields: FormContextField[], extraErrors?: string[]) => ReactNode; }; export interface FormErrorMessageProps extends Omit { locale?: FormLocale; extraErrors?: string[]; } export declare const FormErrorMessage: FC; /** * The `Form` component allows seamless data collection and validation, providing a robust solution for handling complex forms with dynamic input requirements. * * See the [Form documentation page](https://satellite.algolia.com/8261d6576/p/67fa26-form) for more information. */ export declare const Form: FC>; export declare const FormSubmit: FC>; export declare const FormReset: FC>;