import { CliProgressRunContext, TaskPoolExecutor } from './types';
export * from './types';
export declare const taskPoolExecutor: <TOutput, TRunContext>(props?: {
    maxConcurrent: number;
}) => TaskPoolExecutor<TOutput, TRunContext>;
export declare const cliProgressTaskPoolExecutor: <TOutput>(props?: {
    maxConcurrent: number;
    hideCursor: boolean;
    clearOnComplete: boolean;
}) => TaskPoolExecutor<TOutput, CliProgressRunContext>;
export type WithCliProgress<TOutput> = (taskPool: TaskPoolExecutor<TOutput, CliProgressRunContext>) => void;
export declare const withCliProgress: <TOutput>(fn: WithCliProgress<TOutput>) => Promise<unknown>;
