UNPKG

plazbot

Version:

Official Plazbot SDK for creating AI agents for WhatsApp, portals, and developers.

7 lines (6 loc) 633 B
import { type ReactNode } from 'react'; export type IconKey = 'contact' | 'mail' | 'phone' | 'calendar' | 'clock' | 'availability' | 'tag' | 'assign' | 'stage' | 'segmentation' | 'solved' | 'transfer' | 'globe' | 'gear' | 'file' | 'source' | 'check' | 'attach' | 'send'; export type IconMode = 'svg' | 'emoji' | 'none' | Partial<Record<IconKey, ReactNode>>; export type WidgetIcon = 'robot' | 'message' | 'support' | 'qa' | 'chat' | 'smile' | 'voice' | 'uservoice'; export declare function widgetIconSVG(icon: WidgetIcon, size: number): ReactNode; export declare function resolveIcon(key: IconKey, mode: IconMode): ReactNode | null;