import type * as OpenFin from '../OpenFin'; import { Environment } from './environment'; import { NewConnectConfig } from '../transport/wire'; type EntityType = OpenFin.EntityType; export default class NodeEnvironment implements Environment { observeBounds(element: Element, onChange: (bounds: DOMRect) => void | Promise): () => void; getDefaultChannelOptions(): { create: OpenFin.ChannelCreateOptions; connect: OpenFin.ChannelConnectOptions; }; getRtcPeer(): RTCPeerConnection; private messageCounter; childViews: boolean; initLayout(): Promise; initPlatform(): Promise; whenReady(): Promise; writeToken: (path: string, token: string) => Promise; retrievePort: (config: NewConnectConfig) => Promise; getNextMessageId: () => any; getRandomId: () => string; createChildContent(options: any): Promise; getWebWindow: (identity: OpenFin.Identity) => globalThis.Window; getCurrentEntityIdentity: () => OpenFin.EntityInfo; getCurrentEntityType: () => EntityType; raiseEvent: (eventName: string, eventArgs: any) => void; getUrl: () => string; getWsConstructor(): typeof WebSocket; } export {};