import { ComponentProps, ReactNode } from "react"; import type { PositionInButtonGroup } from "./ButtonGroup"; import { KeepBoolean, KeepButtonType, KeepColors, KeepSizes } from "../../Keep/KeepTheme"; export interface keepButtonTheme { base: string; disabled: string; width: { half: string; full: string; }; inner: { base: string; position: PositionInButtonGroup; }; notificationLabel: string; default: { color: ButtonColors; transition: KeepBoolean; }; primary: { color: ButtonColors; transition: KeepBoolean; }; outlineGray: { color: ButtonColors; transition: KeepBoolean; }; outlinePrimary: { color: ButtonColors; transition: KeepBoolean; }; dashed: { color: ButtonColors; transition: KeepBoolean; }; text: { color: ButtonColors; transition: KeepBoolean; }; linkPrimary: { color: ButtonColors; transition: KeepBoolean; }; linkGray: { color: ButtonColors; transition: KeepBoolean; }; pill: KeepBoolean; circle: { off: string; size: ButtonSizes; }; size: ButtonSizes; } export interface ButtonProps extends Omit, "className" | "color" | "type"> { href?: string; color?: keyof ButtonColors; type?: keyof ButtonTypes; notificationLabel?: string; pill?: boolean; circle?: boolean; positionInGroup?: keyof PositionInButtonGroup; children?: ReactNode; size?: keyof ButtonSizes; width?: "full" | "half"; customClass?: string; onClick?: () => void; } export interface ButtonTypes extends Pick { [key: string]: string; } export interface ButtonColors extends Pick { [key: string]: string; } export interface ButtonSizes extends Pick { [key: string]: string; } export declare const Button: import("react").ForwardRefExoticComponent & import("react").RefAttributes> & { Group: import("react").FC; };