import IGlobalScope from './IGlobalScope'; import INetworkInformation from './INetworkInformation'; import IProvidedGlobalScope from './IProvidedGlobalScope'; import IDisposable from '../lang/IDisposable'; import ReadOnlySubject from '../rx/ReadOnlySubject'; type BrowserGlobalScope = IProvidedGlobalScope; export declare class GlobalScope implements IGlobalScope { private static readonly _instance; private static readonly _readOnlyInstance; private readonly _document; private readonly _location; private readonly _navigator; private readonly _window; constructor(globalScope: BrowserGlobalScope); static setInstance(providedGlobalScope: IProvidedGlobalScope): void; static getInstance(): ReadOnlySubject; static subscribe(callback: (value: IGlobalScope | null) => void): IDisposable; get FormData(): typeof FormData; get HTMLVideoElement(): typeof HTMLVideoElement; get MediaStream(): typeof MediaStream; get MediaStreamTrack(): typeof MediaStreamTrack; get MediaSource(): typeof MediaSource; get RTCPeerConnection(): typeof RTCPeerConnection; get RTCSessionDescription(): typeof RTCSessionDescription; get RTCIceCandidate(): typeof RTCIceCandidate; get URL(): typeof URL; get URLSearchParams(): typeof URLSearchParams; get addDocumentEventListener(): (type: string, listener: (event: Event) => void, options?: boolean | AddEventListenerOptions) => void; get addWindowEventListener(): (type: string, listener: (event: Event) => void, options?: boolean | AddEventListenerOptions) => void; get clearInterval(): (id?: number | undefined) => void; get clearTimeout(): (id?: number | undefined) => void; get documentCreateElement(): (tag: string) => Element; get documentHasFocus(): () => boolean; get documentIsHidden(): boolean; get documentQuerySelector(): (tag: string) => Element | null; get fetch(): (input: string | URL | Request, init?: RequestInit) => Promise; get locationHostname(): string; get locationSearch(): string; get navigatorConnection(): INetworkInformation | undefined; get navigatorIsOnLine(): boolean; get pageLoadTime(): number | undefined; get queueMicrotask(): (microtask: () => void) => void; get removeDocumentEventListener(): (type: string, listener: (event: Event) => void, options?: boolean | AddEventListenerOptions) => void; get requestAnimationFrame(): (callback: FrameRequestCallback) => number; get removeWindowEventListener(): (type: string, listener: (event: Event) => void, options?: boolean | AddEventListenerOptions) => void; get setInterval(): (handler: string | Function, timeout?: number | undefined) => number; get setTimeout(): (handler: string | Function, timeout?: number | undefined) => number; } declare const _default: ReadOnlySubject; export default _default;