import { Progress } from "./progress.js";
export declare class Task<T = any> {
    #private;
    label: string;
    progress: Progress | undefined;
    readonly id: string;
    promise: Promise<T>;
    constructor(label: string, progress: Progress | undefined, promise: Promise<T>);
    get payload(): T;
}
