import { Component } from 'react'; import { CSSObject } from 'styled-components'; import { CSSProperties } from 'react'; import { DefaultTheme } from 'styled-components'; import { ForwardRefComponent } from 'framer-motion'; import { HTMLMotionProps } from 'framer-motion'; import { IStyledComponentBase } from 'styled-components/dist/types'; import { JSX } from 'react/jsx-runtime'; import { RefAttributes } from 'react'; import { Substitute } from 'styled-components/dist/types'; declare type AddDollarSign = { [K in keyof T as `$${string & K}`]: T[K]; }; declare interface addErrorProps { error?: ErrorMessageProps; } declare type addErrorStylesProps = AddDollarSign; declare type addFontProps = { font?: FontSizeStylesProps; }; declare type addOutlineProps = { isReadOnly?: boolean; isDisabledOutline?: boolean; isOutlineBoxShadow?: boolean; }; declare type addOutlinePropsDollar = AddDollarSign; declare interface addSXProps { sx?: SXProps; } declare type ErrorMessageProps = { errorMessage?: string; isError?: boolean; isErrorAbsolute?: boolean; size?: IThemeSize; sx?: addSXProps['sx']; } & addFontProps; declare type FontSizeStylesProps = { size?: TypographyDataProps['size']; weight?: TypographyDataProps['weight']; family?: TypographyDataProps['family']; height?: TypographyDataProps['height']; }; declare type IThemeDevice = 'default' | 'tablet' | 'mobile'; declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope'; 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 type IThemeGenreToggle = Record, IThemeGenreTypeToggle>; declare interface IThemeGenreTypeToggle { active: { rest: { track: string; thumb: string; border: string; thumbBoxShadow: string; }; hover: { track: string; thumb: string; border: string; thumbBoxShadow: string; }; }; unActive: { rest: { track: string; thumb: string; border: string; thumbBoxShadow: string; }; hover: { track: string; thumb: string; border: string; thumbBoxShadow: 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 IThemeTypographyWeight = 100 | 300 | 400 | 500 | 700 | 900; export declare type StyledToggleProps = AddDollarSign> & addErrorStylesProps & addOutlinePropsDollar; declare type SXProps = ({ default: CSSObject; } & { [K in IThemeDevice]?: CSSObject; }) | ((theme: DefaultTheme) => { default: CSSObject; } & { [K in IThemeDevice]?: CSSObject; }); export declare const Toggle: (props: ToggleProps) => JSX.Element; export declare const ToggleCenter: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, StyledToggleProps>> & string & Omit>, keyof Component>; export declare type ToggleProps = { value: boolean; onChange?: (checked: boolean) => void; isDisabled?: boolean; genre: TToggleGenre; size: IThemeSize; } & addErrorProps & addOutlineProps; /****************************************** Standard *************************************************/ export declare const ToggleWrapper: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, StyledToggleProps>> & string & Omit>, keyof Component>; export declare type TToggleGenre = keyof IThemeGenreToggle; 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; }; export { }