export declare const ASSISTANT_HUB_SPI_IMPLEMENTOR = "5e9a9fda-5d98-4339-8ebd-d7721e790b67"; type ToolOutput = { content: string; success: boolean; }; type ToolExecutionContext = { skillId?: string; skillVersionId?: string; aiAssistantId?: string; aiAssistantVersionId?: string; }; type ToolHandler = (toolInput: ToolInput, toolOutput: ToolOutput, toolName: string, context: ToolExecutionContext) => void; /** * `useToolSideEffect()` is a hook that allows you to listen for assistant tool (aka skill tool) execution side effects. * It will be triggered only for tools defined in the assistant hub. * If you want to listen your own side effects triggered in your own SPI Assistant, use `useAssistantEffect()` instead. */ export declare function useToolSideEffect(handler: ToolHandler, toolName?: string): void; export {}; //# sourceMappingURL=useToolSideEffect.d.ts.map