# Plugin (/zh-CN/api-reference/whiteboard/whiteboard-sdk/web/interfaces/plugin) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```ts export declare type Plugin = { kind?: string; render: ComponentType>; defaultAttributes?: T; hitTest?: (plugin: PluginInstance, x: number, y: number, selectorRadius: number)=>boolean; willInterruptEvent?: (plugin: PluginInstance, event: NativeEvent)=>boolean; }; ```