/** * @fileoverview CDN Loader Utility * * Utility functions for loading external modules from CDN instead of bundling them. * This reduces bundle size by loading large dependencies at runtime. * * @module @vowel.to/client/utils * @author vowel.to * @license Proprietary */ /** * Load @ricky0123/vad-web from CDN using ES modules * * Uses jsdelivr CDN with +esm suffix for ES module support. * Falls back to dynamic import if CDN fails (for development/testing). * * @param version - Package version to load (default: '0.0.30') * @returns Promise resolving to the vad-web module with MicVAD and getDefaultRealTimeVADOptions * * @example * ```typescript * const vadModule = await loadVADWebFromCDN(); * const { MicVAD, getDefaultRealTimeVADOptions } = vadModule; * ``` */ export declare function loadVADWebFromCDN(version?: string): Promise<{ MicVAD: any; getDefaultRealTimeVADOptions: (model: string) => any; }>; //# sourceMappingURL=cdnLoader.d.ts.map