import { ReactNode } from 'react'; import { ColorVariant } from '../../colors'; import { ButtonProps } from './Button'; export declare function TriStateButton({ children, state, size, className, color, ...props }: { children?: ReactNode; state: null | 'loading' | 'success' | 'error'; size?: 'sm' | 'md' | 'lg'; className?: string; color?: ColorVariant; } & ButtonProps<'button'>): import("react").JSX.Element;