import type { Cloneable, InitI18nResources, JSRealm, MainThreadGlobalThis, NapiModulesMap, NativeModulesMap, PageConfig } from '../../types/index.js'; import { BackgroundThread } from './Background.js'; import { I18nManager } from './I18n.js'; import { WASMJSBinding } from './elementAPIs/WASMJSBinding.js'; import { ExposureServices } from './ExposureServices.js'; import type { LynxViewElement } from './LynxView.js'; export declare const systemInfo: Readonly<{ pixelRatio: number; pixelWidth: number; pixelHeight: number; }>; export interface LynxViewConfigs { templateUrl: string; initData: Cloneable; globalProps: Cloneable; shadowRoot: ShadowRoot; nativeModulesMap: NativeModulesMap; napiModulesMap: NapiModulesMap; tagMap: Record; lynxGroupId: number | undefined; initI18nResources: InitI18nResources; } export declare class LynxViewInstance implements AsyncDisposable { #private; readonly parentDom: LynxViewElement; readonly initData: Cloneable; readonly globalprops: Cloneable; readonly templateUrl: string; readonly rootDom: ShadowRoot; readonly mtsRealm: JSRealm; readonly mainThreadGlobalThis: MainThreadGlobalThis; readonly mtsWasmBinding: WASMJSBinding; readonly backgroundThread: BackgroundThread; readonly i18nManager: I18nManager; readonly exposureServices: ExposureServices; readonly webElementsLoadingPromises: Promise[]; lepusCodeUrls: Map>; constructor(parentDom: LynxViewElement, initData: Cloneable, globalprops: Cloneable, templateUrl: string, rootDom: ShadowRoot, mtsRealm: JSRealm, lynxGroupId: number | undefined, nativeModulesMap?: NativeModulesMap, napiModulesMap?: NapiModulesMap, initI18nResources?: InitI18nResources); onPageConfigReady(config: PageConfig): void; onStyleInfoReady(currentUrl: string): void; onMTSScriptsLoaded(currentUrl: string, isLazy: boolean): Promise; onMTSScriptsExecuted(): void; onBTSScriptsLoaded(url: string): Promise; loadUnknownElement(tagName: string): void; queryComponent(url: string): Promise; updateData(data: Cloneable, processorName?: string): Promise; updateGlobalProps(data: Cloneable): Promise; reportError(error: Error, release: string, fileName: string): void; [Symbol.asyncDispose](): Promise; }