@lynx-js/web-core
Version:
This is an internal experimental package, do not use
12 lines (11 loc) • 589 B
TypeScript
import type { LynxViewInstance } from './LynxViewInstance.js';
import type { DecodedTemplate } from '../../types/index.js';
export declare class TemplateManager {
#private;
constructor();
fetchBundle(url: string, lynxViewInstancePromise: Promise<LynxViewInstance>, transformVW: boolean, transformVH: boolean, transformREM: boolean, overrideConfig?: Record<string, string>): Promise<void>;
createBundle(url: string): void;
getBundle(url: string): DecodedTemplate | undefined;
getStyleSheet(url: string): any;
}
export declare const templateManager: TemplateManager;