import { type ButtonProps } from "../button"; /** * A submit button that automatically shows a loading state when the parent form is submitting. * * @remarks * This component uses {@link useFormStatus} to detect the pending state of the form. * It passes the `loading` prop to the underlying {@link Button} component. * * @param props - Props for the Button component. * @returns A Button component configured for form submission. * * @example * ```tsx *
* Save Changes *
* ``` */ export declare function SubmitButton(props: ButtonProps): import("react").JSX.Element;