Files
bigtux 20a26affaa 📚 Documentação inicial do ALETHEIA
- MANUAL-PRODUTO.md: Manual do usuário final
- MANUAL-VENDAS.md: Estratégia comercial e vendas
- MANUAL-TECNICO.md: Infraestrutura e deploy
- README.md: Visão geral do projeto
2026-02-10 15:08:15 -03:00

19 lines
643 B
TypeScript

import { Worker as JestWorker } from 'next/dist/compiled/jest-worker';
type FarmOptions = ConstructorParameters<typeof JestWorker>[1];
export declare class Worker {
private _worker;
constructor(workerPath: string, options: FarmOptions & {
timeout?: number;
onRestart?: (method: string, args: any[], attempts: number) => void;
logger?: Pick<typeof console, 'error' | 'info' | 'warn'>;
exposedMethods: ReadonlyArray<string>;
enableWorkerThreads?: boolean;
});
end(): ReturnType<JestWorker['end']>;
/**
* Quietly end the worker if it exists
*/
close(): void;
}
export {};