import { PixelStreaming } from '@epicgames-ps/lib-pixelstreamingfrontend-ue5.3';
import { Application } from '@epicgames-ps/lib-pixelstreamingfrontend-ui-ue5.3';
import { ESMsgWebSocketWrapper } from './ESMsgWebSocketWrapper';
import { Destroyable } from "xbsj-renderer/dist-node/xr-base-utils";
export declare class ESUEViewer extends Destroyable {
    private _domOrDomId;
    private _options;
    private _eventTarget;
    get eventTarget(): EventTarget;
    addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
    removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
    dispatchEvent(event: Event): boolean;
    debug: boolean;
    private uiInteractionCallbacks;
    private _url;
    private _container;
    get container(): HTMLElement;
    private _pixelStream;
    get pixelStream(): PixelStreaming;
    private _application;
    get application(): Application | undefined;
    private _esMsgWsWrapper?;
    private _esMsgWsWrapperInit;
    get esMsgWsWrapper(): ESMsgWebSocketWrapper | undefined;
    constructor(_domOrDomId: HTMLDivElement | string, _options: {
        url: string;
        esmsgWsUri?: string | undefined;
        createUI?: boolean | undefined;
    });
    resolveCallback(text: string): boolean;
    processResponse(text: string): void;
    emitUIInteraction(descriptor: any, callback: any): void;
    private get webRtcController();
    private _pixelStreamEmitUIInteractionAsString;
    emitUIInteractionForBigData(descriptor: any, callback: any): void;
    emitCommand(descriptor: object): void;
    getVideoSize(): {
        width: number;
        height: number;
    };
    resizeUEVideo(x: number, y: number): void;
}
