import { CSSObject } from 'styled-components'; import { CSSProperties } from 'react'; import { default as default_2 } from 'react'; import { DefaultTheme } from 'styled-components'; import { DetailedHTMLProps } from 'react'; import { FC } from 'react'; import { HTMLAttributes } from 'react'; import { IStyledComponentBase } from 'styled-components/dist/types'; import { PropsWithChildren } from 'react'; import { Ref } from 'react'; import { Substitute } from 'styled-components/dist/types'; declare type AddDollarSign = { [K in keyof T as `$${string & K}`]: T[K]; }; declare type addFontProps = { font?: FontSizeStylesProps; }; declare type addIconProps = { [T in keyof DefaultTheme['icon']['map']]: Omit & { type: T; name: DefaultTheme['icon']['map'][T][number]; isHidden?: boolean; size?: IconItemProps['size']; }; }[keyof DefaultTheme['icon']['map']]; declare type addOutlineProps = { isReadOnly?: boolean; isDisabledOutline?: boolean; isOutlineBoxShadow?: boolean; }; declare interface addSXProps { sx?: SXProps; } declare type addSXStyleProps = AddDollarSign; declare type addSXTypographyProps = { sxTypography?: TypographySXProps; }; export declare const ButtonGroup: FC; export declare type ButtonGroupProps = { value: ButtonProps[]; className?: string; position: 'horizontal' | 'vertical'; } & addSXProps; export declare const ButtonGroupWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, StyledButtonGroupProps>> & string; declare type ButtonProps = ButtonPropsStandard | ButtonPropsIconGroup; declare type ButtonPropsDefault = PropsWithChildren & { size: IThemeSize; genre: TButtonGenre; id?: string; tabIndex?: number; ref?: Ref; className?: string; icons?: addIconProps[]; isDisabled?: boolean; isDisabledRipple?: boolean; isHidden?: boolean; isOnlyIcon?: boolean; isWhileTapEffect?: boolean; isWidthAsHeight?: boolean; isMinWidthAsContent?: boolean; isRadius?: boolean; isHiddenBorder?: boolean; isPlaystationEffect?: boolean; isNotHoverEffect?: boolean; isFullSize?: boolean; onFocus?: (event: default_2.FocusEvent) => void; onClick?: (event: default_2.MouseEvent) => void; onMouseDown?: (event: default_2.MouseEvent) => void; type?: 'button' | 'submit' | 'reset'; } & addSXProps & addFontProps & addOutlineProps & addSXTypographyProps; declare type ButtonPropsIconGroup = ButtonPropsDefault & { isIconGroup?: true; iconGroupOrder?: number; }; declare type ButtonPropsStandard = ButtonPropsDefault & { isIconGroup?: false; }; declare type FontSizeStylesProps = { size?: TypographyDataProps['size']; weight?: TypographyDataProps['weight']; family?: TypographyDataProps['family']; height?: TypographyDataProps['height']; }; declare type IconItemProps = { [K in keyof DefaultTheme['icon']['map']]: { type: K; name: DefaultTheme['icon']['map'][K][number]; className?: string; onClick?: (event: default_2.MouseEvent) => void; size: IThemeSize | '100%'; color?: IThemePaletteKeys; turn?: number; order?: number; tabIndex?: number; } & addSXProps; }[keyof DefaultTheme['icon']['map']]; declare type IThemeDevice = 'default' | 'tablet' | 'mobile'; declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope'; declare type IThemeGenre = Record, IThemeGenreTypeDefault>; declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white' | 'bustmarket-gray-violet' | 'bustmarket-gray' | 'bustmarket-violet' | 'bustmarket-white-violet'; declare interface IThemeGenreTypeDefault { background: { rest: string; hover: string; }; border: { rest: string; hover: string; }; color: { rest: string; hover: string; placeholder: string; }; } declare type IThemePaletteKeys = 'transparent' | 'black100' | 'black80' | 'black60' | 'black50' | 'black40' | 'black10' | 'black05' | 'black04' | 'blackHelena' | 'blackJanice' | 'grayJanice' | 'grayKaren' | 'grayMonica' | 'graySandra' | 'grayPatricia' | 'graySarah' | 'grayStassie' | 'grayAdriana' | 'greenGoogle' | 'grayBarbara' | 'grayStephanie' | 'grayFrances' | 'grayTina' | 'green100' | 'green50' | 'green25' | 'green10' | 'green10Background' | 'whiteStandard' | 'whiteJanice' | 'yellowGoogle' | 'yellow100' | 'yellow50' | 'yellow25' | 'yellow10' | 'yellow10Background' | 'redGoogle' | 'red100' | 'red50' | 'red25' | 'red10' | 'red10Background' | 'blueGoogle' | 'blueRest' | 'blueActive' | 'blueHover' | 'blueFocus' | 'blueBr' | 'blueKaren' | 'blueMonica' | 'violetStephanie' | 'violetJanice' | 'amnezia' | 'inherit' | 'currentColor'; declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small'; declare type IThemeTypographyHeading = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'h9'; declare type IThemeTypographyWeight = 100 | 300 | 400 | 500 | 700 | 900; export declare type StyledButtonGroupProps = AddDollarSign> & addSXStyleProps; declare type SXProps = ({ default: CSSObject; } & { [K in IThemeDevice]?: CSSObject; }) | ((theme: DefaultTheme) => { default: CSSObject; } & { [K in IThemeDevice]?: CSSObject; }); declare type TButtonGenre = keyof IThemeGenre; declare type TypographyAllProps = TypographyDataProps | TypographyVariantProps; declare type TypographyDataProps = TypographyDefaultProps & { size?: number; }; declare type TypographyDefaultProps = { align?: CSSProperties['textAlign']; color?: IThemePaletteKeys; cursor?: CSSProperties['cursor']; decoration?: CSSProperties['textDecoration']; family?: IThemeFontFamily; flex?: string; height?: number | string; isHoverUnderlining?: boolean; letterSpacing?: CSSProperties['letterSpacing']; line?: number; overflow?: CSSProperties['overflow']; shadow?: 'shadowPulse'; transform?: CSSProperties['textTransform']; weight?: IThemeTypographyWeight; wrap?: CSSProperties['textWrap']; isNoUserSelect?: boolean; }; declare type TypographySXProps = { default: TypographyAllProps; } & { [K in IThemeDevice]?: TypographyAllProps; }; declare type TypographyVariantProps = TypographyDefaultProps & { variant: IThemeTypographyHeading; }; export { }