import type { ReactNode } from "react";
import type { ButtonProps } from "../../../ui";
export interface FormSubmitButtonProps extends Omit<ButtonProps, "children"> {
    label?: ReactNode;
    activeLabel?: ReactNode;
    successLabel?: ReactNode;
    failedLabel?: ReactNode;
    onSuccess?: () => void;
}
export declare const FormSubmitButton: (props: FormSubmitButtonProps & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
