import type { ImportPipeline } from "./ImportPipeline";
export interface WorkerAssetJob<TInput = unknown, TOutput = unknown> {
    readonly id: string;
    readonly input: TInput;
    readonly url: string;
    readonly signal?: AbortSignal;
}
export interface WorkerAssetJobRunner {
    run<TInput, TOutput>(job: WorkerAssetJob<TInput, TOutput>): Promise<TOutput>;
}
export declare class WorkerAssetJobs {
    private readonly pipeline;
    private readonly worker?;
    constructor(pipeline: ImportPipeline, worker?: WorkerAssetJobRunner | undefined);
    run<TInput, TOutput = unknown>(job: WorkerAssetJob<TInput, TOutput>): Promise<TOutput>;
    private withAbort;
}
//# sourceMappingURL=WorkerAssetJobs.d.ts.map