import { Plugin } from "./plugin-manager"; import { TwitterConfig } from "@defikitdotnet/client-twitter"; import { IAgentRuntime } from "@defikitdotnet/core"; /** * InteractionScanner plugin * * Scans Twitter for posts mentioning the agent and identifies user interactions * Runs a scheduled job every 30 minutes to avoid excessive scraping */ export declare class InteractionScannerPlugin implements Plugin { name: string; version: string; description: string; private twitterService; private scanInterval; private scanIntervalMinutes; private isScanning; private lastScanTime; private adapter; private runtime; private twitterConfig; private redisService; private agentId; constructor(runtime: IAgentRuntime, twitterConfig: TwitterConfig); /** * Initialize the plugin */ initialize(): Promise; /** * Start the scanner job */ startScanner(): void; /** * Stop the scanner job */ stopScanner(): void; /** * Set the scan interval */ setScanInterval(minutes: number): void; /** * Run a scan for interactions */ scanForInteractions(): Promise; /** * Process a single tweet */ private processTweet; /** * Process interactions as statistics directly in post */ private processInteractionStats; /** * Send a Telegram alert */ private sendTelegramAlert; /** * Get the last scan time */ getLastScanTime(): Date | null; /** * Run a manual scan (admin feature) */ runManualScan(): Promise; } //# sourceMappingURL=interaction-scanner-plugin.d.ts.map