export declare const createWorker: (url: string | URL, options?: WorkerOptions, initCallback?: ((data: any) => boolean) | undefined) => Promise; export declare const isInWorker: () => "classic" | "module" | false;