/** * @beacio/core/auto — Transparent Web Bluetooth polyfill. * * Usage: import '@beacio/core/auto'; * * - Chrome/Edge (native bluetooth): no-op * - Safari iOS (with extension): ensures navigator.bluetooth maps to extension API * - Safari iOS (without extension): lazy-loads install prompt on first requestDevice() * - Unsupported platforms: no-op (graceful degradation) */ /** * Install the transparent W3C `navigator.bluetooth` polyfill for the current * platform (no-op on native/unsupported per the branches below). Runs once at * module load via the bottom-of-file call for `import '@beacio/core/auto'` * consumers; also EXPORTED so the consolidated `browser-auto` entry can invoke * it explicitly (a bare side-effect import is tree-shakeable under the package's * `sideEffects` allowlist). Idempotent: the module-level guard makes a second * call a no-op so the two entry points never double-register the permissions * shim or the extension-ready listener. */ declare function applyPolyfill(): void; export { applyPolyfill };