/** * Hybrid module loader that supports multiple formats */ import { BaseModuleLoader } from "./base-loader"; import type { ModuleFormat, LoadOptions } from "../types"; /** * Hybrid loader that tries multiple formats in order of preference */ export declare class HybridModuleLoader extends BaseModuleLoader { protected format: ModuleFormat; private readonly esmLoader; private readonly umdLoader; private readonly formatOrder; /** * Load module by trying different formats in order */ loadModule(url: string, options?: LoadOptions): Promise; /** * Get loader instance for specific format */ private getLoaderForFormat; /** * Convert URL to format-specific URL */ private convertUrlForFormat; /** * Remove file extension from URL */ private removeExtension; /** * Get all supported formats */ getSupportedFormats(): ModuleFormat[]; /** * Clear cache for all loaders */ clearCache(): void; /** * Check if hybrid loading is supported */ static isSupported(): boolean; /** * Set custom format order for loading attempts */ setFormatOrder(formats: ModuleFormat[]): void; /** * Get current format order */ getFormatOrder(): ModuleFormat[]; /** * Preload module using the first available format */ preloadModule(url: string): Promise; } //# sourceMappingURL=hybrid-loader.d.ts.map