import { type CanvasTokenOptions } from '@pixerate/editor/canvas'; import { type TokenState } from '@pixerate/editor/tokens'; import type { CanvasNode } from './types.js'; interface Props { state: TokenState; nodes: CanvasNode[]; /** Frames / groups whose explicit mode is set (the first one's choice is shown). */ nodeIds: readonly string[]; onchange: (nodes: CanvasNode[]) => void; options?: CanvasTokenOptions; /** Show collections with a single mode too (default `false`). */ showSingleMode?: boolean; class?: string; } declare const TokenModeSwitcher: import("svelte").Component; type TokenModeSwitcher = ReturnType; export default TokenModeSwitcher;