import type { ProgressNotification } from '@modelcontextprotocol/sdk/types.js';
import type { ApifyClient } from '../apify_client.js';
export declare class ProgressTracker {
    private progressToken?;
    private sendNotification?;
    private currentProgress;
    private intervalId?;
    private taskId?;
    private onStatusMessage?;
    constructor(options: {
        progressToken?: string | number;
        sendNotification?: (notification: ProgressNotification) => Promise<void>;
        taskId?: string;
        onStatusMessage?: (message: string) => Promise<void>;
    });
    updateProgress(message?: string): Promise<void>;
    startActorRunUpdates(runId: string, apifyClient: ApifyClient, actorName: string): void;
    stop(): void;
}
export declare function createProgressTracker(progressToken: string | number | undefined, sendNotification: ((notification: ProgressNotification) => Promise<void>) | undefined, taskId?: string, onStatusMessage?: (message: string) => Promise<void>): ProgressTracker | null;
//# sourceMappingURL=progress.d.ts.map