/** * Shared tool icon mapping for all WrongStack UIs (WebUI, TUI, REPL). * * Each UI renders icons using its own library: * - WebUI: lucide-react * - TUI: ink icons or text characters * - REPL: unicode characters or ASCII art * * This module exports the canonical tool → icon-name mapping. * Add new tools here, never hardcode icon names in UI components. */ /** * Icon identifiers — each UI maps these to its own icon library. * Using a common set of identifiers ensures consistency across all surfaces. */ export type ToolIconId = 'file' | 'edit' | 'search' | 'folder' | 'terminal' | 'web' | 'git' | 'tree' | 'code' | 'test' | 'package' | 'document' | 'scaffold' | 'todo' | 'plan' | 'task' | 'meta' | 'index' | 'json' | 'diff' | 'logs' | 'settings' | 'brain' | 'fallback'; /** * Canonical mapping of WrongStack tool names to icon identifiers. * Coverage: shared core tool names + common aliases. Browser-specific tools * use their surface-owned icon mappings. */ export declare const TOOL_ICON_MAP: Record; /** * Get the icon identifier for a tool name. * Returns 'fallback' for unknown tools. */ export declare function getToolIcon(toolName: string): ToolIconId; /** * Icon configuration including color for rendering. */ export interface ToolIconConfig { icon: ToolIconId; /** CSS color string, e.g. '#6366f1' or 'var(--tool-file)' */ color: string; } /** * Icon configurations — icon id -> { icon, color }. * Each UI applies its own icon library (lucide-react, ink, unicode, etc.) * but uses these canonical color values. */ export declare const TOOL_ICON_CONFIG: Record; /** * Default fallback icon for unknown tools. */ export declare const FALLBACK_ICON: ToolIconId; //# sourceMappingURL=tool-icon-map.d.ts.map