import React from 'react'; import { IconProps } from '../../icons/Icon/Icon'; import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes'; import { Direction } from '../Popover/Popover'; export declare const themeTogglerPropSize: readonly ["m", "l", "s", "xs"]; export declare type ThemeTogglerPropSize = typeof themeTogglerPropSize[number]; export declare const themeTogglerPropSizeDefault: ThemeTogglerPropSize; export declare type ThemePropSetValue = (props: { e: React.MouseEvent; value: ITEM; }) => void; export declare type ThemePropGetKey = (item: ITEM) => string | number; export declare type ThemePropGetLabel = (item: ITEM) => string; export declare type ThemePropGetIcon = (item: ITEM) => React.FC; export declare type Props = PropsWithHTMLAttributesAndRef<{ size?: ThemeTogglerPropSize; className?: string; items: ITEM[]; value: ITEM; onChange: ThemePropSetValue; getItemKey?: ThemePropGetKey; getItemLabel: ThemePropGetLabel; getItemIcon: ThemePropGetIcon; direction?: Direction; possibleDirections?: readonly Direction[]; children?: never; }, HTMLButtonElement>; declare type ThemeToggler = (props: Props) => React.ReactElement | null; export declare const ThemeToggler: ThemeToggler; export {};