/** * Runtime support checks for the concurrency module. * * @module bquery/concurrency */ import type { ConcurrencySupport } from './types'; /** * Returns a feature snapshot for zero-build inline worker execution. * * @example * ```ts * if (!isConcurrencySupported()) { * console.warn('Worker tasks are unavailable in this environment.'); * } * ``` */ export declare function getConcurrencySupport(): ConcurrencySupport; /** * Returns `true` when bQuery can create inline worker tasks (dynamic mode) in * the current environment. Dynamic workers need `Worker`, `Blob`, and * `URL.createObjectURL` and therefore a relaxed CSP allowing `'unsafe-eval'`. */ export declare function isConcurrencySupported(): boolean; /** * Returns `true` when bQuery can create CSP-safe module workers in the current * environment. Module workers only require the `Worker` constructor, so they * run under a strict CSP without `'unsafe-eval'` or `blob:` worker sources. */ export declare function isModuleWorkerSupported(): boolean; //# sourceMappingURL=support.d.ts.map