import type { ReactElement, ReactNode } from "react";
import type { OptionalChildProps } from "../util/props.js";
export interface FormFooterProps extends OptionalChildProps {
    submit?: ReactNode | undefined;
}
/**
 * Show a form footer with custom submit text.
 * - Shows an elements row containing a submit button (and any additional buttons provided as `children`).
 * - Shows a `<FormMessage>` beneath the buttons that shows any error message set on the form.
 */
export declare function FormFooter({ children, submit }: FormFooterProps): ReactElement;
