import React from 'react'; import { type IconDefinition } from '@fortawesome/fontawesome-svg-core'; declare const BUTTON_KINDS: readonly ["primary", "secondary", "tertiary", "success", "danger", "inline", "ghost"]; type ButtonTuple = typeof BUTTON_KINDS; export type ButtonKind = ButtonTuple[number]; declare const VARIANT_KINDS: readonly ["group-end"]; type VariantTuple = typeof VARIANT_KINDS; type VariantKind = VariantTuple[number]; type ButtonTypes = 'submit' | 'reset' | 'button'; interface BaseButtonProps extends React.ComponentPropsWithRef<'button'> { kind: ButtonKind; type?: ButtonTypes; variant?: VariantKind; tooltip?: string | JSX.Element; icon?: IconDefinition | JSX.Element; active?: boolean; 'data-testid'?: string; } type ButtonWithChildren = BaseButtonProps & { children: React.ReactNode; }; type IconOnlyButtonStringTooltip = BaseButtonProps & { tooltip: string; icon: IconDefinition | JSX.Element; children?: undefined; }; type IconOnlyButtonJsxTooltip = BaseButtonProps & { tooltip: JSX.Element; 'aria-label': string; icon: IconDefinition | JSX.Element; children?: undefined; }; export declare const Button: React.ForwardRefExoticComponent<(Omit | Omit | Omit) & React.RefAttributes>; export default Button; //# sourceMappingURL=Button.d.ts.map