import { ReactNode } from 'react'; export declare type ButtonTypes = 'button' | 'submit' | 'reset'; export declare enum ButtonColorType { PRIMARY = "primary", SECONDARY = "secondary", GREY = "grey", TEXTGREY = "text-grey", WHITE = "white", UNIVERSAL = "universal" } export declare const sizes: { readonly LARGE: "large"; readonly REGULAR: "regular"; readonly SMALL: "small"; }; export declare const variants: { readonly PRIMARY: "primary"; readonly SECONDARY: "secondary"; readonly GREY: "grey"; readonly TEXTGREY: "text-grey"; readonly WHITE: "white"; readonly UNIVERSAL: "universal"; }; export declare enum ButtonType { BUTTON = "button", SUBMIT = "submit", RESET = "reset" } export declare type ButtonColorTypes = typeof variants[keyof typeof variants]; export declare type Sizes = typeof sizes[keyof typeof sizes]; export interface IBButtonProps { type: ButtonTypes; size?: Sizes; onClick?(e: React.MouseEvent): any; text: string; className?: string; disabled?: boolean; colorType?: ButtonColorTypes; pending?: boolean; testId?: string; startIcon?: ReactNode; endIcon?: ReactNode; width?: number; height?: number; } export declare type ButtonThemeVariant = { background: string; backgroundActive: string; backgroundHover: string; border: string | number; borderColorHover: string; boxShadow: string; boxShadowActive: string; color: string; colorHover: string; spinnerColor?: string; spinnerColorHover?: string; }; export declare type ButtonTheme = { [key in ButtonColorTypes]: ButtonThemeVariant; };