export default function registerWorker({ type, external, maxParallelAllocations, process, }: { type: string; external?: boolean; maxParallelAllocations?: number; process?: (input: Input, workId: string) => Promise; }): void;