import { InjectionToken, Type } from '@angular/core'; import { Observable } from 'rxjs'; declare const WA_ANIMATION_FRAME: InjectionToken>; declare const WA_CACHES: InjectionToken; declare const WA_CRYPTO: InjectionToken; declare global { interface Window { CSS: typeof CSS | null; } } declare const WA_CSS: InjectionToken; declare const WA_HISTORY: InjectionToken; declare const WA_LOCAL_STORAGE: InjectionToken; declare const WA_LOCATION: InjectionToken; declare const WA_MEDIA_DEVICES: InjectionToken; declare const WA_NAVIGATOR: InjectionToken; type ConnectionType = 'bluetooth' | 'cellular' | 'ethernet' | 'mixed' | 'none' | 'other' | 'unknown' | 'wifi' | 'wimax'; type EffectiveConnectionType = '2g' | '3g' | '4g' | 'slow-2g'; type Megabit = number; type Millisecond = number; interface NetworkInformation extends EventTarget { readonly type?: ConnectionType; readonly effectiveType?: EffectiveConnectionType; readonly downlinkMax?: Megabit; readonly downlink?: Megabit; readonly rtt?: Millisecond; readonly saveData?: boolean; onchange?: EventListener; } declare const WA_NETWORK_INFORMATION: InjectionToken; declare const WA_PAGE_VISIBILITY: InjectionToken>; declare const WA_PERFORMANCE: InjectionToken; declare const WA_SCREEN: InjectionToken; declare const WA_SESSION_STORAGE: InjectionToken; declare global { /** * Workaround: * This empty interface prevents TS errors when a consumer has * `skipLibCheck: false` and did not include `dom-speech-recognition` * in `tsconfig.types`. * * The real `SpeechRecognition` interface is provided by * `@types/dom-speech-recognition` when it is present. */ interface SpeechRecognition { } } declare const WA_SPEECH_RECOGNITION: InjectionToken | null>; declare const WA_SPEECH_SYNTHESIS: InjectionToken; declare const WA_USER_AGENT: InjectionToken; declare const WA_WINDOW: InjectionToken; declare function waInjectElement(): T; export { WA_ANIMATION_FRAME, WA_CACHES, WA_CRYPTO, WA_CSS, WA_HISTORY, WA_LOCAL_STORAGE, WA_LOCATION, WA_MEDIA_DEVICES, WA_NAVIGATOR, WA_NETWORK_INFORMATION, WA_PAGE_VISIBILITY, WA_PERFORMANCE, WA_SCREEN, WA_SESSION_STORAGE, WA_SPEECH_RECOGNITION, WA_SPEECH_SYNTHESIS, WA_USER_AGENT, WA_WINDOW, waInjectElement };