import { BaseAgent } from "../agents/base/base";
export interface SyncerOptions {
    taskId: string;
    prompt: string;
    messageId?: string;
    syncFs?: boolean;
    existingKnowhowTaskId?: string;
    agentName?: string;
}
export interface AgentSyncer {
    createTask(options: SyncerOptions): Promise<string>;
    setupAgentSync(agent: BaseAgent, taskId: string): Promise<void>;
    waitForFinalization(): Promise<void>;
    reset(): void;
    isActive(): boolean;
}
export declare class SyncerService implements AgentSyncer {
    private fsSync;
    private webSync;
    private active;
    private useWebSync;
    private createdTaskId;
    constructor();
    createTask(options: SyncerOptions): Promise<string>;
    setupAgentSync(agent: BaseAgent, taskId: string): Promise<void>;
    waitForFinalization(): Promise<void>;
    reset(): void;
    isActive(): boolean;
    getCreatedWebTaskId(): string | undefined;
}
