import { Awaitable } from 'justypes'; export declare function spawn(num: number, create: (id: number) => Awaitable): Promise;