/** * @license * Copyright 2023 Nuraly, Laabidi Aymen * SPDX-License-Identifier: MIT */ import type { ChatbotPlugin } from '../core/types.js'; import type { ChatbotMessage } from '../chatbot.types.js'; /** * Analytics plugin - tracks chatbot usage and events */ export declare class AnalyticsPlugin implements ChatbotPlugin { readonly id = "analytics"; readonly name = "Analytics Plugin"; readonly version = "1.0.0"; private trackEvent; constructor(trackEvent: (event: string, data?: any) => void); onInit(): void; onDestroy(): void; onMessageSent(message: ChatbotMessage): void; onMessageReceived(message: ChatbotMessage): void; onError(error: Error): void; } //# sourceMappingURL=analytics-plugin.d.ts.map