import { ReactNode } from 'react'; export interface FormFooterProps { className?: string; /** `"submit"` (default) lets a surrounding `
` handle submission; `"button"` calls `onSubmit`. */ submitButtonType?: "submit" | "button"; submitButtonText?: string; cancelButtonText?: string; /** Shows the loading spinner and blocks the submit button. */ isSubmitting?: boolean; /** Disables the submit button independently of the loading state. */ isSubmitDisabled?: boolean; /** Hide the cancel button entirely. */ hideCancel?: boolean; /** Pin the footer to the bottom of the viewport. Default: true. */ sticky?: boolean; /** Left-aligned content, e.g. secondary actions or a status message. */ startContent?: ReactNode; onSubmit?(): void; onCancel?(): void; } /** Sticky form footer with cancel / submit actions. Wire `onCancel` to your app's navigation. */ export default function FormFooter({ className, submitButtonType, submitButtonText, cancelButtonText, isSubmitting, isSubmitDisabled, hideCancel, sticky, startContent, onSubmit, onCancel, }: FormFooterProps): import("react").JSX.Element;