import { Scarlet } from './scarlet'; /** * The task object that is passed to the processor. */ export declare class TaskObject { #private; queueId: number; task: T; hasDone: boolean; /** * Create a new task object. * @param {T} task The task to be processed. * @param {number} queueId The id of the queue that the task is in. * @param {Scarlet} scarlet The scarlet instance that the task is in. */ constructor(task: T, queueId: number, scarlet: Scarlet); /** * Mark the task as done. */ done(): void; }