/** * Install the `TextEncoder` / `TextDecoder` polyfill on `globalThis`. * * The QuickJS scene runtime ships no native `TextEncoder` / `TextDecoder`, yet * `compositeProvider.loadComposite` decodes `.composite` JSON file bytes via * `TextDecoder`. Callers that load composites at runtime (e.g. `@dcl/asset-packs`' * `SPAWN_ENTITY`) must install this first. * * Exposed from the lean `@dcl/sdk/text-codec` subpath so consumers can install * the polyfill without pulling in the ethereum provider, and without bundling * `text-encoding` into scenes that never reach this module. */ export declare function polyfillTextEncoder(): void;