1 | export = worker;
|
2 | /** @typedef {import("./index").WorkerResult} WorkerResult */
|
3 | /** @typedef {import("./index").FilenameFn} FilenameFn */
|
4 | /**
|
5 | * @template T
|
6 | * @param {import("./index").InternalWorkerOptions<T>} options
|
7 | * @returns {Promise<WorkerResult>}
|
8 | */
|
9 | declare function worker<T>(
|
10 | options: import("./index").InternalWorkerOptions<T>
|
11 | ): Promise<WorkerResult>;
|
12 | declare namespace worker {
|
13 | export { WorkerResult, FilenameFn };
|
14 | }
|
15 | type WorkerResult = import("./index").WorkerResult;
|
16 | type FilenameFn = import("./index").FilenameFn;
|