import type { Theme } from '../../../theming/types.js'; import type { DefaultMap } from './default-map.js'; export type IconsCollection = DefaultMap>; export type IconCallback = (name: string, collection: string) => void; export type IconThemeKey = Theme | 'default'; export type SvgIcon = { svg: string; title?: string; }; export type IconReference = { alias: IconMeta; target: Map; }; export type IconReferencePair = { alias: IconMeta; target: IconMeta; overwrite: boolean; }; export declare enum ActionType { SyncState = 0, RegisterIcon = 1, UpdateIconReference = 2 } /** @ignore */ export interface BroadcastIconsChangeMessage { actionType: ActionType; collections?: Map>; references?: Map>; origin?: string; } export interface IconMeta { name: string; collection: string; external?: boolean; }