UNPKG

plazbot

Version:

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

17 lines (16 loc) 786 B
import type { ReactNode } from 'react'; import type { PlazbotSDK } from '../sdk-types'; import type { PlazbotTheme } from '../styles/theme'; import type { IconMode } from '../styles/icons'; export interface PlazbotProviderProps { /** Instancia del SDK ya creada con new Plazbot({...}) */ sdk: PlazbotSDK; /** ID del agente a utilizar */ agentId: string; /** Tema visual: 'light', 'dark', o un objeto PlazbotTheme custom */ theme?: 'light' | 'dark' | Partial<PlazbotTheme>; /** Modo de iconos: 'svg' (default), 'emoji', 'none', o mapa de ReactNode custom */ iconMode?: IconMode; children: ReactNode; } export declare function PlazbotProvider({ sdk, agentId, theme, iconMode, children }: PlazbotProviderProps): import("react/jsx-runtime").JSX.Element;