import { IDocumentFactory, IElementLike } from "@mml-io/networked-dom-web"; import { RemoteDocument } from "../elements"; import { GraphicsAdapter } from "../graphics"; import { IMMLScene } from "../scene"; /** * A Window, a VirtualDocument, or any object that can create elements. * Used to construct RemoteDocument elements in the appropriate document context. */ export type DocumentSource = Window | IDocumentFactory | null; /** * The RemoteDocumentWrapper class creates an m-remote-document (RemoteDocument) element and initialises it with the * given address. It is expected that the `remoteDocument` element will be added to the DOM by the caller. */ export declare class RemoteDocumentWrapper { readonly remoteDocument: RemoteDocument; constructor(address: string, documentSource: DocumentSource, mmlScene: IMMLScene, handleEvent: (element: IElementLike, event: Event | CustomEvent) => void); setDocumentTime(documentTime: number): void; overrideDocumentTime(documentTime: number): void; } //# sourceMappingURL=RemoteDocumentWrapper.d.ts.map