import { EventService } from "../EventService";
import { KnowhowSimpleClient } from "../KnowhowClient";
import { SyncedAgentWatcher } from "../SyncedAgentWatcher";
export declare class WebSyncedAgentWatcher implements SyncedAgentWatcher {
    taskId: string;
    private client;
    private pollInterval;
    private lastThreadLength;
    agentName: string;
    private stopped;
    agentEvents: EventService;
    eventTypes: {
        done: string;
        toolCall: string;
        toolUsed: string;
        agentSay: string;
        threadUpdate: string;
    };
    constructor(client?: KnowhowSimpleClient);
    startWatching(taskId: string): Promise<void>;
    private onPoll;
    sendMessage(message: string): Promise<void>;
    getThreads(): Promise<any[][]>;
    stopWatching(): void;
    pause(): Promise<void>;
    unpause(): Promise<void>;
    kill(): Promise<void>;
}
