/** * Automatic mask preparation intentionally uses a small pool. Worker count * increases memory pressure and competes with media decode, and every prepared * frame crosses back to the main thread as a full-resolution raster. Explicit * caller requests are allowed higher, but still bounded. */ export declare const AUTO_MASK_PREPARATION_WORKER_LIMIT = 4; export declare const REQUESTED_MASK_PREPARATION_WORKER_LIMIT = 8; export declare const MIN_MASK_PREPARATION_WORKER_COUNT = 1; export declare function resolveMaskPreparationWorkerCount(options?: { readonly hardwareConcurrency?: number; readonly requestedWorkerCount?: number; }): number; export declare function getBrowserMaskPreparationWorkerCount(requestedWorkerCount: number | undefined): number; //# sourceMappingURL=mask-preparation-worker-count.d.ts.map