import { Theme } from '../../providers/theme/theme-context'; export default interface IThemeSwitcherProps { /** * Rendering variant. * - `flat`: a pill-shaped ToggleGroup with three icon items (system / light / dark). * - `dropdown`: an icon button that opens a JTLDropdown menu. */ variant: 'flat' | 'dropdown'; /** * Optional handler invoked when the user requests a theme change. * When provided, the consumer is responsible for applying the new theme. */ onChangeTheme?: (theme: Theme) => void; }