import { ButtonButtonProps } from '@gravity-ui/uikit';
import "./SubmitButton.css";
export type SubmitButtonState = 'enabled' | 'disabled' | 'loading' | 'cancelable';
export interface SubmitButtonProps {
    /**
     * Click handler
     */
    onClick: () => Promise<void>;
    /**
     * Button state
     */
    state: SubmitButtonState;
    /**
     * Additional CSS class
     */
    className?: string;
    /**
     * Button size
     */
    size?: ButtonButtonProps['size'];
    /**
     * Custom tooltip for enabled state
     */
    tooltipSend?: string;
    /**
     * Custom tooltip for cancelable state
     */
    tooltipCancel?: string;
    /**
     * Custom cancelable text (if provided, will be shown in cancelable state)
     */
    cancelableText?: string;
    /**
     * QA/test identifier
     */
    qa?: string;
}
/**
 * Submit button component with state management through props
 *
 * States:
 * - disabled: disabled button state
 * - enabled: enabled button state
 * - loading: loading state
 * - cancelable: cancellation state (during loading)
 *
 * @returns Submit button component
 */
export declare function SubmitButton({ onClick, state, className, size, tooltipSend, tooltipCancel, cancelableText, qa, }: SubmitButtonProps): import("react/jsx-runtime").JSX.Element;
