import { type ModelDecodeWorkerRequest, type ModelDecodeWorkerResponse } from './modelDecodeProtocol'; export * from './modelDecodeProtocol'; interface DecodeWorkerScope { addEventListener(type: 'message', listener: (event: MessageEvent) => void): void; postMessage(message: ModelDecodeWorkerResponse, transfer?: Transferable[]): void; close(): void; } /** * Installs a serial, acknowledged static glTF/SBMX decoder in the current * dedicated Worker. Only one decoded packet may be in flight at a time so a * large scene cannot fill the render Worker's message queue with model data. */ export declare function installModelDecodeWorker(scope?: DecodeWorkerScope): void;