import { type Scope } from '../lib/context/Scope.js'; export type JobExecutor = () => Promise; declare class Executor = Scope> { constructor(scope?: S); doJob(executor: JobExecutor): Promise; start(): void; stop(): Promise; get isIdle(): boolean; protected runInContext(callback: () => Promise): Promise; protected isStopped_: boolean; private workingPromises_; private scope_?; } export { Executor }; //# sourceMappingURL=Executor.d.ts.map