import { SxProps, TooltipProps } from '@mui/material'; import { Platform } from './hooks.js'; export type PlatformSwitchProps = { /** Element ID of the Platform Switch */ id?: string; /** Size of the icons (default: 32) */ size?: number; /** Spacing in-between icons as well as padding inside the switch frame */ spacing?: number; /** Color of the switch controls */ color?: string; /** Color of the icons when highlighted */ accentColor?: string; /** Color of the icons when the corresponding platform is disabled */ disabledColor?: string; /** Style overrides to apply to the switch frame */ sx?: SxProps; /** Platform that should be currently highlighted */ selected?: Platform; /** Platform-specific icon props */ platformsProps?: Partial>; /** * Custom icon to show as selected in mobile */ CustomMobileIcon?: (props: IconProps) => JSX.Element; }; /** Common props for all platform icons */ type IconProps = { size?: number; primaryColor?: string; primaryOpacity?: number; secondaryColor?: string; secondaryOpacity?: number; sx?: SxProps; disabledColor?: string; disabled?: boolean; selected?: boolean; disableHover?: boolean; }; /** * PlatformSwitch allows the user to change between the platforms */ export declare const PlatformSwitch: ({ id, spacing, size, color, accentColor, disabledColor, sx, selected, platformsProps, CustomMobileIcon, }: PlatformSwitchProps) => JSX.Element; export default PlatformSwitch;