import type { WorkersListrTask } from '../../interfaces/workerslistr.interface';
import type { ListrBaseClassOptions, ListrSubClassOptions } from 'listr2';
import type { WorkerPoolOptions } from 'workerpool';
export declare class WorkersListr {
    private tasks;
    private pool;
    constructor(workerFile: string, poolOptions?: WorkerPoolOptions, listrOptions?: ListrBaseClassOptions);
    add(tasks: WorkersListrTask[], options?: ListrSubClassOptions): this;
    run(): Promise<void>;
    private getListrTask;
    private getTaskMethod;
}
