import type { Config } from '../config/schema.js'; type ManagedEvent = { sequence: number; id: string; type: string; toolkit?: string; connectionId?: string; payload: unknown; createdAt: string; }; type ManagedEventClient = { events(after?: number, limit?: number): Promise<{ items: ManagedEvent[]; nextCursor: number; }>; }; export declare class ManagedComposioEventPoller { private readonly input; private timer?; private cursor; private syncing?; constructor(input: { getConfig: () => Config; triggerAutomation: (event: { type: string; source: string; payload: Record; }) => Promise; requestLearning: (toolkit: string) => void; setLearningPaused: (connectionId: string, paused: boolean) => void; client?: ManagedEventClient; hasByok?: () => Promise; intervalMs?: number; }); start(): void; stop(): void; sync(): Promise; private runSync; private process; } export {};