import type { Rpc } from '@lynx-js/web-worker-rpc'; import type { Cloneable, NativeApp } from '../../../types/index.js'; import { LynxCrossThreadContext } from '../../LynxCrossThreadContext.js'; export declare function createBackgroundLynx(globalProps: Cloneable, customSections: Record, nativeApp: NativeApp, mainThreadRpc: Rpc): { __globalProps: Cloneable; getJSModule(_moduleName: string): any; getNativeApp(): NativeApp; getCoreContext(): LynxCrossThreadContext; getCustomSectionSync(key: string): Cloneable; getCustomSection: (key: string, callback: (object: Cloneable) => void) => void; queueMicrotask: (callback: () => void) => void; createElement(_: string, id: string): { animate(operation: import("../../../constants.js").AnimationOperation, id: string, keyframes?: Record[], timingOptions?: Record): void; }; getI18nResource: () => Cloneable; QueryComponent: (source: string, callback: (ret: { __hasReady: boolean; } | { code: number; detail?: { schema: string; }; }) => void) => void; reload: () => void; };