import { AnimationProps } from 'framer-motion'; import { Area } from 'react-easy-crop'; import { BaseObject } from 'styled-components/dist/types'; import { ButtonHTMLAttributes } from 'react'; import { ClipboardEventHandler } from 'react'; import { Component } from 'react'; import { ComponentType } from 'react'; import { Context } from 'react'; import { CSSObject } from 'styled-components'; import { CSSProperties } from 'react'; import { default as default_2 } from 'react'; import { default as default_3 } from 'node_modules/@types/js-cookie'; import { DefaultTheme } from 'styled-components'; import { DetailedHTMLProps } from 'react'; import { DragEvent as DragEvent_2 } from 'react'; import { DragEventHandler } from 'react'; import { DraggableProps } from 'framer-motion'; import { ExecutionProps } from 'styled-components'; import { FastOmit } from 'styled-components'; import { FC } from 'react'; import { FocusEvent as FocusEvent_2 } from 'react'; import { FocusEventHandler } from 'react'; import { FocusHandlers } from 'framer-motion'; import { ForwardRefComponent } from 'framer-motion'; import { HoverHandlers } from 'framer-motion'; import { HTMLAttributes } from 'react'; import { HTMLInputAutoCompleteAttribute } from 'react'; import { HTMLInputTypeAttribute } from 'react'; import { HTMLMotionProps } from 'framer-motion'; import { ImgHTMLAttributes } from 'react'; import { InputAttributes } from 'react-number-format'; import { InputHTMLAttributes } from 'react'; import { InternalNumberFormatBase } from 'react-number-format/types/types'; import { IStyledComponentBase } from 'styled-components/dist/types'; import { JSX } from 'react/jsx-runtime'; import { KeyboardEventHandler } from 'react'; import { LayoutProps } from 'framer-motion'; import { LiHTMLAttributes } from 'react'; import { LinkComponent } from '@tanstack/react-router'; import { LinkProps } from '@tanstack/react-router'; import { MemoExoticComponent } from 'react'; import { MouseEventHandler } from 'react'; import { NamedExoticComponent } from 'react'; import { NumberFormatValues } from 'react-number-format'; import { NumericFormat } from 'react-number-format'; import { NumericFormatProps } from 'react-number-format'; import { PatternFormat } from 'react-number-format'; import { PatternFormatProps } from 'react-number-format'; import { Placement } from '@floating-ui/react'; import { PropsWithChildren } from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { Ref } from 'react'; import { RefAttributes } from 'react'; import { RefObject } from 'react'; import { RuleSet } from 'styled-components'; import { Substitute } from 'styled-components/dist/types'; import { SVGProps } from 'react'; import { TapHandlers } from 'framer-motion'; import { TextareaHTMLAttributes } from 'react'; export declare const Accordion: FC; export declare const AccordionDetails: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>>> & string; export declare type AccordionDetailsProps = AddDollarSign>; export declare interface AccordionProps { accordionDetails: ReactNode; accordionSummary: ReactNode; expanded: boolean; wrapperProps: StackProps; isAccordionIcon?: boolean; onClickIcon?: () => void; onClickSummary?: () => void; triggerUpdate?: unknown[]; } export declare const AccordionStyledIcon: IStyledComponentBase<"web", Substitute>>> & string & Omit<(props: IconItemProps) => JSX.Element, keyof Component>; export declare type AccordionStyledIconProps = AddDollarSign>; export declare const AccordionSummary: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string; export declare const AccordionSummaryContent: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>>> & string; export declare type AccordionSummaryContentProps = AddDollarSign>; export declare const AccordionWrapper: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string; export declare const addAlwaysOutline: RuleSet< { $isShowAlwaysOutline?: boolean; }>; export declare const addColorTransition: RuleSet; export declare const addDateDropdownDaySize: RuleSet; export declare const addDateInputButtonClearSize: RuleSet; export declare const addDateInputButtonSize: RuleSet; /****************************************** Size *************************************************/ export declare const addDateInputWrapperSize: RuleSet & { isOpen?: boolean; isActive?: boolean; isHaveValue?: boolean; isShowPlaceholder?: boolean; }>>; export declare const addDisabled: RuleSet< { $isDisabled?: boolean; }>; export declare type AddDollarSign = { [K in keyof T as `$${string & K}`]: T[K]; }; export declare const addError: RuleSet>; export declare interface addErrorProps { error?: ErrorMessageProps; } export declare type addErrorStylesProps = AddDollarSign; export declare const addFont: RuleSet>; export declare type addFontProps = { font?: FontSizeStylesProps; }; export declare const addFontSizeTransition: RuleSet< { $isTransitionFontSize?: boolean; }>; export declare const addGridTransition: RuleSet; export 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']]; export declare type addIconPropsGeneric = { type: T; name: DefaultTheme['icon']['map'][T][number]; className?: string; onClick?: (event: default_2.MouseEvent) => void; size?: IThemeSize | '100%'; color?: IThemePaletteKeys; turn?: number; order?: number; tabIndex?: number; isHidden?: boolean; } & addSXProps; /****************************************** is isInputEffect *************************************************/ export declare const addInputIsInputEffect: RuleSet>; /****************************************** Placeholder *************************************************/ export declare const addInputPlaceholder: RuleSet; export declare const addInputPlaceholderNiceNumber: RuleSet; export declare const addNiceNumber: RuleSet; export declare const addOutline: RuleSet>; export declare const addOutlineChildren: RuleSet>; export declare type addOutlineProps = { isReadOnly?: boolean; isDisabledOutline?: boolean; isOutlineBoxShadow?: boolean; }; export declare type addOutlinePropsDollar = AddDollarSign; export declare const addRemoveOutline: RuleSet; export declare const addRemoveScrollbar: RuleSet; export declare const addRipple: RuleSet< { $isRipple?: boolean; }>; export declare const addRippleDefault: RuleSet; export declare const addSX: RuleSet>; export declare interface addSXProps { sx?: SXProps; } export declare type addSXStyleProps = AddDollarSign; export declare const addSXTypography: RuleSet>; export declare type addSXTypographyProps = { sxTypography?: TypographySXProps; }; export declare type addSXTypographyStyleProps = AddDollarSign; export declare const addTextArea: RuleSet & { lineHeight: number; }>>; export declare const addTooltipBoxSize: RuleSet; export declare const addTooltipBoxSizeConstructor: (props: IThemeSizePropertyDefault) => RuleSet; export declare const addTransition: RuleSet; export declare const addTransitionWithoutSize: RuleSet; export declare const AppContext: Context; export declare interface AppContextProps { changePreview: (newPreviewProps: PreviewAdditionalProps) => void; changeStatusBarColor: (color: IThemePaletteKeys) => void; changeBgColor: (color: IThemePaletteKeys) => void; changeBgImage: (image: string) => void; changeTitle: (title: string) => void; changeDescription: (description: string) => void; setDefaultStatusBarColor: () => void; setDefaultBgColor: () => void; setDefaultBgImage: () => void; setDefaultTitle: () => void; setDefaultDescription: () => void; historyStatusBarColor: (step: number) => void; historyBgColor: (step: number) => void; setHistoryTitle: (step: number) => void; historyBgImage: (step: number) => void; historyDescription: (step: number) => void; } declare type AutoHeightTextAreaProps = BaseTextAreaProps & { isAutoHeight: true; maxRows: number; isResize?: false | undefined; }; declare type BaseInputProps = CommonInputProps & (ControlledValue | UncontrolledValue); declare type BaseTextAreaProps = CommonTextAreaProps & (ControlledValue_3 | UncontrolledValue_3); export declare function BlurIn({ children }: { children: ReactNode; }): JSX.Element; export declare const Button: FC; 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; export declare const ButtonList: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign, "size">>>> & string; export declare type ButtonListProps = AddDollarSign, 'size'>>; export 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; export declare type ButtonPropsIconGroup = ButtonPropsDefault & { isIconGroup?: true; iconGroupOrder?: number; }; export declare type ButtonPropsStandard = ButtonPropsDefault & { isIconGroup?: false; }; export declare const Checkbox: FC; export declare const CheckboxChildren: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string; /****************************************** Genre *************************************************/ export declare const CheckboxGenre: RuleSet; export declare const CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element; export declare const CheckboxGroupItem: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string; export declare const CheckboxGroupLabel: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string; export declare type CheckboxGroupProps = { checkboxGenre: CheckboxProps['genre']; checkBoxView: CheckboxProps['view']; checkboxSX?: CheckboxProps['sx']; checkboxIsHiddenBorder?: CheckboxProps['isHiddenBorder']; className?: string; childrenField?: keyof T; isClickOnlyIcon?: boolean; size: CheckboxProps['size']; labelField?: keyof T; multiple?: boolean; onChange?: (props: T[]) => void; options: T[]; value: T[]; valueField: keyof T; } & addSXProps & addFontProps; /****************************************** Size *************************************************/ export declare const CheckboxGroupSize: RuleSet; export declare const CheckboxGroupSizeConstructor: (props: IThemeSizePropertyDefault) => RuleSet; /****************************************** Default *************************************************/ export declare const CheckboxGroupWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, CheckboxGroupWrapperProps>> & string; export declare type CheckboxGroupWrapperProps = AddDollarSign, 'size' | 'font'>> & addSXStyleProps; export declare type CheckboxProps = PropsWithChildren & { checked?: boolean; genre: TCheckboxGenre; view: { true: addIconProps; false: addIconProps; }; isDisabled?: boolean; isOnlyLoading?: boolean; isLoading?: boolean; isHiddenBorder?: boolean; isNotBackground?: boolean; onChange?: (checked: boolean) => void; isWidthAsHeight?: boolean; size: IThemeSize; } & addSXProps & addErrorProps & addSXTypographyProps & addOutlineProps & addFontProps; /****************************************** Size *************************************************/ export declare const CheckboxSize: RuleSet; export declare const CheckboxSizeConstructor: (props: IThemeSizePropertyDefault & { isWidthAsHeight?: boolean; }) => RuleSet; /****************************************** Default *************************************************/ export declare const CheckboxWrapper: IStyledComponentBase<"web", Substitute, HTMLButtonElement>, StyledCheckboxProps>> & string; export declare type CommonDatePickerProps = addErrorProps & addSXProps & addFontProps & addOutlineProps & { genre: TDateGenre; id?: string; isDisabled?: boolean; isBold?: boolean; isMinWidth?: boolean; isShowClearButton?: boolean; isInputEffect?: InputStandardProps['isInputEffect']; isOnClickClose?: boolean; labelPlaceholder?: string; locale: { months: SelectMonthProps['monthsLocale']; weeks: WeekItem[]; inputs: InputItem; }; notValidDate?: Omit; mode?: DatePickerMode; type?: DatePickerType; name?: string; ariaLabel?: string; autoComplete?: HTMLInputAutoCompleteAttribute | string; onBlur?: () => void; onChange: (timestamp: number | null) => void; onFocus?: () => void; size: IThemeSize; dateMax?: number; dateMin?: number; dateDefault: number; }; declare type CommonInputProps = addErrorProps & addFontProps & addOutlineProps & addSXProps & { ref?: Ref; name?: string; ariaLabel?: string; id?: string; className?: string; isNotShowHoverStyle?: boolean; autoComplete?: HTMLInputAutoCompleteAttribute | string; isAllowEmptyFormatting?: boolean; genre: TInputGenre; size: IThemeSize; tabIndex?: number; isWidthAsHeight?: boolean; isNiceNumber?: boolean; isDisabled?: boolean; isLoading?: boolean; isInputEffect?: boolean; isRequired?: boolean; isCenter?: boolean; isNoSpaces?: boolean; onBlur?: FocusEventHandler; onPaste?: ClipboardEventHandler; onFocus?: FocusEventHandler; onKeyDown?: KeyboardEventHandler; placeholder?: string; isBold?: boolean; postfixChildren?: InputChildrenProps; prefixChildren?: InputChildrenProps; inputMode?: 'text' | 'none' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'; maxLength?: number; minLength?: number; }; declare type CommonTextAreaProps = addErrorProps & addFontProps & addSXProps & { name?: string; ariaLabel?: string; autoComplete?: HTMLInputAutoCompleteAttribute | string; id?: string; ref?: RefObject; className?: string; genre: TextAreaGenre; minRows: number; size: IThemeSize; placeholder?: string; maxLength?: number; minLength?: number; isDisabled?: boolean; isDisabledOutline?: boolean; isOutlineBoxShadow?: boolean; isResize?: boolean; isLoading?: boolean; isReadOnly?: boolean; isInputEffect?: boolean; isRequired?: boolean; isNoSpaces?: boolean; isBold?: boolean; onFocus?: (event?: FocusEvent_2) => void; onBlur?: (event?: FocusEvent_2) => void; onChange?: (value: string) => void; onClick?: MouseEventHandler; onMouseDown?: MouseEventHandler; onKeyDown?: KeyboardEventHandler; }; export declare const ContainerDropdownListOption: MemoExoticComponent<((props: ContainerDropdownListOptionProps) => JSX.Element)>; export declare type ContainerDropdownListOptionProps = Pick, 'genre' | 'size' | 'isCenter' | 'isNotShowHoverStyle' | 'isBold' | 'isShowDropdownOptionIcon' | 'font'> & { item: T; isChecked?: boolean; isShowScroll?: boolean; onClick: () => void; virtualRowSize: number; virtualRowStart: number; }; export declare const ContainerSelectListOption: MemoExoticComponent<((props: ContainerSelectListOptionProps) => JSX.Element)>; export declare type ContainerSelectListOptionProps = Pick, 'genre' | 'size' | 'isCenter' | 'isNotShowHoverStyle' | 'isBold' | 'isWrapSelectOption' | 'isClearWhenClickSelectListOption' | 'isOnlyColorInSelectListOption'> & { item: T; isChecked?: boolean; onClick: () => void; }; declare type ControlledValue = { value: string | number | null | undefined; defaultValue?: never; }; declare type ControlledValue_2 = { value: number | null | undefined; defaultValue?: never; }; declare type ControlledValue_3 = { value: string | null | undefined; defaultValue?: never; }; export declare type CookieAttributes = default_3.CookieAttributes; /** * Context for managing cookies. */ export declare const CookieContext: Context; export declare interface CookieContextProps { getCookie: (name: K) => ValidCookieObject[K] | undefined; setCookie: (name: K, value: ValidCookieObject[K], options?: CookieAttributes) => void; removeCookieValue: (name: K, options?: CookieAttributes) => void; removeCookieValues: () => void; checkCookie: () => void; cookieValues: ValidCookieObject | undefined; } export declare interface DateDayProps { dayOfWeek: number; isCurrentMonth: boolean; isDisabled: boolean; isToday: boolean; isWeekend: boolean; labelNumber: number; labelString: string; value: number; weekOfMonth: number; } export declare const DateDropdownDay: IStyledComponentBase<"web", Substitute, HTMLButtonElement>, DateDropdownDayProps>> & string; export declare const DateDropdownDayOfWeek: IStyledComponentBase<"web", Substitute, HTMLButtonElement>, DateDropdownDayProps>> & string; export declare type DateDropdownDayProps = AddDollarSign & Pick & { row: number; column: number; isChoice?: boolean; isCurrentMonth?: boolean; isDisabled?: boolean; }> & addOutlinePropsDollar; export declare const DateDropdownDays: IStyledComponentBase<"web", Substitute, HTMLDivElement>, { $rows: number; }>> & string; export declare const DateDropdownList: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign & Pick>>> & string; export declare const DateDropdownListParent: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign>>> & string & Omit>, keyof Component>; export declare type DateDropdownListProps = AddDollarSign & Pick>; export declare const DateInput: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign & { isOpen?: boolean; isActive?: boolean; isHaveValue?: boolean; isShowPlaceholder?: boolean; }>>> & string; export declare const DateInputButton: IStyledComponentBase<"web", Substitute> & string & Omit, keyof Component>; export declare const DateInputButtonClear: IStyledComponentBase<"web", Substitute> & string & Omit, keyof Component>; export declare type DateInputProps = AddDollarSign & { isOpen?: boolean; isActive?: boolean; isHaveValue?: boolean; isShowPlaceholder?: boolean; }>; export declare const DateInputWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign & { isOpen?: boolean; isActive?: boolean; isHaveValue?: boolean; isShowPlaceholder?: boolean; }>>> & string; export declare const DatePicker: (props: DatePickerProps) => JSX.Element; export declare type DatePickerMode = DatePickerVariant[]; export declare type DatePickerProps = CommonDatePickerProps & (ControlledValue_2 | UncontrolledValue_2); export declare type DatePickerType = 'manual' | 'select' | 'manualAndSelect'; export declare enum DatePickerVariant { DD = "DD", MM = "MM", YYYY = "YYYY" } export declare type DateStyledListProps = AddDollarSign>; export declare type DateStyledOptionProps = AddDollarSign<{ isSelectedItem?: boolean; isCheckboxProps?: boolean; }> & StyledInputProps; export declare const DateWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, DateWrapperProps>> & string; export declare type DateWrapperProps = AddDollarSign & { parentListHeight: number; radius: number; isMinWidth?: boolean; }> & StyledInputWrapperProps; export declare const DEFAULT_COMPONENT_PAGINATION_GAP = 12; export declare const DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT = 0.3; export declare const DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT = 0.4; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND: IThemePaletteKeys; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS: string; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT: string; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH: string; export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING: string; export declare const DEFAULT_PROVIDER_SONNER_BUTTON: ProviderSonnerProps['default']['button']; export declare const DEFAULT_PROVIDER_SONNER_DURATION = 0.3; export declare const DEFAULT_PROVIDER_SONNER_GENRE: keyof ITheme['colors']['sonner']; export declare const DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM = 60; export declare const DEFAULT_PROVIDER_SONNER_SCALE = 0.04; export declare const DEFAULT_PROVIDER_SONNER_Y = 100; export declare const DEFAULT_PROVIDER_SONNER_Z_INDEX = 100; export declare const DEFAULT_RIPPLE_DURATION = 600; export declare const DEFAULT_RIPPLE_ID = "JENESEI_RIPPLE"; export declare const DEFAULT_TOOLTIP_OFFSET_FALLBACK: number; export declare const DEFAULT_TOOLTIP_PLACEMENT_FALLBACK: Placement; declare type DefaultScrollProps = { vertical?: boolean; horizontal?: boolean; isAlwaysVertical?: boolean; isAlwaysHorizontal?: boolean; }; export declare const DialogContent: IStyledComponentBase<"web", FastOmit, "ref"> & RefAttributes, never>> & string & Omit>, keyof Component>; declare type DialogContentObjectPropsContent = (remove?: () => void, isAnimating?: boolean, propsCustom?: T) => ReactNode; declare type DialogContentObjectPropsDialog = { maxWidth?: string; maxHeight?: string; padding?: string; borderRadius?: string; background?: IThemePaletteKeys; isRemoveOnOutsideClick?: boolean; }; export declare type DialogContentProps = { props?: useDialogProps; id?: string; index?: number; onRemove?: () => void; }; export declare const DialogContext: Context; export declare type DialogContextItemProps = { add: () => void; remove: () => void; id: string | null; }; export declare type DialogContextProps = { add: (dialog: DialogContentProps) => void; remove: (id: DialogContentProps['id']) => void; update: (dialog: DialogContentProps) => void; dialogHistory: DialogContentProps[]; }; export declare type DialogElementProps = DialogContentProps; export declare const DialogElementWrapper: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign, "propsDialog">>>> & string & Omit>, keyof Component>; export declare type DialogElementWrapperProps = AddDollarSign, 'propsDialog'>>; export declare const DialogLayout: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign>>> & string & Omit>, keyof Component>; export declare type DialogLayoutProps = AddDollarSign>; export declare const DropdownList: IStyledComponentBase<"web", FastOmit, HTMLUListElement>, never>> & string; export declare const DropdownListOption: IStyledComponentBase<"web", Substitute, HTMLLIElement>, AddDollarSign, "size" | "font" | "genre" | "isCenter" | "isNotShowHoverStyle" | "isBold"> & { item?: ISelectItem; isChecked?: boolean; isShowScroll?: boolean; }>>> & string; export declare const DropdownListOptionIcon: IStyledComponentBase<"web", Substitute, "size" | "genre"> & { checked?: boolean; }>>> & string & Omit<(props: IconItemProps) => JSX.Element, keyof Component>; export declare type DropdownListOptionIconProps = AddDollarSign, 'genre' | 'size'> & { checked?: boolean; }>; export declare type DropdownListOptionProps = AddDollarSign, 'genre' | 'size' | 'isCenter' | 'isNotShowHoverStyle' | 'isBold' | 'font'> & { item?: ISelectItem; isChecked?: boolean; isShowScroll?: boolean; }>; export declare const DropdownListParent: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign, "size">>>> & string & Omit>, keyof Component>; export declare type DropdownListParentProps = AddDollarSign, 'size'>>; declare type EnumOption = { value: string; label: string; placeholder: string; search: string; }; export declare const ErrorMessage: FC; export declare const ErrorMessageComponent: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>> & string; export declare type ErrorMessageProps = { errorMessage?: string; isError?: boolean; isErrorAbsolute?: boolean; size?: IThemeSize; sx?: addSXProps['sx']; } & addFontProps; export declare type ErrorMessagePropsDollar = AddDollarSign; declare type FixedTextAreaProps = BaseTextAreaProps & { isResize?: false | undefined; isAutoHeight?: false | undefined; maxRows?: never; }; export declare type FontSizeStylesProps = { size?: TypographyDataProps['size']; weight?: TypographyDataProps['weight']; family?: TypographyDataProps['family']; height?: TypographyDataProps['height']; }; export declare function formatPhoneNumber(dialCode: string, international: string): { format: string; placeholder: string; }; declare type GenericObject = { [key: string]: T; }; export declare const GeolocationContext: Context; export declare interface GeolocationContextProps { geolocationPermission: PermissionState | null; requestGeolocationPermission: () => void; location: GeolocationPosition | null; error: GeolocationPositionError | null; } export declare function getContrastYIQ(hexcolor: string): "#000000" | "#FFFFFF"; export declare const getFontSizeStyles: (size: TypographyDataProps["size"], weight: TypographyDataProps["weight"], family: TypographyDataProps["family"], height?: TypographyDataProps["height"]) => RuleSet; export declare function getFromCookie(key: string): T | null; export declare function getFromLocalStorage(key: string): T | null; export declare function getIconComponents(props: getIconComponentsProps): JSX.Element[]; export declare type getIconComponentsProps = { size: IThemeSize; icons?: addIconProps[]; }; export declare function getScrollbarWidth(): number; export declare function GradualSpacing({ text }: { text: string; }): JSX.Element; export declare interface ICheckboxValue { label: string | number; value: string | number; } export declare const Icon: (props: IconItemProps) => JSX.Element; export 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']]; export declare type IImageFormat = (typeof LIST_IMAGE_SUPPORTED_FORMAT)[number]; export declare type ILanguage = Record; export declare type ILanguageKeys = 'eng' | 'rus'; declare const Image_2: FC; export { Image_2 as Image } export declare const ImageButton: FC; export declare interface ImageButtonProps extends addSXProps { button: ButtonProps; dialog: { button: ButtonProps; buttonDelete: ButtonProps; }; imageSettings: { maxSize: number; maxCount: number; aspect?: number; }; locale: { buttonAdd: string; dialogSave: string; dialogCancel: string; dialogAddImage: string; dialogDeleteImage: string; }; onSave: (files: ImageSelectItemProps[] | null) => void; } export declare const ImageIMG: IStyledComponentBase<"web", Substitute, HTMLImageElement>, ImageIMGProps>> & string; export declare type ImageIMGProps = { $isPending: boolean; } & addSXStyleProps; export declare interface ImageProps { alt: string; componentFallback?: ReactNode; componentLoading?: ReactNode; isShowBeforeImage?: boolean; src?: string; sxImage?: addSXProps['sx']; sxStack?: addSXProps['sx']; } export declare const IMAGES: ImageSliderProps['images']; export declare const ImageSelect: (props: ImageSelectProps) => JSX.Element; export declare type ImageSelectItemProps = { crop?: { x: number; y: number; }; croppedArea?: Area | null; file?: File; format?: string; id: number; index: number; isCropped?: boolean; isDeleted?: boolean; isNew?: boolean; name?: string; url?: string; zoom?: number; }; /****************************************** Size *************************************************/ export declare const ImageSelectListSize: RuleSet>>; export declare const ImageSelectListSizeConstructor: (props: IThemeSizePropertyDefault) => RuleSet; export declare const ImageSelectListWrapper: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign>>> & string & Omit>, keyof Component>; export declare type ImageSelectProps = { locale: { imageFallback: string; buttonReset: string; dragAndDrop: string; } & ImageButtonProps['locale']; genre: TImageSelectGenre; size: IThemeSize; propsButton: { default: Pick; delete: Pick; }; id?: string; onChange?: (images: ImageSelectItemProps[]) => void; isContain?: boolean; imageSettings: { maxSize: number; maxCount: number; width: number; height: number; aspect: number; }; defaultImages: ImageSelectItemProps[]; images: ImageSelectItemProps[]; } & addErrorProps & addSXProps; export declare const ImageSelectSize: RuleSet>>; export declare const ImageSelectSizeConstructor: (props: IThemeSizePropertyDefault) => RuleSet; export declare const ImageSelectWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>>> & string; export declare type ImageSelectWrapperProps = AddDollarSign>; export declare const ImageSlider: FC; export declare type ImageSliderProps = { genre: TImageSelectGenre; size: IThemeSize; imageSettings: { aspect: number; }; images: { id: number; imageSrc: string; children?: ReactNode; }[]; children?: (props: { isDialog: boolean; }) => ReactNode | ReactNode; onIndexChange?: (index: number) => void; propsStack?: StackProps; isLoading?: boolean; locales: { noImagesAvailable: string; } & useImageSliderProps['locales']; }; export declare const Input: (props: InputProps) => JSX.Element; export declare interface InputChildrenProps extends PropsWithChildren { left: string; right: string; width: string; } export declare type InputItem = { day: string; month: string; year: string; }; export declare type InputNumericProps = BaseInputProps & { variety: 'numeric'; onChange?: (value: NumberFormatValues) => void; propsNumeric: Pick; }; export declare const InputOTP: (props: InputOTPProps) => JSX.Element; export declare type InputOTPProps = { length: number; onComplete?: (otp: string) => void; onFocus?: (event?: FocusEvent_2) => void; onBlur?: (event?: FocusEvent_2) => void; } & Pick; /****************************************** Size *************************************************/ export declare const InputOTPSize: RuleSet>>; export declare const InputOTPSizeConstructor: (props: IThemeSizePropertyDefault & InputOTPWrapperProps) => RuleSet; export declare const InputOTPWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>>> & string; export declare type InputOTPWrapperProps = AddDollarSign>; export declare type InputPatternProps = BaseInputProps & { variety: 'pattern'; onChange?: (value: NumberFormatValues) => void; propsPattern: Pick; }; export declare const InputPostfixChildren: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign & Pick>>> & string; /****************************************** Children *************************************************/ export declare const InputPrefixChildren: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign & Pick>>> & string; export declare type InputProps = InputStandardProps | InputPatternProps | InputNumericProps; /****************************************** Size *************************************************/ export declare const InputSize: RuleSet; export declare const InputSizeConstructor: (props: IThemeSizePropertyDefault) => RuleSet; export declare type InputStandardProps = BaseInputProps & { variety: 'standard'; onChange?: (value: string) => void; type?: HTMLInputTypeAttribute; min?: number; max?: number; step?: number; }; export declare interface ISelectItem { [key: string]: unknown; isDisabled?: boolean; isLoading?: boolean; label: string | number | ReactNode; value: string | number; } export declare interface ISelectLanguageOption extends ISelectItem { placeholder: string; search?: string; } export declare type IService = Record; export declare type IServiceKeys = 'jenesei_id'; export declare interface ITheme { icon: { map: { id: typeof ThemeMapId; checkbox: typeof ThemeMapCheckbox; loading: typeof ThemeMapLoading; realebail: typeof ThemeMapRealebail; logo: typeof ThemeMapLogo; bustmarket: typeof ThemeMapBustmarket; }; getIconId: (props: { type: T; name: ITheme['icon']['map'][T][number]; }) => string; getSpriteUrl: (props: { type: keyof ITheme['icon']['map']; }) => string; }; states: { focus: string; danger: string; }; colors: { range: IThemeGenreRange; date: IThemeGenreDate; button: IThemeGenre; toggle: IThemeGenreToggle; checkbox: IThemeGenre; input: IThemeGenreInput; imageSelect: IThemeGenreImageSelect; select: IThemeGenreSelect; sonner: IThemeGenreSonner; }; effects: { input: string; button: string; }; font: { family: IThemeFontFamily; weight: IThemeTypographyWeight; sizeDefault: Record; sizeHeading: Record; lineHeight: number; }; palette: Record; background: Record; screens: IThemeScreen; scrollbar: { width: number; background: string; thumb: string; thumbBorder: string; }; transition: { duration: string; timingFunction: string; default: string; icon: string; }; getContrastYIQ: (hexcolor: string) => string; } export declare type IThemeDevice = 'default' | 'tablet' | 'mobile'; export declare type IThemeFontFamily = 'Inter' | 'Roboto' | 'Work Sans' | 'Roboto Mono' | 'Manrope'; export declare type IThemeGenre = Record, IThemeGenreTypeDefault>; export declare type IThemeGenreDate = Record, IThemeGenreTypeDate>; export declare type IThemeGenreImageSelect = Record, IThemeGenreTypeImageSelect>; export declare type IThemeGenreInput = Record, IThemeGenreTypeDefault>; export 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'; export declare type IThemeGenreRange = Record, IThemeGenreTypeRange>; export declare type IThemeGenreSelect = Record, IThemeGenreTypeSelect>; export declare type IThemeGenreSonner = Record, IThemeGenreTypeSonner>; export declare type IThemeGenreTextArea = Record, IThemeGenreTypeDefault>; export declare type IThemeGenreToggle = Record, IThemeGenreTypeToggle>; export declare interface IThemeGenreTypeDate { background: { rest: string; hover: string; today: string; weekend: string; choice: string; line: string; }; border: { rest: string; hover: string; today: string; weekend: string; choice: string; line: string; }; color: { rest: string; hover: string; placeholder: string; today: string; weekend: string; choice: string; line: string; }; } export declare interface IThemeGenreTypeDefault { background: { rest: string; hover: string; }; border: { rest: string; hover: string; }; color: { rest: string; hover: string; placeholder: string; }; } export declare interface IThemeGenreTypeImageSelect { background: { rest: string; hover: string; }; border: { rest: string; hover: string; }; color: { rest: string; hover: string; placeholder: string; }; } export declare interface IThemeGenreTypeRange { thumb: { background: { rest: string; hover: string; }; border: { rest: string; hover: string; }; }; track: { background: { rest: string; }; gradient: { rest: string; }; }; } export declare interface IThemeGenreTypeSelect { background: { rest: string; hover: string; select: string; }; border: { rest: string; hover: string; select: string; }; color: { rest: string; hover: string; select: string; placeholder: string; }; } export declare interface IThemeGenreTypeSonner { button: { genre: keyof IThemeGenre; }; description: { color: string; }; icon: { color: string; }; title: { color: string; }; wrapper: { background: string; borderColor: string; boxShadow: string; boxShadowHover: string; }; } export 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; }; }; } export 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'; export declare type IThemeScreen = Record; export declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small'; export declare interface IThemeSizePropertyDefault { font: number; height: number; heightIcon: number; padding: number; radius: number; } export declare interface IThemeSizePropertyToggle { height: number; padding: number; thumb: number; width: number; } export declare type IThemeTypographyHeading = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'h9'; export declare type IThemeTypographyWeight = 100 | 300 | 400 | 500 | 700 | 900; export declare const JeneseiGlobalStyles: NamedExoticComponent; export declare const JeneseiPalette: Record; export declare const KEY_SIZE_DATA: Record; export declare const KEY_SIZE_DATA_TOGGLE: Record; export declare const LIBRARY_VERSION: any; export declare const LIST_IMAGE_SUPPORTED_FORMAT: readonly ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/avif"]; export declare const LIST_IMAGE_SUPPORTED_FORMAT_FOR_INPUT: string; export declare const LIST_KEY_LANGUAGE: { [key: string]: string; }; export declare const LIST_KEY_SERVICE: { [key: string]: string; }; export declare const LIST_LANGUAGE: { value: ILanguageKeys; label: string; placeholder: string; search: string; }[]; export declare const LIST_SERVICE: { value: IServiceKeys; label: string; placeholder: string; search: string; }[]; export declare const LOCALE_INPUT: InputItem; export declare const LOCALE_MONTHS: MonthItem[]; export declare const LOCALE_WEEKS: WeekItem[]; export declare const LocalStorageContext: Context; export declare interface LocalStorageContextProps { getLocalStorage: (name: K) => ValidLocalStorageObject[K] | undefined; setLocalStorage: (name: K, value: ValidLocalStorageObject[K]) => void; removeLocalStorageValue: (name: K) => void; removeLocalStorageValues: () => void; checkLocalStorage: () => void; localStorageValues: ValidLocalStorageObject | undefined; } export declare const LOREM_IPSUM_TEXT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."; export declare type MonthItem = { localeLong: string; localeShort: string; value: 'january' | 'february' | 'march' | 'april' | 'may' | 'june' | 'july' | 'august' | 'september' | 'october' | 'november' | 'december'; }; export declare const OBJECT_LANGUAGE: ILanguage; export declare const OBJECT_SERVICE: IService; export declare const Outside: FC; declare type OutsideProps = PropsWithChildren & addSXProps & { onOutsideClick: (event: MouseEvent) => void; }; export declare const Pagination: FC; export declare type PaginationProps = { buttonControl: Pick; buttonCount: { active: Pick; inactive: Pick; }; gap?: number; index: number; lengthData?: Record>; length: number; isInfinity?: boolean; viewQuantity: number; changeIndex: (index: number) => void; locale: { prev: string; next: string; }; } & addSXProps; export declare const PermissionContext: Context; export declare interface PermissionContextProps { geolocationPermission: PermissionState | null; isBiometricSupported: boolean; isNotificationPermissionLoading: boolean; notificationPermission: NotificationPermission | null; pushNotificationSupported: boolean; requestGeolocationPermission: () => void; requestNotificationPermission: () => Promise; } /** * Props for the Popover component. / Свойства компонента Popover. */ declare type PopoverProps = PropsWithChildren & { /** * Additional class name for the popover root element. * Дополнительный CSS-класс для корневого элемента поповера. */ className?: string; /** * Maximum width of the popover (CSS value, e.g. '300px' or '100%'). * Максимальная ширина поповера (CSS-значение, например, '300px' или '100%'). */ maxWidth?: string; /** * Maximum height of the popover (CSS value, e.g. '400px' or '100%'). * Максимальная высота поповера (CSS-значение, например, '400px' или '100%'). */ maxHeight?: string; /** * Controls whether the popover is open (visible). * Управляет открытием поповера (видимостью). */ isOpen: boolean; /** * If true, always show the outline (for accessibility/debug). * Если true — всегда показывать обводку (для доступности/отладки). */ isShowAlwaysOutline?: boolean; /** * Styles for the floating popover element (from floating-ui). * Стили для плавающего элемента поповера (от floating-ui). */ floatingStyles: CSSProperties; /** * Callback fired when the popover should close (e.g. click outside). * Колбэк, вызываемый при необходимости закрыть поповер (например, при клике вне). */ onClose?: () => void; /** * Ref to the popover root element. * Ref на корневой элемент поповера. */ ref?: Ref; /** * Size of the popover (affects padding, font, etc.). * Размер поповера (влияет на отступы, шрифт и т.д.). */ size?: IThemeSize; /** * Visual genre/style of the popover (e.g. 'black', 'primary'). * Визуальный стиль поповера (например, 'black', 'primary'). */ genre?: TButtonGenre; } & addSXProps & addFontProps & addSXTypographyProps; export declare const Preview: FC; export declare type PreviewAdditionalProps = PreviewIsShowProps | PreviewTimeProps; declare type PreviewDefaultProps = { defaultVisible?: boolean; content?: ReactNode; } & { sxLoader?: addSXProps['sx']; sxChildren?: addSXProps['sx']; }; declare interface PreviewIsShowProps extends PreviewDefaultProps { visible: boolean; minTime?: number; } export declare type PreviewProps = PropsWithChildren & PreviewAdditionalProps; declare interface PreviewTimeProps extends PreviewDefaultProps { time: number; } /** * ProviderApp component is a context context that manages various application-level states * such as background color, status bar color, background image, title, and description. * It uses several custom hooks to handle these states and provides them via the AppContext. * * @component * * @param {ProviderAppProps} props - The properties passed to the ProviderApp component. * @param {string} props.defaultBgColor - The default background color. * @param {string} props.defaultStatusBarColor - The default status bar color. * @param {string} [props.defaultBgImage] - The default background image. * @param {string} [props.defaultTitle] - The default title. * @param {string} [props.defaultDescription] - The default description. * @param {boolean} [props.isScrollOutlet] - Determines if the outlet should be scrollable. * @param {object} [props.footer] - The footer component and its properties. * @param {object} [props.notification] - The notification component and its properties. * @param {object} [props.header] - The header component and its properties. * @param {object} [props.nav] - The navigation component and its properties. * @param {object} [props.leftAside] - The left aside component and its properties. * @param {object} [props.rightAside] - The right aside component and its properties. * @param {React.ReactNode} props.children - The children components to be rendered inside the ProviderApp. * * @returns {JSX.Element} The rendered ProviderApp component. */ export declare const ProviderApp: FC; export declare type ProviderAppElementProps = Partial>>; export declare const ProviderAppOutlet: IStyledComponentBase<"web", Substitute, HTMLDivElement>, Partial>>>> & string; export declare const ProviderAppOutletChildren: IStyledComponentBase<"web", Substitute, HTMLElement>, AddDollarSign>>> & string; export declare type ProviderAppOutletChildrenProps = AddDollarSign>; export declare const ProviderAppOutletFooter: IStyledComponentBase<"web", Substitute, HTMLElement>, Partial>>>> & string; export declare const ProviderAppOutletHeader: IStyledComponentBase<"web", Substitute, HTMLElement>, Partial>>>> & string; export declare const ProviderAppOutletLeftAside: IStyledComponentBase<"web", Substitute, HTMLElement>, Partial>>>> & string; export declare const ProviderAppOutletNav: IStyledComponentBase<"web", Substitute, HTMLElement>, Partial>>>> & string; export declare const ProviderAppOutletNotification: IStyledComponentBase<"web", Substitute, HTMLElement>, Partial>>>> & string; export declare type ProviderAppOutletProps = Partial>>; export declare const ProviderAppOutletRightAside: IStyledComponentBase<"web", Substitute, HTMLElement>, Partial>>>> & string; export declare interface ProviderAppProps extends PropsWithChildren { defaultPreview?: PreviewAdditionalProps; defaultBgColor: IThemePaletteKeys; defaultStatusBarColor: IThemePaletteKeys; defaultBgImage?: string; defaultTitle: string; defaultDescription: string; isScrollOutlet?: boolean; notification?: { component: ReactElement; length?: ScreenWidthProps; zIndex?: number; }; header?: { component: ReactElement; length?: ScreenWidthProps; zIndex?: number; }; nav?: { component: ReactElement; length?: ScreenWidthProps; zIndex?: number; }; footer?: { component: ReactElement; length?: ScreenWidthProps; zIndex?: number; }; leftAside?: { component: ReactElement; length?: ScreenWidthProps; isTopHeader?: boolean; isTopFooter?: boolean; isTopNav?: boolean; zIndex?: number; }; rightAside?: { component: ReactElement; length?: ScreenWidthProps; isTopHeader?: boolean; isTopFooter?: boolean; isTopNav?: boolean; zIndex?: number; }; main?: { zIndex?: number; }; } export declare const ProviderAppWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, ProviderAppWrapperProps>> & string; export declare interface ProviderAppWrapperProps { $bgColor: ProviderAppProps['defaultBgColor']; $bgImage: ProviderAppProps['defaultBgImage'] | null; } /** * Provider component for managing cookies. * * @remarks * You should understand which cookies you are changing and whether you have access to them. * * @remarks * The local storage is typed using the `jenesei-kit-react.d.ts` file: * * ```typescript * import '@jenesei-software/jenesei-kit-react' * * declare module '@jenesei-software/jenesei-kit-react' { * export interface ValidCookieObject { * access_token: string * refresh_token: string * } * } * ``` */ export declare const ProviderCookie: FC; export declare interface ProviderCookieProps extends PropsWithChildren { validate?: { validateKeys: (keyof ValidCookieObject)[]; getValidateCookieValue: (key: K, value: ValidCookieObject[K]) => value is ValidCookieObject[K]; }; } export declare const ProviderDialog: FC; export declare type ProviderDialogProps = PropsWithChildren & { zIndex: number; }; export declare const ProviderGeolocation: FC; export declare type ProviderGeolocationProps = PropsWithChildren & { isAskEntrance?: boolean; }; /** * Provider component for managing local storage. * * @remarks * The local storage is typed using the `jenesei-kit-react.d.ts` file: * * ```typescript * import '@jenesei-software/jenesei-kit-react' * * declare module '@jenesei-software/jenesei-kit-react' { * export interface ValidLocalStorageObject { * access_token: string * refresh_token: string * } * } * ``` */ export declare const ProviderLocalStorage: FC; export declare interface ProviderLocalStorageProps extends PropsWithChildren { validate?: { validateKeys: (keyof ValidLocalStorageObject)[]; getValidateLocalStorageValue: (key: K, value: ValidLocalStorageObject[K]) => value is ValidLocalStorageObject[K]; }; } export declare const ProviderPermission: (props: ProviderPermissionProps) => JSX.Element; export declare type ProviderPermissionProps = PropsWithChildren; export declare const ProviderScreenWidth: FC; export declare type ProviderScreenWidthProps = PropsWithChildren; export declare const ProviderSonner: FC; export declare type ProviderSonnerProps = PropsWithChildren & { gap: number; position: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'bottom-center' | 'top-center'; visibleToasts?: number; zIndex?: number; default: Omit; }; declare const Range_2: (props: RangeProps) => JSX.Element; export { Range_2 as Range } export declare type RangeComponentProps = AddDollarSign>; export declare type RangeProps = { values: number[]; onChange: (values: number[]) => void; step: number; min: number; max: number; isShowMarker?: boolean; onBlur?: FocusEventHandler; } & Pick; export declare const RangeThumb: IStyledComponentBase<"web", Substitute, HTMLInputElement>, RangeThumbProps>> & string; export declare type RangeThumbProps = RangeComponentProps & AddDollarSign<{ colorBorder: string; colorBackground: string; }>; export declare const RangeTrack: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>>> & string; export declare const RangeWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>>> & string; export declare type RangeWrapperProps = AddDollarSign>; declare type ResizableTextAreaProps = BaseTextAreaProps & { isResize: true; isAutoHeight?: false | undefined; maxRows?: never; }; export declare const Ripple: FC; export declare interface RippleArrayElement { x: number; y: number; size: number; } export declare const RippleContainer: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>> & string; export declare type RippleContainerProps = AddDollarSign; export declare interface RippleProps { duration?: number; color?: string; isDisabled?: boolean; isHidden?: boolean; } export declare const RippleSpan: IStyledComponentBase<"web", Substitute, HTMLSpanElement>, AddDollarSign>> & string; export declare type Screens = keyof IThemeScreen; export declare const ScreenWidthContext: Context; export declare interface ScreenWidthContextProps { screenWidth: Screens; screens: { value: Screens; isScreen: boolean; }[]; screenActual: Screens; } export declare type ScreenWidthProps = { [K in IThemeDevice]?: T; }; export declare const Scroll: FC; export declare type ScrollProps = StackProps & DefaultScrollProps; export declare const Select: (props: SelectProps) => JSX.Element; export declare type SelectInputProps = AddDollarSign, 'size' | 'genre'>>; export declare const SelectLanguage: FC; export declare type SelectLanguageProps = Omit, 'option' | 'value' | 'onChange'> & { value: string | null; onChange: (language: string | null) => void; }; export declare const SelectList: IStyledComponentBase<"web", Substitute, HTMLUListElement>, AddDollarSign, "size" | "isWrapSelectOption">>>> & string; export declare const SelectListOption: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign, "size" | "genre" | "isCenter" | "isNotShowHoverStyle" | "isBold" | "isWrapSelectOption" | "isClearWhenClickSelectListOption" | "isOnlyColorInSelectListOption"> & { item?: ISelectItem; isChecked?: boolean; }>>> & string & Omit>, keyof Component>; export declare type SelectListOptionProps = AddDollarSign, 'genre' | 'size' | 'isCenter' | 'isNotShowHoverStyle' | 'isBold' | 'isWrapSelectOption' | 'isClearWhenClickSelectListOption' | 'isOnlyColorInSelectListOption'> & { item?: ISelectItem; isChecked?: boolean; }>; export declare type SelectListProps = AddDollarSign, 'size' | 'isWrapSelectOption'>>; export declare const SelectMonth: FC; export declare type SelectMonthProps = Omit, 'option' | 'value' | 'onChange'> & { dateMin?: number; dateMax?: number; value: number | null; isShortLabel?: boolean; onChange: (value: number | null) => void; monthsLocale: MonthItem[]; }; export declare const SelectMonths: FC; export declare type SelectMonthsProps = Omit, 'option' | 'value' | 'onChange'> & { dateMin?: number; dateMax?: number; value: number[]; isShortLabel?: boolean; onChange: (value: number[]) => void; monthsLocale: MonthItem[]; }; export declare type SelectProps = addErrorProps & addFontProps & addSXProps & { id?: string; size: IThemeSize; genre: TInputSelect; isToggleWhenClickSelectListOption?: boolean; isDisabled?: boolean; isShowDropdownOptionIcon?: boolean; isShowIconToggle?: boolean; isShowIconSearchClear?: boolean; isShowIconFetching?: boolean; isShowSelectAll?: boolean; isShowSelectAllLabel?: boolean; isShowAddOption?: boolean; isNotShowDisabledOptions?: boolean; isOnClickOptionClose?: boolean; isNotShowHoverStyle?: boolean; isSortValueAsOption?: boolean; isCenter?: boolean; isStayValueAfterSelect?: boolean; isBold?: boolean; isWrapSelectOption?: boolean; isMulti?: boolean; isFetching?: boolean; isClearWhenClickSelectListOption?: boolean; isStaySearchAfterSelect?: boolean; isOnlyColorInSelectListOption?: boolean; labelPlaceholder?: string; labelEmptyOption?: string; labelSelectAll?: string; labelAndMore?: (count: number) => string; labelAddOption?: (value: string) => string; isSearch?: boolean; valueSearch?: string; onChangeSearch?: (value: string) => void; optionAllLength?: number; option: T[]; value: T[]; maxViewSelect?: number; maxViewDropdown?: number; minViewDropdown?: number; refFloating?: Ref; refReference?: Ref; onAddOption?: (value: string) => void; onChange: (value: T[]) => void; onChangeAll?: (value: T[], isAll: boolean) => void; onFocus?: (event?: FocusEvent_2) => void; onBlur?: (event?: FocusEvent_2) => void; fetchNextPage?: () => void; getEstimateSize?: (index: number) => number; }; export declare const SelectTextArea: IStyledComponentBase<"web", Substitute> & string & Omit<(props: TextAreaProps) => JSX.Element, keyof Component>; export declare const SelectWrapper: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign, "size" | "sx" | "error" | "genre" | "isCenter" | "isNotShowHoverStyle"> & { isOpen: boolean; }>>> & string & Omit>, keyof Component>; export declare type SelectWrapperProps = AddDollarSign, 'genre' | 'sx' | 'size' | 'isNotShowHoverStyle' | 'error' | 'isCenter'> & { isOpen: boolean; }>; export declare const SelectYear: FC; export declare type SelectYearProps = Omit & { dateMin?: number; dateMax?: number; sortOrder?: 'asc' | 'desc'; }; export declare const Separator: FC; export declare interface SeparatorProps { sx?: addSXProps['sx']; radius?: string; type?: 'horizontal' | 'vertical'; color?: IThemePaletteKeys; thickness?: string; } export declare const SeparatorWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>>> & string; export declare type SeparatorWrapperProps = AddDollarSign>; export declare function setToCookie(key: string, value: T, options?: CookieAttributes): void; export declare function setToLocalStorage(key: string, value: T): void; export declare const Skeleton: FC; declare type SkeletonDefaultProps = { className?: string; defaultVisible?: boolean; type?: 'primary' | 'secondary'; color?: IThemePaletteKeys; isInheritColor?: boolean; }; declare interface SkeletonIsShowProps extends SkeletonDefaultProps { visible: boolean; } export declare type SkeletonProps = StackProps & (SkeletonIsShowProps | SkeletonTimeProps); declare interface SkeletonTimeProps extends SkeletonDefaultProps { time: number; } export declare const SliderDot: IStyledComponentBase<"web", FastOmit, "ref"> & RefAttributes, never>> & string & Omit>, keyof Component>; export declare const SliderImage: IStyledComponentBase<"web", FastOmit, "ref"> & RefAttributes, never>> & string & Omit>, keyof Component>; export declare type SliderImageProps = { id: number; imageSrc: string; children?: ReactNode; }; export declare const Smooth: FC; export declare const SonnerButtonWrapper: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string; export declare const SonnerContent: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string; declare type SonnerContentContentProps = SonnerContentDefaultProps & { content: ReactNode | false; }; declare type SonnerContentDefaultProps = { hidingMode?: 'clickOnSonner' | 'clickOnButton'; hidingTime?: number; icon?: addIconProps; id?: string; genre?: keyof ITheme['colors']['sonner']; isLoading?: boolean; button?: { content?: string | ReactNode; onClick?: () => void; } | false; index: number; } & addFontProps; export declare const SonnerContentDescription: IStyledComponentBase<"web", Substitute, HTMLDivElement>, Required>>>> & string; export declare type SonnerContentDescriptionProps = Required>>; export declare type SonnerContentProps = SonnerContentContentProps | SonnerContentStandardProps; export declare type SonnerContentStandardProps = SonnerContentDefaultProps & { description?: string | ReactNode; title?: string | ReactNode; }; export declare const SonnerContentTitle: IStyledComponentBase<"web", Substitute, HTMLDivElement>, Required>>>> & string; export declare type SonnerContentTitleProps = Required>>; export declare const SonnerContext: Context; export declare type SonnerContextProps = { toast: (content: Omit) => void; promise: (promise: Promise, expectation: Omit, toast: (success: T | undefined, error: any | undefined) => Omit) => void; remove: (id: SonnerContentDefaultProps['id']) => void; contentHistory: SonnerContentProps[]; }; declare type SonnerElementDefaultProps = { id: SonnerContentDefaultProps['id']; title: SonnerContentStandardProps['title']; description: SonnerContentStandardProps['description']; content: SonnerContentContentProps['content']; icon?: SonnerContentDefaultProps['icon']; isLoading: SonnerContentDefaultProps['isLoading']; hidingMode: SonnerContentDefaultProps['hidingMode']; button: SonnerContentDefaultProps['button']; index: number; handleOnClick: (id: SonnerContentDefaultProps['id'], hidingMode?: SonnerContentDefaultProps['hidingMode']) => void; isMoreThanLastViewIndexPlusOne: boolean; isMoreThanLastViewIndex: boolean; isHovered: boolean; isLastViewIndex: boolean; buttonGenre: keyof IThemeGenre; isTop: boolean; } & Required>; export declare type SonnerElementProps = SonnerElementDefaultProps; export declare const SonnerElementWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, Required>>>> & string; export declare type SonnerElementWrapperProps = Required>>; export declare const SonnerIcon: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string; export declare const SonnerLayout: IStyledComponentBase<"web", Substitute, HTMLDivElement>, Required>>>> & string; export declare type SonnerLayoutProps = Required>>; export declare const Stack: FC; export declare const StackMotion: FC; export declare type StackMotionProps = StackProps & LayoutProps & AnimationProps & HoverHandlers & TapHandlers & FocusHandlers & DraggableProps & { style?: CSSProperties; }; export declare interface StackProps extends addSXProps, PropsWithChildren { className?: string; isHover?: boolean; isRipple?: boolean; onClick?: () => void; onDragOver?: DragEventHandler; onDrop?: (e: DragEvent_2) => void; ref?: Ref; } /** * Styled */ export declare const StyledButton: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, StyledDollarButtonProps>> & string & Omit>, keyof Component>; export declare type StyledButtonGroupProps = AddDollarSign> & addSXStyleProps; export declare const StyledButtonIconsWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign & Pick>>> & string; export declare type StyledCheckboxProps = AddDollarSign> & addSXStyleProps & addErrorStylesProps & addSXTypographyStyleProps & addOutlinePropsDollar; export declare type StyledDollarButtonIconsWrapperProps = AddDollarSign & Pick>; export declare type StyledDollarButtonProps = AddDollarSign> & addSXStyleProps & addOutlinePropsDollar & addSXTypographyStyleProps; export declare const StyledIcon: IStyledComponentBase<"web", Substitute, StyledIconItemProps>> & string; export declare type StyledIconItemProps = AddDollarSign & { color?: IThemePaletteKeys; }> & addSXStyleProps; export declare type StyledIconProps = AddDollarSign>; export declare const StyledIconSkeleton: IStyledComponentBase<"web", Substitute>>> & string & Omit, keyof Component>; export declare type StyledIconSkeletonProps = AddDollarSign>; export declare const StyledInput: IStyledComponentBase<"web", Substitute, HTMLInputElement>, StyledInputProps>> & string; export declare type StyledInputChildrenProps = AddDollarSign & Pick>; /****************************************** Default *************************************************/ export declare const StyledInputCSS: RuleSet; export declare const StyledInputNumeric: IStyledComponentBase<"web", Substitute; thousandsGroupStyle?: "thousand" | "lakh" | "wan" | "none"; decimalScale?: number; fixedDecimalScale?: boolean; allowNegative?: boolean; allowLeadingZeros?: boolean; suffix?: string; prefix?: string; } & Omit & Omit & { customInput?: ComponentType | undefined; }, StyledInputProps>> & string & Omit>; export declare const StyledInputPattern: IStyledComponentBase<"web", Substitute & Omit & { customInput?: ComponentType | undefined; }, StyledInputProps>> & string & Omit>; export declare type StyledInputProps = AddDollarSign> & addOutlinePropsDollar; /****************************************** Wrapper *************************************************/ export declare const StyledInputWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>>> & string; export declare type StyledInputWrapperProps = AddDollarSign>; export declare const StyledMotionInput: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, StyledInputProps>> & string & Omit>, keyof Component>; export declare const StyledScroll: IStyledComponentBase<"web", Substitute> & string & Omit, keyof Component>; export declare type StyledScrollProps = StackProps & AddDollarSign; export declare const StyledSkeleton: IStyledComponentBase<"web", Substitute> & string & Omit, keyof Component>; export declare type StyledSkeletonProps = StackProps & AddDollarSign>; export declare const StyledStack: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign>> & string; export declare const StyledStackMotion: IStyledComponentBase<"web", Substitute, "ref"> & RefAttributes, AddDollarSign>> & string & Omit>, keyof Component>; export declare type StyledStackProps = AddDollarSign; export declare const StyledTextArea: IStyledComponentBase<"web", Substitute, HTMLTextAreaElement>, AddDollarSign & { lineHeight: number; }>>> & string; export declare type StyledTextAreaProps = AddDollarSign & { lineHeight: number; }>; export declare type StyledToggleProps = AddDollarSign> & addErrorStylesProps & addOutlinePropsDollar; export declare type SXProps = ({ default: CSSObject; } & { [K in IThemeDevice]?: CSSObject; }) | ((theme: DefaultTheme) => { default: CSSObject; } & { [K in IThemeDevice]?: CSSObject; }); export declare type TButtonGenre = keyof IThemeGenre; export declare type TCheckboxGenre = keyof IThemeGenre; export declare type TDateGenre = keyof IThemeGenreDate; export declare const TextArea: (props: TextAreaProps) => JSX.Element; export declare type TextAreaGenre = keyof IThemeGenreTextArea; export declare type TextAreaProps = AutoHeightTextAreaProps | ResizableTextAreaProps | FixedTextAreaProps; export declare const TextAreaWrapper: IStyledComponentBase<"web", Substitute, HTMLDivElement>, AddDollarSign & { lineHeight: number; }>>> & string; export declare type TextAreaWrapperProps = AddDollarSign & { lineHeight: number; }>; export declare const ThemeBlack: ITheme; export declare const ThemeLight: ITheme; export declare const ThemeMapBustmarket: readonly ["Card", "Delivery", "Heart", "Reviews", "Search", "Menu"]; export declare const ThemeMapCheckbox: readonly ["Radio-true", "Radio-false", "Square-true", "Square-false", "Heart-true", "Heart-false", "Arrow"]; export declare const ThemeMapId: readonly ["Close", "Biometry", "Qr", "Search", "Folder", "Wallet", "Graph", "Bookmark", "Browser", "Category", "Home", "Notification", "Chat", "Heart", "Paper", "Plus", "Minus", "PaperPlus", "PaperNegative", "PaperFail", "PaperDownload", "PaperUpload", "Send", "Password", "Swap", "Work", "Arrow1", "Arrow2", "Arrow3", "Arrow4", "ArrowMini1", "ArrowMini2", "Scan", "Activity", "Calendar", "Message", "PlusMini", "ChartMini", "Game", "Bag1", "Bag2", "TicketStar", "MoreCircle", "MoreSquare", "Discount", "Buy", "Web", "InfoMini", "DangerMini", "CloseMini", "TickMini", "Video", "Discovery", "Location", "Document", "Setting", "Time", "VolumeUp", "VolumeDown", "VolumeOff", "Star", "Select", "Ticket", "Camera", "Profile", "AddUser", "TwoUser", "ThreeUser", "Login", "Logout", "Download", "Upload", "Voice1", "Voice2", "Delete", "Edit", "PlayMini", "ShieldDone", "ShieldFail", "Show", "Hide", "Filter1", "Filter2", "Image", "Call", "Calling", "CallMissed", "CallSilent", "Lock", "Unlock", "Resources", "Language"]; export declare const ThemeMapLoading: readonly ["Line", "Circle", "Blocks", "Balls"]; export declare const ThemeMapLogo: readonly ["Jenesei", "BustMarket"]; export declare const ThemeMapRealebail: readonly ["MapCluster", "HomeLikes", "HomeManagement", "UserSettings", "User"]; export declare type TImageSelectGenre = keyof IThemeGenreImageSelect; export declare type TInputGenre = keyof IThemeGenreInput; export declare type TInputSelect = keyof IThemeGenreSelect; export declare const Title: IStyledComponentBase<"web", Substitute, HTMLSpanElement>, TypographyCSSProps>> & string; 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 const Tooltip: FC; /****************************************** TooltipBox *************************************************/ export declare const TooltipBox: IStyledComponentBase<"web", FastOmit< { children?: ReactNode | undefined; } & { className?: string; maxWidth?: string; maxHeight?: string; isOpen: boolean; isShowAlwaysOutline?: boolean; floatingStyles: CSSProperties; onClose?: () => void; ref?: Ref; size?: IThemeSize; genre?: TButtonGenre; } & addSXProps & addFontProps & addSXTypographyProps, never>> & string & Omit, keyof Component>; export declare const TooltipContainer: IStyledComponentBase<"web", FastOmit> & string & Omit, keyof Component>; export declare const TooltipContent: FC; export declare type TooltipProps = PropsWithChildren & Pick & { content: ReactNode; isDisabled?: boolean; } & addSXProps & addSXTypographyProps & Pick; export declare function transformEnumToOptions>(enumObj: T): EnumOption[]; export declare function transformObjectToArray(obj: GenericObject): Array; export declare function transformObjectValuesToKeys(obj: GenericObject): GenericObject; export declare type TToggleGenre = keyof IThemeGenreToggle; export declare function TypingEffect({ text }: { text: string; }): JSX.Element; export declare const Typography: (props: TypographyProps) => JSX.Element; export declare type TypographyAllProps = TypographyDataProps | TypographyVariantProps; export declare type TypographyCSSProps = AddDollarSign<{ sxTypography: TypographySXProps; sx?: SXProps; isTransitionFontSize?: boolean; }> & addOutlinePropsDollar; export 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 declare const TypographyLink: LinkComponent< { (props: TypographyProps & LinkProps): JSX.Element; displayName: string; }, string>; export declare type TypographyProps = PropsWithChildren & { onClick?: () => void; className?: string; style?: CSSProperties; href?: string; isParagraph?: boolean; isAnchor?: boolean; isSpan?: boolean; isTransitionFontSize?: boolean; ref?: Ref; sx: TypographySXProps; sxStandard?: SXProps; } & addOutlineProps; export declare type TypographySXProps = { default: TypographyAllProps; } & { [K in IThemeDevice]?: TypographyAllProps; }; export declare const TypographyTooltip: MemoExoticComponent<(props: TypographyTooltipProps) => JSX.Element>; export declare type TypographyTooltipProps = { typography: TypographyProps; tooltip: Omit; } & PropsWithChildren; declare type TypographyVariantProps = TypographyDefaultProps & { variant: IThemeTypographyHeading; }; declare type UncontrolledValue = { defaultValue: string | number | null | undefined; value?: never; }; declare type UncontrolledValue_2 = { defaultValue: number | null | undefined; value?: never; }; declare type UncontrolledValue_3 = { value?: never; defaultValue: string; }; export declare const urlBase64ToUint8Array: (base64String: string) => Uint8Array; /** * Custom hook to access the AppContext. */ export declare const useApp: () => AppContextProps; export declare const useBgColor: (defaultColor: IThemePaletteKeys) => { bgColor: IThemePaletteKeys; changeBgColor: (color: IThemePaletteKeys) => void; historyBgColor: (steps: number) => void; setDefaultBgColor: () => void; bgColorIndex: number; }; export declare const useBgImage: (defaultImage: string | null) => { bgImage: string | null; changeBgImage: (image: string | null) => void; historyBgImage: (steps: number) => void; setDefaultBgImage: () => void; bgImageIndex: number; }; /** * Custom hook to access the CookieContext. * * @remarks * You should understand which cookies you are changing and whether you have access to them. * */ export declare const useCookie: () => CookieContextProps; export declare const useDebouncedCallback: (callback: () => void, delay?: number) => () => void; export declare const useDeepCompareMemoize: (value: T) => T; export declare const useDescription: (defaultDescription: string) => { description: string; changeDescription: (newDescription: string) => void; historyDescription: (steps: number) => void; setDefaultDescription: () => void; descriptionIndex: number; }; export declare const useDialog: (props?: useDialogProps) => DialogContextItemProps; export declare type useDialogProps = { content?: DialogContentObjectPropsContent; propsDialog?: DialogContentObjectPropsDialog; propsOutline?: addOutlineProps; propsCustom?: T; onRemove?: () => void; }; export declare const useDialogs: () => DialogContextProps; export declare const useGeolocation: () => GeolocationContextProps; declare type useImageSliderProps = Pick & Pick & { locales: { failedToLoad: string; }; }; export declare function useInjectSprites(urls: string[]): void; export declare function useLazyInjectSprite(url: string): { loaded: boolean; error: Error | null; }; /** * Custom hook to access the LocalStorageContext. */ export declare const useLocalStorage: () => LocalStorageContextProps; /** * Custom hook to access the PermissionContext. */ export declare const usePermission: () => PermissionContextProps; /** * Props for the usePopover hook (popover logic and behavior). * Свойства для хука usePopover (логика и поведение поповера). */ declare type UsePopoverProps = { /** * Поддержка фокуса внутри поповера (если true, фокус будет удерживаться внутри поповера). */ isFocusTrap?: boolean; /** * Delay in ms before closing popover on hover out (default: 100). * Задержка в мс перед закрытием поповера при уходе мыши (по умолчанию: 100). */ hoverCloseDelay?: number; /** * Offset in px for hover zone around popover (default: 8). * Отступ в пикселях для hover-зоны вокруг поповера (по умолчанию: 8). */ hoverOffset?: number; /** * If true, popover closes when clicking outside. * Если true — поповер закрывается при клике вне его. */ isClickOutside?: boolean; /** * If true, disables all popover logic and interaction. * Если true — отключает всю логику и взаимодействие поповера. */ isDisabled?: boolean; /** * If true, enables floating hover mode (popover stays open while mouse is near). * Если true — включает режим плавающего hover (поповер открыт, пока мышь рядом). */ isFloatingHover?: boolean; /** * If true, popover width matches reference element. * Если true — ширина поповера совпадает с reference-элементом. */ isWidthAsContent?: boolean; /** * Popover open/close mode: 'click', 'hover', 'clickOpen', or 'independence'. * Режим открытия/закрытия поповера: 'click', 'hover', 'clickOpen', 'independence'. */ mode?: 'click' | 'hover' | 'clickOpen' | 'independence'; /** * Offset in px between reference and popover (default: 8). * Отступ в пикселях между reference и поповером (по умолчанию: 8). */ offset?: number; /** * Placement of the popover relative to reference (from floating-ui). * Положение поповера относительно reference (из floating-ui). */ placement: Placement; /** * Refs to elements that should not trigger click outside close. * Массив ref'ов, которые не должны вызывать закрытие при клике вне. */ refsExcludeClickOutside?: Ref[]; /** * Refs to elements that should not trigger blur close. * Массив ref'ов, которые не должны вызывать закрытие при потере фокуса. */ refsExcludeBlur?: Ref[]; /** * Callback fired when popover is focused/opened. * Колбэк, вызываемый при открытии/фокусе поповера. */ onFocus?: () => void; /** * Callback fired when popover is blurred/closed. * Колбэк, вызываемый при закрытии/потере фокуса поповера. */ onBlur?: () => void; /** * Callback fired when reference element loses focus (not to excluded refs). * Колбэк, вызываемый при потере фокуса reference-элемента (не на исключённые ref'ы). */ onBlurReference?: () => void; }; export declare const useRemovePreviewLoader: () => void; export declare const useScreenWidth: () => ScreenWidthContextProps; export declare const useSonner: () => SonnerContextProps; export declare const useStatusBarColor: (defaultColor: IThemePaletteKeys) => { statusBarColor: IThemePaletteKeys; changeStatusBarColor: (color: IThemePaletteKeys) => void; historyStatusBarColor: (steps: number) => void; setDefaultStatusBarColor: () => void; statusBarColorIndex: number; }; export declare interface ValidCookieObject { } export declare interface ValidLocalStorageObject { } export declare type WeekItem = { localeLong: string; localeShort: string; value: 'mo' | 'tu' | 'we' | 'th' | 'fr' | 'sa' | 'su'; }; export declare function WordsPullUp({ text }: { text: string; }): JSX.Element; export { }