/** @jsxImportSource @emotion/react */ import type { CSSObject } from '@emotion/react'; import type { CSSProperties, ComponentPropsWithoutRef, ElementType } from 'react'; type Size = 'xSmall' | 'small' | 'medium' | 'large'; type Color = CSSProperties['color']; interface BaseColor { base: Color; hover: Color; active?: Color; } type Fill = 'clear' | 'outline' | 'solid'; type ColorTheme = 'success' | 'danger' | 'warning' | 'medium' | 'light' | 'secondary'; interface ButtonStyle { color: BaseColor; size: Size; borderColor: Color; backgroundColor: BaseColor; borderRadius?: CSSProperties['borderRadius']; fill?: Fill; style?: CSSObject | CSSProperties; wrapperStyle?: CSSProperties; } type TooltipOrientation = 'vertical' | 'horizontal'; type ElementProps = E extends ElementType ? ComponentPropsWithoutRef : never; interface InnerButtonProps extends Partial { toolTip?: string; tooltipOrientation?: TooltipOrientation; wrapperClassName?: string; theme?: ColorTheme; as?: E; disabled?: boolean; } type ButtonProps = InnerButtonProps & Omit, 'color' | 'style' | 'disabled' | 'fill'>; declare function Button(props: ButtonProps): import("@emotion/react/jsx-runtime").JSX.Element; declare namespace Button { var Done: (props: Omit, "theme">) => import("@emotion/react/jsx-runtime").JSX.Element; var Danger: (props: Omit, "theme">) => import("@emotion/react/jsx-runtime").JSX.Element; var Action: (props: Omit, "theme">) => import("@emotion/react/jsx-runtime").JSX.Element; var Secondary: (props: Omit, "theme">) => import("@emotion/react/jsx-runtime").JSX.Element; var Info: (props: Omit, "children">) => import("@emotion/react/jsx-runtime").JSX.Element; var BarButton: (props: Omit, "theme">) => import("@emotion/react/jsx-runtime").JSX.Element; } export default Button; //# sourceMappingURL=Button.d.ts.map