/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
///
/////////////////////////////
/// IE DOM APIs
/////////////////////////////
interface Algorithm {
name: string;
}
interface AriaRequestEventInit extends EventInit {
attributeName?: string;
attributeValue?: string;
}
interface CommandEventInit extends EventInit {
commandName?: string;
detail?: string;
}
interface CompositionEventInit extends UIEventInit {
data?: string;
}
interface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {
arrayOfDomainStrings?: string[];
}
interface ConstrainBooleanParameters {
exact?: boolean;
ideal?: boolean;
}
interface ConstrainDOMStringParameters {
exact?: string | string[];
ideal?: string | string[];
}
interface ConstrainDoubleRange extends DoubleRange {
exact?: number;
ideal?: number;
}
interface ConstrainLongRange extends LongRange {
exact?: number;
ideal?: number;
}
interface ConstrainVideoFacingModeParameters {
exact?: string | string[];
ideal?: string | string[];
}
interface CustomEventInit extends EventInit {
detail?: any;
}
interface DeviceAccelerationDict {
x?: number;
y?: number;
z?: number;
}
interface DeviceLightEventInit extends EventInit {
value?: number;
}
interface DeviceRotationRateDict {
alpha?: number;
beta?: number;
gamma?: number;
}
interface DoubleRange {
max?: number;
min?: number;
}
interface EventInit {
bubbles?: boolean;
cancelable?: boolean;
}
interface EventModifierInit extends UIEventInit {
ctrlKey?: boolean;
shiftKey?: boolean;
altKey?: boolean;
metaKey?: boolean;
modifierAltGraph?: boolean;
modifierCapsLock?: boolean;
modifierFn?: boolean;
modifierFnLock?: boolean;
modifierHyper?: boolean;
modifierNumLock?: boolean;
modifierOS?: boolean;
modifierScrollLock?: boolean;
modifierSuper?: boolean;
modifierSymbol?: boolean;
modifierSymbolLock?: boolean;
}
interface ExceptionInformation {
domain?: string;
}
interface FocusEventInit extends UIEventInit {
relatedTarget?: EventTarget;
}
interface HashChangeEventInit extends EventInit {
newURL?: string;
oldURL?: string;
}
interface IDBIndexParameters {
multiEntry?: boolean;
unique?: boolean;
}
interface IDBObjectStoreParameters {
autoIncrement?: boolean;
keyPath?: IDBKeyPath;
}
interface KeyAlgorithm {
name?: string;
}
interface KeyboardEventInit extends EventModifierInit {
key?: string;
location?: number;
repeat?: boolean;
}
interface LongRange {
max?: number;
min?: number;
}
interface MSAccountInfo {
rpDisplayName?: string;
userDisplayName?: string;
accountName?: string;
userId?: string;
accountImageUri?: string;
}
interface MSAudioLocalClientEvent extends MSLocalClientEventBase {
networkSendQualityEventRatio?: number;
networkDelayEventRatio?: number;
cpuInsufficientEventRatio?: number;
deviceHalfDuplexAECEventRatio?: number;
deviceRenderNotFunctioningEventRatio?: number;
deviceCaptureNotFunctioningEventRatio?: number;
deviceGlitchesEventRatio?: number;
deviceLowSNREventRatio?: number;
deviceLowSpeechLevelEventRatio?: number;
deviceClippingEventRatio?: number;
deviceEchoEventRatio?: number;
deviceNearEndToEchoRatioEventRatio?: number;
deviceRenderZeroVolumeEventRatio?: number;
deviceRenderMuteEventRatio?: number;
deviceMultipleEndpointsEventCount?: number;
deviceHowlingEventCount?: number;
}
interface MSAudioRecvPayload extends MSPayloadBase {
samplingRate?: number;
signal?: MSAudioRecvSignal;
packetReorderRatio?: number;
packetReorderDepthAvg?: number;
packetReorderDepthMax?: number;
burstLossLength1?: number;
burstLossLength2?: number;
burstLossLength3?: number;
burstLossLength4?: number;
burstLossLength5?: number;
burstLossLength6?: number;
burstLossLength7?: number;
burstLossLength8OrHigher?: number;
fecRecvDistance1?: number;
fecRecvDistance2?: number;
fecRecvDistance3?: number;
ratioConcealedSamplesAvg?: number;
ratioStretchedSamplesAvg?: number;
ratioCompressedSamplesAvg?: number;
}
interface MSAudioRecvSignal {
initialSignalLevelRMS?: number;
recvSignalLevelCh1?: number;
recvNoiseLevelCh1?: number;
renderSignalLevel?: number;
renderNoiseLevel?: number;
renderLoopbackSignalLevel?: number;
}
interface MSAudioSendPayload extends MSPayloadBase {
samplingRate?: number;
signal?: MSAudioSendSignal;
audioFECUsed?: boolean;
sendMutePercent?: number;
}
interface MSAudioSendSignal {
noiseLevel?: number;
sendSignalLevelCh1?: number;
sendNoiseLevelCh1?: number;
}
interface MSConnectivity {
iceType?: string;
iceWarningFlags?: MSIceWarningFlags;
relayAddress?: MSRelayAddress;
}
interface MSCredentialFilter {
accept?: MSCredentialSpec[];
}
interface MSCredentialParameters {
type?: string;
}
interface MSCredentialSpec {
type?: string;
id?: string;
}
interface MSDelay {
roundTrip?: number;
roundTripMax?: number;
}
interface MSDescription extends RTCStats {
connectivity?: MSConnectivity;
transport?: string;
networkconnectivity?: MSNetworkConnectivityInfo;
localAddr?: MSIPAddressInfo;
remoteAddr?: MSIPAddressInfo;
deviceDevName?: string;
reflexiveLocalIPAddr?: MSIPAddressInfo;
}
interface MSFIDOCredentialParameters extends MSCredentialParameters {
algorithm?: string | Algorithm;
authenticators?: AAGUID[];
}
interface MSIPAddressInfo {
ipAddr?: string;
port?: number;
manufacturerMacAddrMask?: string;
}
interface MSIceWarningFlags {
turnTcpTimedOut?: boolean;
turnUdpAllocateFailed?: boolean;
turnUdpSendFailed?: boolean;
turnTcpAllocateFailed?: boolean;
turnTcpSendFailed?: boolean;
udpLocalConnectivityFailed?: boolean;
udpNatConnectivityFailed?: boolean;
udpRelayConnectivityFailed?: boolean;
tcpNatConnectivityFailed?: boolean;
tcpRelayConnectivityFailed?: boolean;
connCheckMessageIntegrityFailed?: boolean;
allocationMessageIntegrityFailed?: boolean;
connCheckOtherError?: boolean;
turnAuthUnknownUsernameError?: boolean;
noRelayServersConfigured?: boolean;
multipleRelayServersAttempted?: boolean;
portRangeExhausted?: boolean;
alternateServerReceived?: boolean;
pseudoTLSFailure?: boolean;
turnTurnTcpConnectivityFailed?: boolean;
useCandidateChecksFailed?: boolean;
fipsAllocationFailure?: boolean;
}
interface MSJitter {
interArrival?: number;
interArrivalMax?: number;
interArrivalSD?: number;
}
interface MSLocalClientEventBase extends RTCStats {
networkReceiveQualityEventRatio?: number;
networkBandwidthLowEventRatio?: number;
}
interface MSNetwork extends RTCStats {
jitter?: MSJitter;
delay?: MSDelay;
packetLoss?: MSPacketLoss;
utilization?: MSUtilization;
}
interface MSNetworkConnectivityInfo {
vpn?: boolean;
linkspeed?: number;
networkConnectionDetails?: string;
}
interface MSNetworkInterfaceType {
interfaceTypeEthernet?: boolean;
interfaceTypeWireless?: boolean;
interfaceTypePPP?: boolean;
interfaceTypeTunnel?: boolean;
interfaceTypeWWAN?: boolean;
}
interface MSOutboundNetwork extends MSNetwork {
appliedBandwidthLimit?: number;
}
interface MSPacketLoss {
lossRate?: number;
lossRateMax?: number;
}
interface MSPayloadBase extends RTCStats {
payloadDescription?: string;
}
interface MSRelayAddress {
relayAddress?: string;
port?: number;
}
interface MSSignatureParameters {
userPrompt?: string;
}
interface MSTransportDiagnosticsStats extends RTCStats {
baseAddress?: string;
localAddress?: string;
localSite?: string;
networkName?: string;
remoteAddress?: string;
remoteSite?: string;
localMR?: string;
remoteMR?: string;
iceWarningFlags?: MSIceWarningFlags;
portRangeMin?: number;
portRangeMax?: number;
localMRTCPPort?: number;
remoteMRTCPPort?: number;
stunVer?: number;
numConsentReqSent?: number;
numConsentReqReceived?: number;
numConsentRespSent?: number;
numConsentRespReceived?: number;
interfaces?: MSNetworkInterfaceType;
baseInterface?: MSNetworkInterfaceType;
protocol?: string;
localInterface?: MSNetworkInterfaceType;
localAddrType?: string;
remoteAddrType?: string;
iceRole?: string;
rtpRtcpMux?: boolean;
allocationTimeInMs?: number;
msRtcEngineVersion?: string;
}
interface MSUtilization {
packets?: number;
bandwidthEstimation?: number;
bandwidthEstimationMin?: number;
bandwidthEstimationMax?: number;
bandwidthEstimationStdDev?: number;
bandwidthEstimationAvg?: number;
}
interface MSVideoPayload extends MSPayloadBase {
resoluton?: string;
videoBitRateAvg?: number;
videoBitRateMax?: number;
videoFrameRateAvg?: number;
videoPacketLossRate?: number;
durationSeconds?: number;
}
interface MSVideoRecvPayload extends MSVideoPayload {
videoFrameLossRate?: number;
recvCodecType?: string;
recvResolutionWidth?: number;
recvResolutionHeight?: number;
videoResolutions?: MSVideoResolutionDistribution;
recvFrameRateAverage?: number;
recvBitRateMaximum?: number;
recvBitRateAverage?: number;
recvVideoStreamsMax?: number;
recvVideoStreamsMin?: number;
recvVideoStreamsMode?: number;
videoPostFECPLR?: number;
lowBitRateCallPercent?: number;
lowFrameRateCallPercent?: number;
reorderBufferTotalPackets?: number;
recvReorderBufferReorderedPackets?: number;
recvReorderBufferPacketsDroppedDueToBufferExhaustion?: number;
recvReorderBufferMaxSuccessfullyOrderedExtent?: number;
recvReorderBufferMaxSuccessfullyOrderedLateTime?: number;
recvReorderBufferPacketsDroppedDueToTimeout?: number;
recvFpsHarmonicAverage?: number;
recvNumResSwitches?: number;
}
interface MSVideoResolutionDistribution {
cifQuality?: number;
vgaQuality?: number;
h720Quality?: number;
h1080Quality?: number;
h1440Quality?: number;
h2160Quality?: number;
}
interface MSVideoSendPayload extends MSVideoPayload {
sendFrameRateAverage?: number;
sendBitRateMaximum?: number;
sendBitRateAverage?: number;
sendVideoStreamsMax?: number;
sendResolutionWidth?: number;
sendResolutionHeight?: number;
}
interface MediaEncryptedEventInit extends EventInit {
initDataType?: string;
initData?: ArrayBuffer;
}
interface MediaKeyMessageEventInit extends EventInit {
messageType?: string;
message?: ArrayBuffer;
}
interface MediaKeySystemConfiguration {
initDataTypes?: string[];
audioCapabilities?: MediaKeySystemMediaCapability[];
videoCapabilities?: MediaKeySystemMediaCapability[];
distinctiveIdentifier?: string;
persistentState?: string;
}
interface MediaKeySystemMediaCapability {
contentType?: string;
robustness?: string;
}
interface MediaStreamConstraints {
video?: boolean | MediaTrackConstraints;
audio?: boolean | MediaTrackConstraints;
}
interface MediaStreamErrorEventInit extends EventInit {
error?: MediaStreamError;
}
interface MediaStreamTrackEventInit extends EventInit {
track?: MediaStreamTrack;
}
interface MediaTrackCapabilities {
width?: number | LongRange;
height?: number | LongRange;
aspectRatio?: number | DoubleRange;
frameRate?: number | DoubleRange;
facingMode?: string;
volume?: number | DoubleRange;
sampleRate?: number | LongRange;
sampleSize?: number | LongRange;
echoCancellation?: boolean[];
deviceId?: string;
groupId?: string;
}
interface MediaTrackConstraintSet {
width?: number | ConstrainLongRange;
height?: number | ConstrainLongRange;
aspectRatio?: number | ConstrainDoubleRange;
frameRate?: number | ConstrainDoubleRange;
facingMode?: string | string[] | ConstrainDOMStringParameters;
volume?: number | ConstrainDoubleRange;
sampleRate?: number | ConstrainLongRange;
sampleSize?: number | ConstrainLongRange;
echoCancelation?: boolean | ConstrainBooleanParameters;
deviceId?: string | string[] | ConstrainDOMStringParameters;
groupId?: string | string[] | ConstrainDOMStringParameters;
}
interface MediaTrackConstraints extends MediaTrackConstraintSet {
advanced?: MediaTrackConstraintSet[];
}
interface MediaTrackSettings {
width?: number;
height?: number;
aspectRatio?: number;
frameRate?: number;
facingMode?: string;
volume?: number;
sampleRate?: number;
sampleSize?: number;
echoCancellation?: boolean;
deviceId?: string;
groupId?: string;
}
interface MediaTrackSupportedConstraints {
width?: boolean;
height?: boolean;
aspectRatio?: boolean;
frameRate?: boolean;
facingMode?: boolean;
volume?: boolean;
sampleRate?: boolean;
sampleSize?: boolean;
echoCancellation?: boolean;
deviceId?: boolean;
groupId?: boolean;
}
interface MouseEventInit extends EventModifierInit {
screenX?: number;
screenY?: number;
clientX?: number;
clientY?: number;
button?: number;
buttons?: number;
relatedTarget?: EventTarget;
}
interface MsZoomToOptions {
contentX?: number;
contentY?: number;
viewportX?: string;
viewportY?: string;
scaleFactor?: number;
animate?: string;
}
interface MutationObserverInit {
childList?: boolean;
attributes?: boolean;
characterData?: boolean;
subtree?: boolean;
attributeOldValue?: boolean;
characterDataOldValue?: boolean;
attributeFilter?: string[];
}
interface ObjectURLOptions {
oneTimeOnly?: boolean;
}
interface PeriodicWaveConstraints {
disableNormalization?: boolean;
}
interface PointerEventInit extends MouseEventInit {
pointerId?: number;
width?: number;
height?: number;
pressure?: number;
tiltX?: number;
tiltY?: number;
pointerType?: string;
isPrimary?: boolean;
}
interface PositionOptions {
enableHighAccuracy?: boolean;
timeout?: number;
maximumAge?: number;
}
interface RTCDTMFToneChangeEventInit extends EventInit {
tone?: string;
}
interface RTCDtlsFingerprint {
algorithm?: string;
value?: string;
}
interface RTCDtlsParameters {
role?: string;
fingerprints?: RTCDtlsFingerprint[];
}
interface RTCIceCandidate {
foundation?: string;
priority?: number;
ip?: string;
protocol?: string;
port?: number;
type?: string;
tcpType?: string;
relatedAddress?: string;
relatedPort?: number;
}
interface RTCIceCandidateAttributes extends RTCStats {
ipAddress?: string;
portNumber?: number;
transport?: string;
candidateType?: string;
priority?: number;
addressSourceUrl?: string;
}
interface RTCIceCandidateComplete {
}
interface RTCIceCandidatePair {
local?: RTCIceCandidate;
remote?: RTCIceCandidate;
}
interface RTCIceCandidatePairStats extends RTCStats {
transportId?: string;
localCandidateId?: string;
remoteCandidateId?: string;
state?: string;
priority?: number;
nominated?: boolean;
writable?: boolean;
readable?: boolean;
bytesSent?: number;
bytesReceived?: number;
roundTripTime?: number;
availableOutgoingBitrate?: number;
availableIncomingBitrate?: number;
}
interface RTCIceGatherOptions {
gatherPolicy?: string;
iceservers?: RTCIceServer[];
}
interface RTCIceParameters {
usernameFragment?: string;
password?: string;
}
interface RTCIceServer {
urls?: any;
username?: string;
credential?: string;
}
interface RTCInboundRTPStreamStats extends RTCRTPStreamStats {
packetsReceived?: number;
bytesReceived?: number;
packetsLost?: number;
jitter?: number;
fractionLost?: number;
}
interface RTCMediaStreamTrackStats extends RTCStats {
trackIdentifier?: string;
remoteSource?: boolean;
ssrcIds?: string[];
frameWidth?: number;
frameHeight?: number;
framesPerSecond?: number;
framesSent?: number;
framesReceived?: number;
framesDecoded?: number;
framesDropped?: number;
framesCorrupted?: number;
audioLevel?: number;
echoReturnLoss?: number;
echoReturnLossEnhancement?: number;
}
interface RTCOutboundRTPStreamStats extends RTCRTPStreamStats {
packetsSent?: number;
bytesSent?: number;
targetBitrate?: number;
roundTripTime?: number;
}
interface RTCRTPStreamStats extends RTCStats {
ssrc?: string;
associateStatsId?: string;
isRemote?: boolean;
mediaTrackId?: string;
transportId?: string;
codecId?: string;
firCount?: number;
pliCount?: number;
nackCount?: number;
sliCount?: number;
}
interface RTCRtcpFeedback {
type?: string;
parameter?: string;
}
interface RTCRtcpParameters {
ssrc?: number;
cname?: string;
reducedSize?: boolean;
mux?: boolean;
}
interface RTCRtpCapabilities {
codecs?: RTCRtpCodecCapability[];
headerExtensions?: RTCRtpHeaderExtension[];
fecMechanisms?: string[];
}
interface RTCRtpCodecCapability {
name?: string;
kind?: string;
clockRate?: number;
preferredPayloadType?: number;
maxptime?: number;
numChannels?: number;
rtcpFeedback?: RTCRtcpFeedback[];
parameters?: any;
options?: any;
maxTemporalLayers?: number;
maxSpatialLayers?: number;
svcMultiStreamSupport?: boolean;
}
interface RTCRtpCodecParameters {
name?: string;
payloadType?: any;
clockRate?: number;
maxptime?: number;
numChannels?: number;
rtcpFeedback?: RTCRtcpFeedback[];
parameters?: any;
}
interface RTCRtpContributingSource {
timestamp?: number;
csrc?: number;
audioLevel?: number;
}
interface RTCRtpEncodingParameters {
ssrc?: number;
codecPayloadType?: number;
fec?: RTCRtpFecParameters;
rtx?: RTCRtpRtxParameters;
priority?: number;
maxBitrate?: number;
minQuality?: number;
framerateBias?: number;
resolutionScale?: number;
framerateScale?: number;
active?: boolean;
encodingId?: string;
dependencyEncodingIds?: string[];
ssrcRange?: RTCSsrcRange;
}
interface RTCRtpFecParameters {
ssrc?: number;
mechanism?: string;
}
interface RTCRtpHeaderExtension {
kind?: string;
uri?: string;
preferredId?: number;
preferredEncrypt?: boolean;
}
interface RTCRtpHeaderExtensionParameters {
uri?: string;
id?: number;
encrypt?: boolean;
}
interface RTCRtpParameters {
muxId?: string;
codecs?: RTCRtpCodecParameters[];
headerExtensions?: RTCRtpHeaderExtensionParameters[];
encodings?: RTCRtpEncodingParameters[];
rtcp?: RTCRtcpParameters;
}
interface RTCRtpRtxParameters {
ssrc?: number;
}
interface RTCRtpUnhandled {
ssrc?: number;
payloadType?: number;
muxId?: string;
}
interface RTCSrtpKeyParam {
keyMethod?: string;
keySalt?: string;
lifetime?: string;
mkiValue?: number;
mkiLength?: number;
}
interface RTCSrtpSdesParameters {
tag?: number;
cryptoSuite?: string;
keyParams?: RTCSrtpKeyParam[];
sessionParams?: string[];
}
interface RTCSsrcRange {
min?: number;
max?: number;
}
interface RTCStats {
timestamp?: number;
type?: string;
id?: string;
msType?: string;
}
interface RTCStatsReport {
}
interface RTCTransportStats extends RTCStats {
bytesSent?: number;
bytesReceived?: number;
rtcpTransportStatsId?: string;
activeConnection?: boolean;
selectedCandidatePairId?: string;
localCertificateId?: string;
remoteCertificateId?: string;
}
interface StoreExceptionsInformation extends ExceptionInformation {
siteName?: string;
explanationString?: string;
detailURI?: string;
}
interface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {
arrayOfDomainStrings?: string[];
}
interface UIEventInit extends EventInit {
view?: Window;
detail?: number;
}
interface WebGLContextAttributes {
failIfMajorPerformanceCaveat?: boolean;
alpha?: boolean;
depth?: boolean;
stencil?: boolean;
antialias?: boolean;
premultipliedAlpha?: boolean;
preserveDrawingBuffer?: boolean;
}
interface WebGLContextEventInit extends EventInit {
statusMessage?: string;
}
interface WheelEventInit extends MouseEventInit {
deltaX?: number;
deltaY?: number;
deltaZ?: number;
deltaMode?: number;
}
interface EventListener {
(evt: Event): void;
}
interface ANGLE_instanced_arrays {
drawArraysInstancedANGLE(mode: number, first: number, count: number, primcount: number): void;
drawElementsInstancedANGLE(mode: number, count: number, type: number, offset: number, primcount: number): void;
vertexAttribDivisorANGLE(index: number, divisor: number): void;
readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: number;
}
declare var ANGLE_instanced_arrays: {
prototype: ANGLE_instanced_arrays;
new(): ANGLE_instanced_arrays;
readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: number;
}
interface AnalyserNode extends AudioNode {
fftSize: number;
readonly frequencyBinCount: number;
maxDecibels: number;
minDecibels: number;
smoothingTimeConstant: number;
getByteFrequencyData(array: Uint8Array): void;
getByteTimeDomainData(array: Uint8Array): void;
getFloatFrequencyData(array: Float32Array): void;
getFloatTimeDomainData(array: Float32Array): void;
}
declare var AnalyserNode: {
prototype: AnalyserNode;
new(): AnalyserNode;
}
interface AnimationEvent extends Event {
readonly animationName: string;
readonly elapsedTime: number;
initAnimationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, animationNameArg: string, elapsedTimeArg: number): void;
}
declare var AnimationEvent: {
prototype: AnimationEvent;
new(): AnimationEvent;
}
interface ApplicationCache extends EventTarget {
oncached: (this: this, ev: Event) => any;
onchecking: (this: this, ev: Event) => any;
ondownloading: (this: this, ev: Event) => any;
onerror: (this: this, ev: ErrorEvent) => any;
onnoupdate: (this: this, ev: Event) => any;
onobsolete: (this: this, ev: Event) => any;
onprogress: (this: this, ev: ProgressEvent) => any;
onupdateready: (this: this, ev: Event) => any;
readonly status: number;
abort(): void;
swapCache(): void;
update(): void;
readonly CHECKING: number;
readonly DOWNLOADING: number;
readonly IDLE: number;
readonly OBSOLETE: number;
readonly UNCACHED: number;
readonly UPDATEREADY: number;
addEventListener(type: "cached", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "checking", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "downloading", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "error", listener: (this: this, ev: ErrorEvent) => any, useCapture?: boolean): void;
addEventListener(type: "noupdate", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "obsolete", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "progress", listener: (this: this, ev: ProgressEvent) => any, useCapture?: boolean): void;
addEventListener(type: "updateready", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var ApplicationCache: {
prototype: ApplicationCache;
new(): ApplicationCache;
readonly CHECKING: number;
readonly DOWNLOADING: number;
readonly IDLE: number;
readonly OBSOLETE: number;
readonly UNCACHED: number;
readonly UPDATEREADY: number;
}
interface AriaRequestEvent extends Event {
readonly attributeName: string;
attributeValue: string | null;
}
declare var AriaRequestEvent: {
prototype: AriaRequestEvent;
new(type: string, eventInitDict?: AriaRequestEventInit): AriaRequestEvent;
}
interface Attr extends Node {
readonly name: string;
readonly ownerElement: Element;
readonly prefix: string | null;
readonly specified: boolean;
value: string;
}
declare var Attr: {
prototype: Attr;
new(): Attr;
}
interface AudioBuffer {
readonly duration: number;
readonly length: number;
readonly numberOfChannels: number;
readonly sampleRate: number;
copyFromChannel(destination: Float32Array, channelNumber: number, startInChannel?: number): void;
copyToChannel(source: Float32Array, channelNumber: number, startInChannel?: number): void;
getChannelData(channel: number): Float32Array;
}
declare var AudioBuffer: {
prototype: AudioBuffer;
new(): AudioBuffer;
}
interface AudioBufferSourceNode extends AudioNode {
buffer: AudioBuffer | null;
readonly detune: AudioParam;
loop: boolean;
loopEnd: number;
loopStart: number;
onended: (this: this, ev: MediaStreamErrorEvent) => any;
readonly playbackRate: AudioParam;
start(when?: number, offset?: number, duration?: number): void;
stop(when?: number): void;
addEventListener(type: "ended", listener: (this: this, ev: MediaStreamErrorEvent) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var AudioBufferSourceNode: {
prototype: AudioBufferSourceNode;
new(): AudioBufferSourceNode;
}
interface AudioContext extends EventTarget {
readonly currentTime: number;
readonly destination: AudioDestinationNode;
readonly listener: AudioListener;
readonly sampleRate: number;
state: string;
createAnalyser(): AnalyserNode;
createBiquadFilter(): BiquadFilterNode;
createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;
createBufferSource(): AudioBufferSourceNode;
createChannelMerger(numberOfInputs?: number): ChannelMergerNode;
createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;
createConvolver(): ConvolverNode;
createDelay(maxDelayTime?: number): DelayNode;
createDynamicsCompressor(): DynamicsCompressorNode;
createGain(): GainNode;
createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;
createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;
createOscillator(): OscillatorNode;
createPanner(): PannerNode;
createPeriodicWave(real: Float32Array, imag: Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;
createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;
createStereoPanner(): StereoPannerNode;
createWaveShaper(): WaveShaperNode;
decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback, errorCallback?: DecodeErrorCallback): PromiseLike;
}
declare var AudioContext: {
prototype: AudioContext;
new(): AudioContext;
}
interface AudioDestinationNode extends AudioNode {
readonly maxChannelCount: number;
}
declare var AudioDestinationNode: {
prototype: AudioDestinationNode;
new(): AudioDestinationNode;
}
interface AudioListener {
dopplerFactor: number;
speedOfSound: number;
setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;
setPosition(x: number, y: number, z: number): void;
setVelocity(x: number, y: number, z: number): void;
}
declare var AudioListener: {
prototype: AudioListener;
new(): AudioListener;
}
interface AudioNode extends EventTarget {
channelCount: number;
channelCountMode: string;
channelInterpretation: string;
readonly context: AudioContext;
readonly numberOfInputs: number;
readonly numberOfOutputs: number;
connect(destination: AudioNode, output?: number, input?: number): void;
disconnect(output?: number): void;
disconnect(destination: AudioNode, output?: number, input?: number): void;
disconnect(destination: AudioParam, output?: number): void;
}
declare var AudioNode: {
prototype: AudioNode;
new(): AudioNode;
}
interface AudioParam {
readonly defaultValue: number;
value: number;
cancelScheduledValues(startTime: number): void;
exponentialRampToValueAtTime(value: number, endTime: number): void;
linearRampToValueAtTime(value: number, endTime: number): void;
setTargetAtTime(target: number, startTime: number, timeConstant: number): void;
setValueAtTime(value: number, startTime: number): void;
setValueCurveAtTime(values: Float32Array, startTime: number, duration: number): void;
}
declare var AudioParam: {
prototype: AudioParam;
new(): AudioParam;
}
interface AudioProcessingEvent extends Event {
readonly inputBuffer: AudioBuffer;
readonly outputBuffer: AudioBuffer;
readonly playbackTime: number;
}
declare var AudioProcessingEvent: {
prototype: AudioProcessingEvent;
new(): AudioProcessingEvent;
}
interface AudioTrack {
enabled: boolean;
readonly id: string;
kind: string;
readonly label: string;
language: string;
readonly sourceBuffer: SourceBuffer;
}
declare var AudioTrack: {
prototype: AudioTrack;
new(): AudioTrack;
}
interface AudioTrackList extends EventTarget {
readonly length: number;
onaddtrack: (this: this, ev: TrackEvent) => any;
onchange: (this: this, ev: Event) => any;
onremovetrack: (this: this, ev: TrackEvent) => any;
getTrackById(id: string): AudioTrack | null;
item(index: number): AudioTrack;
addEventListener(type: "addtrack", listener: (this: this, ev: TrackEvent) => any, useCapture?: boolean): void;
addEventListener(type: "change", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "removetrack", listener: (this: this, ev: TrackEvent) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
[index: number]: AudioTrack;
}
declare var AudioTrackList: {
prototype: AudioTrackList;
new(): AudioTrackList;
}
interface BarProp {
readonly visible: boolean;
}
declare var BarProp: {
prototype: BarProp;
new(): BarProp;
}
interface BeforeUnloadEvent extends Event {
returnValue: any;
}
declare var BeforeUnloadEvent: {
prototype: BeforeUnloadEvent;
new(): BeforeUnloadEvent;
}
interface BiquadFilterNode extends AudioNode {
readonly Q: AudioParam;
readonly detune: AudioParam;
readonly frequency: AudioParam;
readonly gain: AudioParam;
type: string;
getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;
}
declare var BiquadFilterNode: {
prototype: BiquadFilterNode;
new(): BiquadFilterNode;
}
interface Blob {
readonly size: number;
readonly type: string;
msClose(): void;
msDetachStream(): any;
slice(start?: number, end?: number, contentType?: string): Blob;
}
declare var Blob: {
prototype: Blob;
new (blobParts?: any[], options?: BlobPropertyBag): Blob;
}
interface CDATASection extends Text {
}
declare var CDATASection: {
prototype: CDATASection;
new(): CDATASection;
}
interface CSS {
supports(property: string, value?: string): boolean;
}
declare var CSS: CSS;
interface CSSConditionRule extends CSSGroupingRule {
conditionText: string;
}
declare var CSSConditionRule: {
prototype: CSSConditionRule;
new(): CSSConditionRule;
}
interface CSSFontFaceRule extends CSSRule {
readonly style: CSSStyleDeclaration;
}
declare var CSSFontFaceRule: {
prototype: CSSFontFaceRule;
new(): CSSFontFaceRule;
}
interface CSSGroupingRule extends CSSRule {
readonly cssRules: CSSRuleList;
deleteRule(index: number): void;
insertRule(rule: string, index: number): number;
}
declare var CSSGroupingRule: {
prototype: CSSGroupingRule;
new(): CSSGroupingRule;
}
interface CSSImportRule extends CSSRule {
readonly href: string;
readonly media: MediaList;
readonly styleSheet: CSSStyleSheet;
}
declare var CSSImportRule: {
prototype: CSSImportRule;
new(): CSSImportRule;
}
interface CSSKeyframeRule extends CSSRule {
keyText: string;
readonly style: CSSStyleDeclaration;
}
declare var CSSKeyframeRule: {
prototype: CSSKeyframeRule;
new(): CSSKeyframeRule;
}
interface CSSKeyframesRule extends CSSRule {
readonly cssRules: CSSRuleList;
name: string;
appendRule(rule: string): void;
deleteRule(rule: string): void;
findRule(rule: string): CSSKeyframeRule;
}
declare var CSSKeyframesRule: {
prototype: CSSKeyframesRule;
new(): CSSKeyframesRule;
}
interface CSSMediaRule extends CSSConditionRule {
readonly media: MediaList;
}
declare var CSSMediaRule: {
prototype: CSSMediaRule;
new(): CSSMediaRule;
}
interface CSSNamespaceRule extends CSSRule {
readonly namespaceURI: string;
readonly prefix: string;
}
declare var CSSNamespaceRule: {
prototype: CSSNamespaceRule;
new(): CSSNamespaceRule;
}
interface CSSPageRule extends CSSRule {
readonly pseudoClass: string;
readonly selector: string;
selectorText: string;
readonly style: CSSStyleDeclaration;
}
declare var CSSPageRule: {
prototype: CSSPageRule;
new(): CSSPageRule;
}
interface CSSRule {
cssText: string;
readonly parentRule: CSSRule;
readonly parentStyleSheet: CSSStyleSheet;
readonly type: number;
readonly CHARSET_RULE: number;
readonly FONT_FACE_RULE: number;
readonly IMPORT_RULE: number;
readonly KEYFRAMES_RULE: number;
readonly KEYFRAME_RULE: number;
readonly MEDIA_RULE: number;
readonly NAMESPACE_RULE: number;
readonly PAGE_RULE: number;
readonly STYLE_RULE: number;
readonly SUPPORTS_RULE: number;
readonly UNKNOWN_RULE: number;
readonly VIEWPORT_RULE: number;
}
declare var CSSRule: {
prototype: CSSRule;
new(): CSSRule;
readonly CHARSET_RULE: number;
readonly FONT_FACE_RULE: number;
readonly IMPORT_RULE: number;
readonly KEYFRAMES_RULE: number;
readonly KEYFRAME_RULE: number;
readonly MEDIA_RULE: number;
readonly NAMESPACE_RULE: number;
readonly PAGE_RULE: number;
readonly STYLE_RULE: number;
readonly SUPPORTS_RULE: number;
readonly UNKNOWN_RULE: number;
readonly VIEWPORT_RULE: number;
}
interface CSSRuleList {
readonly length: number;
item(index: number): CSSRule;
[index: number]: CSSRule;
}
declare var CSSRuleList: {
prototype: CSSRuleList;
new(): CSSRuleList;
}
interface CSSStyleDeclaration {
alignContent: string | null;
alignItems: string | null;
alignSelf: string | null;
alignmentBaseline: string | null;
animation: string | null;
animationDelay: string | null;
animationDirection: string | null;
animationDuration: string | null;
animationFillMode: string | null;
animationIterationCount: string | null;
animationName: string | null;
animationPlayState: string | null;
animationTimingFunction: string | null;
backfaceVisibility: string | null;
background: string | null;
backgroundAttachment: string | null;
backgroundClip: string | null;
backgroundColor: string | null;
backgroundImage: string | null;
backgroundOrigin: string | null;
backgroundPosition: string | null;
backgroundPositionX: string | null;
backgroundPositionY: string | null;
backgroundRepeat: string | null;
backgroundSize: string | null;
baselineShift: string | null;
border: string | null;
borderBottom: string | null;
borderBottomColor: string | null;
borderBottomLeftRadius: string | null;
borderBottomRightRadius: string | null;
borderBottomStyle: string | null;
borderBottomWidth: string | null;
borderCollapse: string | null;
borderColor: string | null;
borderImage: string | null;
borderImageOutset: string | null;
borderImageRepeat: string | null;
borderImageSlice: string | null;
borderImageSource: string | null;
borderImageWidth: string | null;
borderLeft: string | null;
borderLeftColor: string | null;
borderLeftStyle: string | null;
borderLeftWidth: string | null;
borderRadius: string | null;
borderRight: string | null;
borderRightColor: string | null;
borderRightStyle: string | null;
borderRightWidth: string | null;
borderSpacing: string | null;
borderStyle: string | null;
borderTop: string | null;
borderTopColor: string | null;
borderTopLeftRadius: string | null;
borderTopRightRadius: string | null;
borderTopStyle: string | null;
borderTopWidth: string | null;
borderWidth: string | null;
bottom: string | null;
boxShadow: string | null;
boxSizing: string | null;
breakAfter: string | null;
breakBefore: string | null;
breakInside: string | null;
captionSide: string | null;
clear: string | null;
clip: string | null;
clipPath: string | null;
clipRule: string | null;
color: string | null;
colorInterpolationFilters: string | null;
columnCount: any;
columnFill: string | null;
columnGap: any;
columnRule: string | null;
columnRuleColor: any;
columnRuleStyle: string | null;
columnRuleWidth: any;
columnSpan: string | null;
columnWidth: any;
columns: string | null;
content: string | null;
counterIncrement: string | null;
counterReset: string | null;
cssFloat: string | null;
cssText: string;
cursor: string | null;
direction: string | null;
display: string | null;
dominantBaseline: string | null;
emptyCells: string | null;
enableBackground: string | null;
fill: string | null;
fillOpacity: string | null;
fillRule: string | null;
filter: string | null;
flex: string | null;
flexBasis: string | null;
flexDirection: string | null;
flexFlow: string | null;
flexGrow: string | null;
flexShrink: string | null;
flexWrap: string | null;
floodColor: string | null;
floodOpacity: string | null;
font: string | null;
fontFamily: string | null;
fontFeatureSettings: string | null;
fontSize: string | null;
fontSizeAdjust: string | null;
fontStretch: string | null;
fontStyle: string | null;
fontVariant: string | null;
fontWeight: string | null;
glyphOrientationHorizontal: string | null;
glyphOrientationVertical: string | null;
height: string | null;
imeMode: string | null;
justifyContent: string | null;
kerning: string | null;
left: string | null;
readonly length: number;
letterSpacing: string | null;
lightingColor: string | null;
lineHeight: string | null;
listStyle: string | null;
listStyleImage: string | null;
listStylePosition: string | null;
listStyleType: string | null;
margin: string | null;
marginBottom: string | null;
marginLeft: string | null;
marginRight: string | null;
marginTop: string | null;
marker: string | null;
markerEnd: string | null;
markerMid: string | null;
markerStart: string | null;
mask: string | null;
maxHeight: string | null;
maxWidth: string | null;
minHeight: string | null;
minWidth: string | null;
msContentZoomChaining: string | null;
msContentZoomLimit: string | null;
msContentZoomLimitMax: any;
msContentZoomLimitMin: any;
msContentZoomSnap: string | null;
msContentZoomSnapPoints: string | null;
msContentZoomSnapType: string | null;
msContentZooming: string | null;
msFlowFrom: string | null;
msFlowInto: string | null;
msFontFeatureSettings: string | null;
msGridColumn: any;
msGridColumnAlign: string | null;
msGridColumnSpan: any;
msGridColumns: string | null;
msGridRow: any;
msGridRowAlign: string | null;
msGridRowSpan: any;
msGridRows: string | null;
msHighContrastAdjust: string | null;
msHyphenateLimitChars: string | null;
msHyphenateLimitLines: any;
msHyphenateLimitZone: any;
msHyphens: string | null;
msImeAlign: string | null;
msOverflowStyle: string | null;
msScrollChaining: string | null;
msScrollLimit: string | null;
msScrollLimitXMax: any;
msScrollLimitXMin: any;
msScrollLimitYMax: any;
msScrollLimitYMin: any;
msScrollRails: string | null;
msScrollSnapPointsX: string | null;
msScrollSnapPointsY: string | null;
msScrollSnapType: string | null;
msScrollSnapX: string | null;
msScrollSnapY: string | null;
msScrollTranslation: string | null;
msTextCombineHorizontal: string | null;
msTextSizeAdjust: any;
msTouchAction: string | null;
msTouchSelect: string | null;
msUserSelect: string | null;
msWrapFlow: string;
msWrapMargin: any;
msWrapThrough: string;
opacity: string | null;
order: string | null;
orphans: string | null;
outline: string | null;
outlineColor: string | null;
outlineStyle: string | null;
outlineWidth: string | null;
overflow: string | null;
overflowX: string | null;
overflowY: string | null;
padding: string | null;
paddingBottom: string | null;
paddingLeft: string | null;
paddingRight: string | null;
paddingTop: string | null;
pageBreakAfter: string | null;
pageBreakBefore: string | null;
pageBreakInside: string | null;
readonly parentRule: CSSRule;
perspective: string | null;
perspectiveOrigin: string | null;
pointerEvents: string | null;
position: string | null;
quotes: string | null;
right: string | null;
rubyAlign: string | null;
rubyOverhang: string | null;
rubyPosition: string | null;
stopColor: string | null;
stopOpacity: string | null;
stroke: string | null;
strokeDasharray: string | null;
strokeDashoffset: string | null;
strokeLinecap: string | null;
strokeLinejoin: string | null;
strokeMiterlimit: string | null;
strokeOpacity: string | null;
strokeWidth: string | null;
tableLayout: string | null;
textAlign: string | null;
textAlignLast: string | null;
textAnchor: string | null;
textDecoration: string | null;
textIndent: string | null;
textJustify: string | null;
textKashida: string | null;
textKashidaSpace: string | null;
textOverflow: string | null;
textShadow: string | null;
textTransform: string | null;
textUnderlinePosition: string | null;
top: string | null;
touchAction: string | null;
transform: string | null;
transformOrigin: string | null;
transformStyle: string | null;
transition: string | null;
transitionDelay: string | null;
transitionDuration: string | null;
transitionProperty: string | null;
transitionTimingFunction: string | null;
unicodeBidi: string | null;
verticalAlign: string | null;
visibility: string | null;
webkitAlignContent: string | null;
webkitAlignItems: string | null;
webkitAlignSelf: string | null;
webkitAnimation: string | null;
webkitAnimationDelay: string | null;
webkitAnimationDirection: string | null;
webkitAnimationDuration: string | null;
webkitAnimationFillMode: string | null;
webkitAnimationIterationCount: string | null;
webkitAnimationName: string | null;
webkitAnimationPlayState: string | null;
webkitAnimationTimingFunction: string | null;
webkitAppearance: string | null;
webkitBackfaceVisibility: string | null;
webkitBackgroundClip: string | null;
webkitBackgroundOrigin: string | null;
webkitBackgroundSize: string | null;
webkitBorderBottomLeftRadius: string | null;
webkitBorderBottomRightRadius: string | null;
webkitBorderImage: string | null;
webkitBorderRadius: string | null;
webkitBorderTopLeftRadius: string | null;
webkitBorderTopRightRadius: string | null;
webkitBoxAlign: string | null;
webkitBoxDirection: string | null;
webkitBoxFlex: string | null;
webkitBoxOrdinalGroup: string | null;
webkitBoxOrient: string | null;
webkitBoxPack: string | null;
webkitBoxSizing: string | null;
webkitColumnBreakAfter: string | null;
webkitColumnBreakBefore: string | null;
webkitColumnBreakInside: string | null;
webkitColumnCount: any;
webkitColumnGap: any;
webkitColumnRule: string | null;
webkitColumnRuleColor: any;
webkitColumnRuleStyle: string | null;
webkitColumnRuleWidth: any;
webkitColumnSpan: string | null;
webkitColumnWidth: any;
webkitColumns: string | null;
webkitFilter: string | null;
webkitFlex: string | null;
webkitFlexBasis: string | null;
webkitFlexDirection: string | null;
webkitFlexFlow: string | null;
webkitFlexGrow: string | null;
webkitFlexShrink: string | null;
webkitFlexWrap: string | null;
webkitJustifyContent: string | null;
webkitOrder: string | null;
webkitPerspective: string | null;
webkitPerspectiveOrigin: string | null;
webkitTapHighlightColor: string | null;
webkitTextFillColor: string | null;
webkitTextSizeAdjust: any;
webkitTransform: string | null;
webkitTransformOrigin: string | null;
webkitTransformStyle: string | null;
webkitTransition: string | null;
webkitTransitionDelay: string | null;
webkitTransitionDuration: string | null;
webkitTransitionProperty: string | null;
webkitTransitionTimingFunction: string | null;
webkitUserModify: string | null;
webkitUserSelect: string | null;
webkitWritingMode: string | null;
whiteSpace: string | null;
widows: string | null;
width: string | null;
wordBreak: string | null;
wordSpacing: string | null;
wordWrap: string | null;
writingMode: string | null;
zIndex: string | null;
zoom: string | null;
getPropertyPriority(propertyName: string): string;
getPropertyValue(propertyName: string): string;
item(index: number): string;
removeProperty(propertyName: string): string;
setProperty(propertyName: string, value: string | null, priority?: string): void;
[index: number]: string;
}
declare var CSSStyleDeclaration: {
prototype: CSSStyleDeclaration;
new(): CSSStyleDeclaration;
}
interface CSSStyleRule extends CSSRule {
readonly readOnly: boolean;
selectorText: string;
readonly style: CSSStyleDeclaration;
}
declare var CSSStyleRule: {
prototype: CSSStyleRule;
new(): CSSStyleRule;
}
interface CSSStyleSheet extends StyleSheet {
readonly cssRules: CSSRuleList;
cssText: string;
readonly href: string;
readonly id: string;
readonly imports: StyleSheetList;
readonly isAlternate: boolean;
readonly isPrefAlternate: boolean;
readonly ownerRule: CSSRule;
readonly owningElement: Element;
readonly pages: StyleSheetPageList;
readonly readOnly: boolean;
readonly rules: CSSRuleList;
addImport(bstrURL: string, lIndex?: number): number;
addPageRule(bstrSelector: string, bstrStyle: string, lIndex?: number): number;
addRule(bstrSelector: string, bstrStyle?: string, lIndex?: number): number;
deleteRule(index?: number): void;
insertRule(rule: string, index?: number): number;
removeImport(lIndex: number): void;
removeRule(lIndex: number): void;
}
declare var CSSStyleSheet: {
prototype: CSSStyleSheet;
new(): CSSStyleSheet;
}
interface CSSSupportsRule extends CSSConditionRule {
}
declare var CSSSupportsRule: {
prototype: CSSSupportsRule;
new(): CSSSupportsRule;
}
interface CanvasGradient {
addColorStop(offset: number, color: string): void;
}
declare var CanvasGradient: {
prototype: CanvasGradient;
new(): CanvasGradient;
}
interface CanvasPattern {
}
declare var CanvasPattern: {
prototype: CanvasPattern;
new(): CanvasPattern;
}
interface CanvasRenderingContext2D extends Object, CanvasPathMethods {
readonly canvas: HTMLCanvasElement;
fillStyle: string | CanvasGradient | CanvasPattern;
font: string;
globalAlpha: number;
globalCompositeOperation: string;
lineCap: string;
lineDashOffset: number;
lineJoin: string;
lineWidth: number;
miterLimit: number;
msFillRule: string;
msImageSmoothingEnabled: boolean;
shadowBlur: number;
shadowColor: string;
shadowOffsetX: number;
shadowOffsetY: number;
strokeStyle: string | CanvasGradient | CanvasPattern;
textAlign: string;
textBaseline: string;
mozImageSmoothingEnabled: boolean;
webkitImageSmoothingEnabled: boolean;
oImageSmoothingEnabled: boolean;
beginPath(): void;
clearRect(x: number, y: number, w: number, h: number): void;
clip(fillRule?: string): void;
createImageData(imageDataOrSw: number | ImageData, sh?: number): ImageData;
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
createPattern(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement, repetition: string): CanvasPattern;
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement, offsetX: number, offsetY: number, width?: number, height?: number, canvasOffsetX?: number, canvasOffsetY?: number, canvasImageWidth?: number, canvasImageHeight?: number): void;
fill(fillRule?: string): void;
fillRect(x: number, y: number, w: number, h: number): void;
fillText(text: string, x: number, y: number, maxWidth?: number): void;
getImageData(sx: number, sy: number, sw: number, sh: number): ImageData;
getLineDash(): number[];
isPointInPath(x: number, y: number, fillRule?: string): boolean;
measureText(text: string): TextMetrics;
putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX?: number, dirtyY?: number, dirtyWidth?: number, dirtyHeight?: number): void;
restore(): void;
rotate(angle: number): void;
save(): void;
scale(x: number, y: number): void;
setLineDash(segments: number[]): void;
setTransform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void;
stroke(): void;
strokeRect(x: number, y: number, w: number, h: number): void;
strokeText(text: string, x: number, y: number, maxWidth?: number): void;
transform(m11: number, m12: number, m21: number, m22: number, dx: number, dy: number): void;
translate(x: number, y: number): void;
}
declare var CanvasRenderingContext2D: {
prototype: CanvasRenderingContext2D;
new(): CanvasRenderingContext2D;
}
interface ChannelMergerNode extends AudioNode {
}
declare var ChannelMergerNode: {
prototype: ChannelMergerNode;
new(): ChannelMergerNode;
}
interface ChannelSplitterNode extends AudioNode {
}
declare var ChannelSplitterNode: {
prototype: ChannelSplitterNode;
new(): ChannelSplitterNode;
}
interface CharacterData extends Node, ChildNode {
data: string;
readonly length: number;
appendData(arg: string): void;
deleteData(offset: number, count: number): void;
insertData(offset: number, arg: string): void;
replaceData(offset: number, count: number, arg: string): void;
substringData(offset: number, count: number): string;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var CharacterData: {
prototype: CharacterData;
new(): CharacterData;
}
interface ClientRect {
bottom: number;
readonly height: number;
left: number;
right: number;
top: number;
readonly width: number;
}
declare var ClientRect: {
prototype: ClientRect;
new(): ClientRect;
}
interface ClientRectList {
readonly length: number;
item(index: number): ClientRect;
[index: number]: ClientRect;
}
declare var ClientRectList: {
prototype: ClientRectList;
new(): ClientRectList;
}
interface ClipboardEvent extends Event {
readonly clipboardData: DataTransfer;
}
declare var ClipboardEvent: {
prototype: ClipboardEvent;
new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;
}
interface CloseEvent extends Event {
readonly code: number;
readonly reason: string;
readonly wasClean: boolean;
initCloseEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, wasCleanArg: boolean, codeArg: number, reasonArg: string): void;
}
declare var CloseEvent: {
prototype: CloseEvent;
new(): CloseEvent;
}
interface CommandEvent extends Event {
readonly commandName: string;
readonly detail: string | null;
}
declare var CommandEvent: {
prototype: CommandEvent;
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
}
interface Comment extends CharacterData {
text: string;
}
declare var Comment: {
prototype: Comment;
new(): Comment;
}
interface CompositionEvent extends UIEvent {
readonly data: string;
readonly locale: string;
initCompositionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, locale: string): void;
}
declare var CompositionEvent: {
prototype: CompositionEvent;
new(typeArg: string, eventInitDict?: CompositionEventInit): CompositionEvent;
}
interface Console {
assert(test?: boolean, message?: string, ...optionalParams: any[]): void;
clear(): void;
count(countTitle?: string): void;
debug(message?: string, ...optionalParams: any[]): void;
dir(value?: any, ...optionalParams: any[]): void;
dirxml(value: any): void;
error(message?: any, ...optionalParams: any[]): void;
exception(message?: string, ...optionalParams: any[]): void;
group(groupTitle?: string): void;
groupCollapsed(groupTitle?: string): void;
groupEnd(): void;
info(message?: any, ...optionalParams: any[]): void;
log(message?: any, ...optionalParams: any[]): void;
msIsIndependentlyComposed(element: Element): boolean;
profile(reportName?: string): void;
profileEnd(): void;
select(element: Element): void;
table(...data: any[]): void;
time(timerName?: string): void;
timeEnd(timerName?: string): void;
trace(message?: any, ...optionalParams: any[]): void;
warn(message?: any, ...optionalParams: any[]): void;
}
declare var Console: {
prototype: Console;
new(): Console;
}
interface ConvolverNode extends AudioNode {
buffer: AudioBuffer | null;
normalize: boolean;
}
declare var ConvolverNode: {
prototype: ConvolverNode;
new(): ConvolverNode;
}
interface Coordinates {
readonly accuracy: number;
readonly altitude: number | null;
readonly altitudeAccuracy: number | null;
readonly heading: number | null;
readonly latitude: number;
readonly longitude: number;
readonly speed: number | null;
}
declare var Coordinates: {
prototype: Coordinates;
new(): Coordinates;
}
interface Crypto extends Object, RandomSource {
readonly subtle: SubtleCrypto;
}
declare var Crypto: {
prototype: Crypto;
new(): Crypto;
}
interface CryptoKey {
readonly algorithm: KeyAlgorithm;
readonly extractable: boolean;
readonly type: string;
readonly usages: string[];
}
declare var CryptoKey: {
prototype: CryptoKey;
new(): CryptoKey;
}
interface CryptoKeyPair {
privateKey: CryptoKey;
publicKey: CryptoKey;
}
declare var CryptoKeyPair: {
prototype: CryptoKeyPair;
new(): CryptoKeyPair;
}
interface CustomEvent extends Event {
readonly detail: any;
initCustomEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: any): void;
}
declare var CustomEvent: {
prototype: CustomEvent;
new(typeArg: string, eventInitDict?: CustomEventInit): CustomEvent;
}
interface DOMError {
readonly name: string;
toString(): string;
}
declare var DOMError: {
prototype: DOMError;
new(): DOMError;
}
interface DOMException {
readonly code: number;
readonly message: string;
readonly name: string;
toString(): string;
readonly ABORT_ERR: number;
readonly DATA_CLONE_ERR: number;
readonly DOMSTRING_SIZE_ERR: number;
readonly HIERARCHY_REQUEST_ERR: number;
readonly INDEX_SIZE_ERR: number;
readonly INUSE_ATTRIBUTE_ERR: number;
readonly INVALID_ACCESS_ERR: number;
readonly INVALID_CHARACTER_ERR: number;
readonly INVALID_MODIFICATION_ERR: number;
readonly INVALID_NODE_TYPE_ERR: number;
readonly INVALID_STATE_ERR: number;
readonly NAMESPACE_ERR: number;
readonly NETWORK_ERR: number;
readonly NOT_FOUND_ERR: number;
readonly NOT_SUPPORTED_ERR: number;
readonly NO_DATA_ALLOWED_ERR: number;
readonly NO_MODIFICATION_ALLOWED_ERR: number;
readonly PARSE_ERR: number;
readonly QUOTA_EXCEEDED_ERR: number;
readonly SECURITY_ERR: number;
readonly SERIALIZE_ERR: number;
readonly SYNTAX_ERR: number;
readonly TIMEOUT_ERR: number;
readonly TYPE_MISMATCH_ERR: number;
readonly URL_MISMATCH_ERR: number;
readonly VALIDATION_ERR: number;
readonly WRONG_DOCUMENT_ERR: number;
}
declare var DOMException: {
prototype: DOMException;
new(): DOMException;
readonly ABORT_ERR: number;
readonly DATA_CLONE_ERR: number;
readonly DOMSTRING_SIZE_ERR: number;
readonly HIERARCHY_REQUEST_ERR: number;
readonly INDEX_SIZE_ERR: number;
readonly INUSE_ATTRIBUTE_ERR: number;
readonly INVALID_ACCESS_ERR: number;
readonly INVALID_CHARACTER_ERR: number;
readonly INVALID_MODIFICATION_ERR: number;
readonly INVALID_NODE_TYPE_ERR: number;
readonly INVALID_STATE_ERR: number;
readonly NAMESPACE_ERR: number;
readonly NETWORK_ERR: number;
readonly NOT_FOUND_ERR: number;
readonly NOT_SUPPORTED_ERR: number;
readonly NO_DATA_ALLOWED_ERR: number;
readonly NO_MODIFICATION_ALLOWED_ERR: number;
readonly PARSE_ERR: number;
readonly QUOTA_EXCEEDED_ERR: number;
readonly SECURITY_ERR: number;
readonly SERIALIZE_ERR: number;
readonly SYNTAX_ERR: number;
readonly TIMEOUT_ERR: number;
readonly TYPE_MISMATCH_ERR: number;
readonly URL_MISMATCH_ERR: number;
readonly VALIDATION_ERR: number;
readonly WRONG_DOCUMENT_ERR: number;
}
interface DOMImplementation {
createDocument(namespaceURI: string | null, qualifiedName: string | null, doctype: DocumentType): Document;
createDocumentType(qualifiedName: string, publicId: string | null, systemId: string | null): DocumentType;
createHTMLDocument(title: string): Document;
hasFeature(feature: string | null, version: string | null): boolean;
}
declare var DOMImplementation: {
prototype: DOMImplementation;
new(): DOMImplementation;
}
interface DOMParser {
parseFromString(source: string, mimeType: string): Document;
}
declare var DOMParser: {
prototype: DOMParser;
new(): DOMParser;
}
interface DOMSettableTokenList extends DOMTokenList {
value: string;
}
declare var DOMSettableTokenList: {
prototype: DOMSettableTokenList;
new(): DOMSettableTokenList;
}
interface DOMStringList {
readonly length: number;
contains(str: string): boolean;
item(index: number): string | null;
[index: number]: string;
}
declare var DOMStringList: {
prototype: DOMStringList;
new(): DOMStringList;
}
interface DOMStringMap {
[name: string]: string;
}
declare var DOMStringMap: {
prototype: DOMStringMap;
new(): DOMStringMap;
}
interface DOMTokenList {
readonly length: number;
add(...token: string[]): void;
contains(token: string): boolean;
item(index: number): string;
remove(...token: string[]): void;
toString(): string;
toggle(token: string, force?: boolean): boolean;
[index: number]: string;
}
declare var DOMTokenList: {
prototype: DOMTokenList;
new(): DOMTokenList;
}
interface DataCue extends TextTrackCue {
data: ArrayBuffer;
}
declare var DataCue: {
prototype: DataCue;
new(): DataCue;
}
interface DataTransfer {
dropEffect: string;
effectAllowed: string;
readonly files: FileList;
readonly items: DataTransferItemList;
readonly types: DOMStringList;
clearData(format?: string): boolean;
getData(format: string): string;
setData(format: string, data: string): boolean;
}
declare var DataTransfer: {
prototype: DataTransfer;
new(): DataTransfer;
}
interface DataTransferItem {
readonly kind: string;
readonly type: string;
getAsFile(): File | null;
getAsString(_callback: FunctionStringCallback | null): void;
}
declare var DataTransferItem: {
prototype: DataTransferItem;
new(): DataTransferItem;
}
interface DataTransferItemList {
readonly length: number;
add(data: File): DataTransferItem | null;
clear(): void;
item(index: number): DataTransferItem;
remove(index: number): void;
[index: number]: DataTransferItem;
}
declare var DataTransferItemList: {
prototype: DataTransferItemList;
new(): DataTransferItemList;
}
interface DeferredPermissionRequest {
readonly id: number;
readonly type: string;
readonly uri: string;
allow(): void;
deny(): void;
}
declare var DeferredPermissionRequest: {
prototype: DeferredPermissionRequest;
new(): DeferredPermissionRequest;
}
interface DelayNode extends AudioNode {
readonly delayTime: AudioParam;
}
declare var DelayNode: {
prototype: DelayNode;
new(): DelayNode;
}
interface DeviceAcceleration {
readonly x: number | null;
readonly y: number | null;
readonly z: number | null;
}
declare var DeviceAcceleration: {
prototype: DeviceAcceleration;
new(): DeviceAcceleration;
}
interface DeviceLightEvent extends Event {
readonly value: number;
}
declare var DeviceLightEvent: {
prototype: DeviceLightEvent;
new(type: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent;
}
interface DeviceMotionEvent extends Event {
readonly acceleration: DeviceAcceleration | null;
readonly accelerationIncludingGravity: DeviceAcceleration | null;
readonly interval: number | null;
readonly rotationRate: DeviceRotationRate | null;
initDeviceMotionEvent(type: string, bubbles: boolean, cancelable: boolean, acceleration: DeviceAccelerationDict | null, accelerationIncludingGravity: DeviceAccelerationDict | null, rotationRate: DeviceRotationRateDict | null, interval: number | null): void;
}
declare var DeviceMotionEvent: {
prototype: DeviceMotionEvent;
new(): DeviceMotionEvent;
}
interface DeviceOrientationEvent extends Event {
readonly absolute: boolean;
readonly alpha: number | null;
readonly beta: number | null;
readonly gamma: number | null;
initDeviceOrientationEvent(type: string, bubbles: boolean, cancelable: boolean, alpha: number | null, beta: number | null, gamma: number | null, absolute: boolean): void;
}
declare var DeviceOrientationEvent: {
prototype: DeviceOrientationEvent;
new(): DeviceOrientationEvent;
}
interface DeviceRotationRate {
readonly alpha: number | null;
readonly beta: number | null;
readonly gamma: number | null;
}
declare var DeviceRotationRate: {
prototype: DeviceRotationRate;
new(): DeviceRotationRate;
}
interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEvent {
/**
* Sets or gets the URL for the current document.
*/
readonly URL: string;
/**
* Gets the URL for the document, stripped of any character encoding.
*/
readonly URLUnencoded: string;
/**
* Gets the object that has the focus when the parent document has focus.
*/
readonly activeElement: Element;
/**
* Sets or gets the color of all active links in the document.
*/
alinkColor: string;
/**
* Returns a reference to the collection of elements contained by the object.
*/
readonly all: HTMLAllCollection;
/**
* Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order.
*/
anchors: HTMLCollectionOf;
/**
* Retrieves a collection of all applet objects in the document.
*/
applets: HTMLCollectionOf;
/**
* Deprecated. Sets or retrieves a value that indicates the background color behind the object.
*/
bgColor: string;
/**
* Specifies the beginning and end of the document body.
*/
body: HTMLElement;
readonly characterSet: string;
/**
* Gets or sets the character set used to encode the object.
*/
charset: string;
/**
* Gets a value that indicates whether standards-compliant mode is switched on for the object.
*/
readonly compatMode: string;
cookie: string;
readonly currentScript: HTMLScriptElement | SVGScriptElement;
/**
* Gets the default character set from the current regional language settings.
*/
readonly defaultCharset: string;
readonly defaultView: Window;
/**
* Sets or gets a value that indicates whether the document can be edited.
*/
designMode: string;
/**
* Sets or retrieves a value that indicates the reading order of the object.
*/
dir: string;
/**
* Gets an object representing the document type declaration associated with the current document.
*/
readonly doctype: DocumentType;
/**
* Gets a reference to the root node of the document.
*/
documentElement: HTMLElement;
/**
* Sets or gets the security domain of the document.
*/
domain: string;
/**
* Retrieves a collection of all embed objects in the document.
*/
embeds: HTMLCollectionOf;
/**
* Sets or gets the foreground (text) color of the document.
*/
fgColor: string;
/**
* Retrieves a collection, in source order, of all form objects in the document.
*/
forms: HTMLCollectionOf;
readonly fullscreenElement: Element | null;
readonly fullscreenEnabled: boolean;
readonly head: HTMLHeadElement;
readonly hidden: boolean;
/**
* Retrieves a collection, in source order, of img objects in the document.
*/
images: HTMLCollectionOf;
/**
* Gets the implementation object of the current document.
*/
readonly implementation: DOMImplementation;
/**
* Returns the character encoding used to create the webpage that is loaded into the document object.
*/
readonly inputEncoding: string | null;
/**
* Gets the date that the page was last modified, if the page supplies one.
*/
readonly lastModified: string;
/**
* Sets or gets the color of the document links.
*/
linkColor: string;
/**
* Retrieves a collection of all a objects that specify the href property and all area objects in the document.
*/
links: HTMLCollectionOf;
/**
* Contains information about the current URL.
*/
readonly location: Location;
msCSSOMElementFloatMetrics: boolean;
msCapsLockWarningOff: boolean;
/**
* Fires when the user aborts the download.
* @param ev The event.
*/
onabort: (this: this, ev: UIEvent) => any;
/**
* Fires when the object is set as the active element.
* @param ev The event.
*/
onactivate: (this: this, ev: UIEvent) => any;
/**
* Fires immediately before the object is set as the active element.
* @param ev The event.
*/
onbeforeactivate: (this: this, ev: UIEvent) => any;
/**
* Fires immediately before the activeElement is changed from the current object to another object in the parent document.
* @param ev The event.
*/
onbeforedeactivate: (this: this, ev: UIEvent) => any;
/**
* Fires when the object loses the input focus.
* @param ev The focus event.
*/
onblur: (this: this, ev: FocusEvent) => any;
/**
* Occurs when playback is possible, but would require further buffering.
* @param ev The event.
*/
oncanplay: (this: this, ev: Event) => any;
oncanplaythrough: (this: this, ev: Event) => any;
/**
* Fires when the contents of the object or selection have changed.
* @param ev The event.
*/
onchange: (this: this, ev: Event) => any;
/**
* Fires when the user clicks the left mouse button on the object
* @param ev The mouse event.
*/
onclick: (this: this, ev: MouseEvent) => any;
/**
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
* @param ev The mouse event.
*/
oncontextmenu: (this: this, ev: PointerEvent) => any;
/**
* Fires when the user double-clicks the object.
* @param ev The mouse event.
*/
ondblclick: (this: this, ev: MouseEvent) => any;
/**
* Fires when the activeElement is changed from the current object to another object in the parent document.
* @param ev The UI Event
*/
ondeactivate: (this: this, ev: UIEvent) => any;
/**
* Fires on the source object continuously during a drag operation.
* @param ev The event.
*/
ondrag: (this: this, ev: DragEvent) => any;
/**
* Fires on the source object when the user releases the mouse at the close of a drag operation.
* @param ev The event.
*/
ondragend: (this: this, ev: DragEvent) => any;
/**
* Fires on the target element when the user drags the object to a valid drop target.
* @param ev The drag event.
*/
ondragenter: (this: this, ev: DragEvent) => any;
/**
* Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
* @param ev The drag event.
*/
ondragleave: (this: this, ev: DragEvent) => any;
/**
* Fires on the target element continuously while the user drags the object over a valid drop target.
* @param ev The event.
*/
ondragover: (this: this, ev: DragEvent) => any;
/**
* Fires on the source object when the user starts to drag a text selection or selected object.
* @param ev The event.
*/
ondragstart: (this: this, ev: DragEvent) => any;
ondrop: (this: this, ev: DragEvent) => any;
/**
* Occurs when the duration attribute is updated.
* @param ev The event.
*/
ondurationchange: (this: this, ev: Event) => any;
/**
* Occurs when the media element is reset to its initial state.
* @param ev The event.
*/
onemptied: (this: this, ev: Event) => any;
/**
* Occurs when the end of playback is reached.
* @param ev The event
*/
onended: (this: this, ev: MediaStreamErrorEvent) => any;
/**
* Fires when an error occurs during object loading.
* @param ev The event.
*/
onerror: (this: this, ev: ErrorEvent) => any;
/**
* Fires when the object receives focus.
* @param ev The event.
*/
onfocus: (this: this, ev: FocusEvent) => any;
onfullscreenchange: (this: this, ev: Event) => any;
onfullscreenerror: (this: this, ev: Event) => any;
oninput: (this: this, ev: Event) => any;
oninvalid: (this: this, ev: Event) => any;
/**
* Fires when the user presses a key.
* @param ev The keyboard event
*/
onkeydown: (this: this, ev: KeyboardEvent) => any;
/**
* Fires when the user presses an alphanumeric key.
* @param ev The event.
*/
onkeypress: (this: this, ev: KeyboardEvent) => any;
/**
* Fires when the user releases a key.
* @param ev The keyboard event
*/
onkeyup: (this: this, ev: KeyboardEvent) => any;
/**
* Fires immediately after the browser loads the object.
* @param ev The event.
*/
onload: (this: this, ev: Event) => any;
/**
* Occurs when media data is loaded at the current playback position.
* @param ev The event.
*/
onloadeddata: (this: this, ev: Event) => any;
/**
* Occurs when the duration and dimensions of the media have been determined.
* @param ev The event.
*/
onloadedmetadata: (this: this, ev: Event) => any;
/**
* Occurs when Internet Explorer begins looking for media data.
* @param ev The event.
*/
onloadstart: (this: this, ev: Event) => any;
/**
* Fires when the user clicks the object with either mouse button.
* @param ev The mouse event.
*/
onmousedown: (this: this, ev: MouseEvent) => any;
/**
* Fires when the user moves the mouse over the object.
* @param ev The mouse event.
*/
onmousemove: (this: this, ev: MouseEvent) => any;
/**
* Fires when the user moves the mouse pointer outside the boundaries of the object.
* @param ev The mouse event.
*/
onmouseout: (this: this, ev: MouseEvent) => any;
/**
* Fires when the user moves the mouse pointer into the object.
* @param ev The mouse event.
*/
onmouseover: (this: this, ev: MouseEvent) => any;
/**
* Fires when the user releases a mouse button while the mouse is over the object.
* @param ev The mouse event.
*/
onmouseup: (this: this, ev: MouseEvent) => any;
/**
* Fires when the wheel button is rotated.
* @param ev The mouse event
*/
onmousewheel: (this: this, ev: WheelEvent) => any;
onmscontentzoom: (this: this, ev: UIEvent) => any;
onmsgesturechange: (this: this, ev: MSGestureEvent) => any;
onmsgesturedoubletap: (this: this, ev: MSGestureEvent) => any;
onmsgestureend: (this: this, ev: MSGestureEvent) => any;
onmsgesturehold: (this: this, ev: MSGestureEvent) => any;
onmsgesturestart: (this: this, ev: MSGestureEvent) => any;
onmsgesturetap: (this: this, ev: MSGestureEvent) => any;
onmsinertiastart: (this: this, ev: MSGestureEvent) => any;
onmsmanipulationstatechanged: (this: this, ev: MSManipulationEvent) => any;
onmspointercancel: (this: this, ev: MSPointerEvent) => any;
onmspointerdown: (this: this, ev: MSPointerEvent) => any;
onmspointerenter: (this: this, ev: MSPointerEvent) => any;
onmspointerleave: (this: this, ev: MSPointerEvent) => any;
onmspointermove: (this: this, ev: MSPointerEvent) => any;
onmspointerout: (this: this, ev: MSPointerEvent) => any;
onmspointerover: (this: this, ev: MSPointerEvent) => any;
onmspointerup: (this: this, ev: MSPointerEvent) => any;
/**
* Occurs when an item is removed from a Jump List of a webpage running in Site Mode.
* @param ev The event.
*/
onmssitemodejumplistitemremoved: (this: this, ev: MSSiteModeEvent) => any;
/**
* Occurs when a user clicks a button in a Thumbnail Toolbar of a webpage running in Site Mode.
* @param ev The event.
*/
onmsthumbnailclick: (this: this, ev: MSSiteModeEvent) => any;
/**
* Occurs when playback is paused.
* @param ev The event.
*/
onpause: (this: this, ev: Event) => any;
/**
* Occurs when the play method is requested.
* @param ev The event.
*/
onplay: (this: this, ev: Event) => any;
/**
* Occurs when the audio or video has started playing.
* @param ev The event.
*/
onplaying: (this: this, ev: Event) => any;
onpointerlockchange: (this: this, ev: Event) => any;
onpointerlockerror: (this: this, ev: Event) => any;
/**
* Occurs to indicate progress while downloading media data.
* @param ev The event.
*/
onprogress: (this: this, ev: ProgressEvent) => any;
/**
* Occurs when the playback rate is increased or decreased.
* @param ev The event.
*/
onratechange: (this: this, ev: Event) => any;
/**
* Fires when the state of the object has changed.
* @param ev The event
*/
onreadystatechange: (this: this, ev: ProgressEvent) => any;
/**
* Fires when the user resets a form.
* @param ev The event.
*/
onreset: (this: this, ev: Event) => any;
/**
* Fires when the user repositions the scroll box in the scroll bar on the object.
* @param ev The event.
*/
onscroll: (this: this, ev: UIEvent) => any;
/**
* Occurs when the seek operation ends.
* @param ev The event.
*/
onseeked: (this: this, ev: Event) => any;
/**
* Occurs when the current playback position is moved.
* @param ev The event.
*/
onseeking: (this: this, ev: Event) => any;
/**
* Fires when the current selection changes.
* @param ev The event.
*/
onselect: (this: this, ev: UIEvent) => any;
/**
* Fires when the selection state of a document changes.
* @param ev The event.
*/
onselectionchange: (this: this, ev: Event) => any;
onselectstart: (this: this, ev: Event) => any;
/**
* Occurs when the download has stopped.
* @param ev The event.
*/
onstalled: (this: this, ev: Event) => any;
/**
* Fires when the user clicks the Stop button or leaves the Web page.
* @param ev The event.
*/
onstop: (this: this, ev: Event) => any;
onsubmit: (this: this, ev: Event) => any;
/**
* Occurs if the load operation has been intentionally halted.
* @param ev The event.
*/
onsuspend: (this: this, ev: Event) => any;
/**
* Occurs to indicate the current playback position.
* @param ev The event.
*/
ontimeupdate: (this: this, ev: Event) => any;
ontouchcancel: (ev: TouchEvent) => any;
ontouchend: (ev: TouchEvent) => any;
ontouchmove: (ev: TouchEvent) => any;
ontouchstart: (ev: TouchEvent) => any;
/**
* Occurs when the volume is changed, or playback is muted or unmuted.
* @param ev The event.
*/
onvolumechange: (this: this, ev: Event) => any;
/**
* Occurs when playback stops because the next frame of a video resource is not available.
* @param ev The event.
*/
onwaiting: (this: this, ev: Event) => any;
onwebkitfullscreenchange: (this: this, ev: Event) => any;
onwebkitfullscreenerror: (this: this, ev: Event) => any;
plugins: HTMLCollectionOf;
readonly pointerLockElement: Element;
/**
* Retrieves a value that indicates the current state of the object.
*/
readonly readyState: string;
/**
* Gets the URL of the location that referred the user to the current page.
*/
readonly referrer: string;
/**
* Gets the root svg element in the document hierarchy.
*/
readonly rootElement: SVGSVGElement;
/**
* Retrieves a collection of all script objects in the document.
*/
scripts: HTMLCollectionOf;
readonly scrollingElement: Element | null;
/**
* Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.
*/
readonly styleSheets: StyleSheetList;
/**
* Contains the title of the document.
*/
title: string;
readonly visibilityState: string;
/**
* Sets or gets the color of the links that the user has visited.
*/
vlinkColor: string;
readonly webkitCurrentFullScreenElement: Element | null;
readonly webkitFullscreenElement: Element | null;
readonly webkitFullscreenEnabled: boolean;
readonly webkitIsFullScreen: boolean;
readonly xmlEncoding: string | null;
xmlStandalone: boolean;
/**
* Gets or sets the version attribute specified in the declaration of an XML document.
*/
xmlVersion: string | null;
adoptNode(source: Node): Node;
captureEvents(): void;
caretRangeFromPoint(x: number, y: number): Range;
clear(): void;
/**
* Closes an output stream and forces the sent data to display.
*/
close(): void;
/**
* Creates an attribute object with a specified name.
* @param name String that sets the attribute object's name.
*/
createAttribute(name: string): Attr;
createAttributeNS(namespaceURI: string | null, qualifiedName: string): Attr;
createCDATASection(data: string): CDATASection;
/**
* Creates a comment object with the specified data.
* @param data Sets the comment object's data.
*/
createComment(data: string): Comment;
/**
* Creates a new document.
*/
createDocumentFragment(): DocumentFragment;
/**
* Creates an instance of the element for the specified tag.
* @param tagName The name of an element.
*/
createElement(tagName: "a"): HTMLAnchorElement;
createElement(tagName: "applet"): HTMLAppletElement;
createElement(tagName: "area"): HTMLAreaElement;
createElement(tagName: "audio"): HTMLAudioElement;
createElement(tagName: "base"): HTMLBaseElement;
createElement(tagName: "basefont"): HTMLBaseFontElement;
createElement(tagName: "blockquote"): HTMLQuoteElement;
createElement(tagName: "body"): HTMLBodyElement;
createElement(tagName: "br"): HTMLBRElement;
createElement(tagName: "button"): HTMLButtonElement;
createElement(tagName: "canvas"): HTMLCanvasElement;
createElement(tagName: "caption"): HTMLTableCaptionElement;
createElement(tagName: "col"): HTMLTableColElement;
createElement(tagName: "colgroup"): HTMLTableColElement;
createElement(tagName: "datalist"): HTMLDataListElement;
createElement(tagName: "del"): HTMLModElement;
createElement(tagName: "dir"): HTMLDirectoryElement;
createElement(tagName: "div"): HTMLDivElement;
createElement(tagName: "dl"): HTMLDListElement;
createElement(tagName: "embed"): HTMLEmbedElement;
createElement(tagName: "fieldset"): HTMLFieldSetElement;
createElement(tagName: "font"): HTMLFontElement;
createElement(tagName: "form"): HTMLFormElement;
createElement(tagName: "frame"): HTMLFrameElement;
createElement(tagName: "frameset"): HTMLFrameSetElement;
createElement(tagName: "h1"): HTMLHeadingElement;
createElement(tagName: "h2"): HTMLHeadingElement;
createElement(tagName: "h3"): HTMLHeadingElement;
createElement(tagName: "h4"): HTMLHeadingElement;
createElement(tagName: "h5"): HTMLHeadingElement;
createElement(tagName: "h6"): HTMLHeadingElement;
createElement(tagName: "head"): HTMLHeadElement;
createElement(tagName: "hr"): HTMLHRElement;
createElement(tagName: "html"): HTMLHtmlElement;
createElement(tagName: "iframe"): HTMLIFrameElement;
createElement(tagName: "img"): HTMLImageElement;
createElement(tagName: "input"): HTMLInputElement;
createElement(tagName: "ins"): HTMLModElement;
createElement(tagName: "isindex"): HTMLUnknownElement;
createElement(tagName: "label"): HTMLLabelElement;
createElement(tagName: "legend"): HTMLLegendElement;
createElement(tagName: "li"): HTMLLIElement;
createElement(tagName: "link"): HTMLLinkElement;
createElement(tagName: "listing"): HTMLPreElement;
createElement(tagName: "map"): HTMLMapElement;
createElement(tagName: "marquee"): HTMLMarqueeElement;
createElement(tagName: "menu"): HTMLMenuElement;
createElement(tagName: "meta"): HTMLMetaElement;
createElement(tagName: "meter"): HTMLMeterElement;
createElement(tagName: "nextid"): HTMLUnknownElement;
createElement(tagName: "object"): HTMLObjectElement;
createElement(tagName: "ol"): HTMLOListElement;
createElement(tagName: "optgroup"): HTMLOptGroupElement;
createElement(tagName: "option"): HTMLOptionElement;
createElement(tagName: "p"): HTMLParagraphElement;
createElement(tagName: "param"): HTMLParamElement;
createElement(tagName: "picture"): HTMLPictureElement;
createElement(tagName: "pre"): HTMLPreElement;
createElement(tagName: "progress"): HTMLProgressElement;
createElement(tagName: "q"): HTMLQuoteElement;
createElement(tagName: "script"): HTMLScriptElement;
createElement(tagName: "select"): HTMLSelectElement;
createElement(tagName: "source"): HTMLSourceElement;
createElement(tagName: "span"): HTMLSpanElement;
createElement(tagName: "style"): HTMLStyleElement;
createElement(tagName: "table"): HTMLTableElement;
createElement(tagName: "tbody"): HTMLTableSectionElement;
createElement(tagName: "td"): HTMLTableDataCellElement;
createElement(tagName: "template"): HTMLTemplateElement;
createElement(tagName: "textarea"): HTMLTextAreaElement;
createElement(tagName: "tfoot"): HTMLTableSectionElement;
createElement(tagName: "th"): HTMLTableHeaderCellElement;
createElement(tagName: "thead"): HTMLTableSectionElement;
createElement(tagName: "title"): HTMLTitleElement;
createElement(tagName: "tr"): HTMLTableRowElement;
createElement(tagName: "track"): HTMLTrackElement;
createElement(tagName: "ul"): HTMLUListElement;
createElement(tagName: "video"): HTMLVideoElement;
createElement(tagName: "x-ms-webview"): MSHTMLWebViewElement;
createElement(tagName: "xmp"): HTMLPreElement;
createElement(tagName: string): HTMLElement;
createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "a"): SVGAElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "circle"): SVGCircleElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "clipPath"): SVGClipPathElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "componentTransferFunction"): SVGComponentTransferFunctionElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "defs"): SVGDefsElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "desc"): SVGDescElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "ellipse"): SVGEllipseElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feBlend"): SVGFEBlendElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feColorMatrix"): SVGFEColorMatrixElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feComponentTransfer"): SVGFEComponentTransferElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feComposite"): SVGFECompositeElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feConvolveMatrix"): SVGFEConvolveMatrixElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDiffuseLighting"): SVGFEDiffuseLightingElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDisplacementMap"): SVGFEDisplacementMapElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feDistantLight"): SVGFEDistantLightElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFlood"): SVGFEFloodElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncA"): SVGFEFuncAElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncB"): SVGFEFuncBElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncG"): SVGFEFuncGElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feFuncR"): SVGFEFuncRElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feGaussianBlur"): SVGFEGaussianBlurElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feImage"): SVGFEImageElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMerge"): SVGFEMergeElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMergeNode"): SVGFEMergeNodeElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feMorphology"): SVGFEMorphologyElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feOffset"): SVGFEOffsetElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "fePointLight"): SVGFEPointLightElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feSpecularLighting"): SVGFESpecularLightingElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feSpotLight"): SVGFESpotLightElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feTile"): SVGFETileElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "feTurbulence"): SVGFETurbulenceElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "filter"): SVGFilterElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "foreignObject"): SVGForeignObjectElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "g"): SVGGElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "image"): SVGImageElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "gradient"): SVGGradientElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "line"): SVGLineElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "linearGradient"): SVGLinearGradientElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "marker"): SVGMarkerElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "mask"): SVGMaskElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "path"): SVGPathElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "metadata"): SVGMetadataElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "pattern"): SVGPatternElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "polygon"): SVGPolygonElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "polyline"): SVGPolylineElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "radialGradient"): SVGRadialGradientElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "rect"): SVGRectElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "svg"): SVGSVGElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "script"): SVGScriptElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "stop"): SVGStopElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "style"): SVGStyleElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "switch"): SVGSwitchElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "symbol"): SVGSymbolElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "tspan"): SVGTSpanElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textContent"): SVGTextContentElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "text"): SVGTextElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textPath"): SVGTextPathElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "textPositioning"): SVGTextPositioningElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "title"): SVGTitleElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "use"): SVGUseElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "view"): SVGViewElement
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement
createElementNS(namespaceURI: string | null, qualifiedName: string): Element;
createExpression(expression: string, resolver: XPathNSResolver): XPathExpression;
createNSResolver(nodeResolver: Node): XPathNSResolver;
/**
* Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.
* @param root The root element or node to start traversing on.
* @param whatToShow The type of nodes or elements to appear in the node list
* @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.
* @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.
*/
createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter, entityReferenceExpansion?: boolean): NodeIterator;
createProcessingInstruction(target: string, data: string): ProcessingInstruction;
/**
* Returns an empty range object that has both of its boundary points positioned at the beginning of the document.
*/
createRange(): Range;
/**
* Creates a text string from the specified value.
* @param data String that specifies the nodeValue property of the text node.
*/
createTextNode(data: string): Text;
createTouch(view: Window, target: EventTarget, identifier: number, pageX: number, pageY: number, screenX: number, screenY: number): Touch;
createTouchList(...touches: Touch[]): TouchList;
/**
* Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document.
* @param root The root element or node to start traversing on.
* @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow.
* @param filter A custom NodeFilter function to use.
* @param entityReferenceExpansion A flag that specifies whether entity reference nodes are expanded.
*/
createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter, entityReferenceExpansion?: boolean): TreeWalker;
/**
* Returns the element for the specified x coordinate and the specified y coordinate.
* @param x The x-offset
* @param y The y-offset
*/
elementFromPoint(x: number, y: number): Element;
evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver, type: number, result: XPathResult): XPathResult;
/**
* Executes a command on the current document, current selection, or the given range.
* @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.
* @param showUI Display the user interface, defaults to false.
* @param value Value to assign.
*/
execCommand(commandId: string, showUI?: boolean, value?: any): boolean;
/**
* Displays help information for the given command identifier.
* @param commandId Displays help information for the given command identifier.
*/
execCommandShowHelp(commandId: string): boolean;
exitFullscreen(): void;
exitPointerLock(): void;
/**
* Causes the element to receive the focus and executes the code specified by the onfocus event.
*/
focus(): void;
/**
* Returns a reference to the first object with the specified value of the ID or NAME attribute.
* @param elementId String that specifies the ID value. Case-insensitive.
*/
getElementById(elementId: string): HTMLElement | null;
getElementsByClassName(classNames: string): HTMLCollectionOf;
/**
* Gets a collection of objects based on the value of the NAME or ID attribute.
* @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.
*/
getElementsByName(elementName: string): NodeListOf;
/**
* Retrieves a collection of objects based on the specified element name.
* @param name Specifies the name of an element.
*/
getElementsByTagName(tagname: "a"): NodeListOf;
getElementsByTagName(tagname: "abbr"): NodeListOf;
getElementsByTagName(tagname: "acronym"): NodeListOf;
getElementsByTagName(tagname: "address"): NodeListOf;
getElementsByTagName(tagname: "applet"): NodeListOf;
getElementsByTagName(tagname: "area"): NodeListOf;
getElementsByTagName(tagname: "article"): NodeListOf;
getElementsByTagName(tagname: "aside"): NodeListOf;
getElementsByTagName(tagname: "audio"): NodeListOf;
getElementsByTagName(tagname: "b"): NodeListOf;
getElementsByTagName(tagname: "base"): NodeListOf;
getElementsByTagName(tagname: "basefont"): NodeListOf;
getElementsByTagName(tagname: "bdo"): NodeListOf;
getElementsByTagName(tagname: "big"): NodeListOf;
getElementsByTagName(tagname: "blockquote"): NodeListOf;
getElementsByTagName(tagname: "body"): NodeListOf;
getElementsByTagName(tagname: "br"): NodeListOf;
getElementsByTagName(tagname: "button"): NodeListOf;
getElementsByTagName(tagname: "canvas"): NodeListOf;
getElementsByTagName(tagname: "caption"): NodeListOf;
getElementsByTagName(tagname: "center"): NodeListOf;
getElementsByTagName(tagname: "circle"): NodeListOf;
getElementsByTagName(tagname: "cite"): NodeListOf;
getElementsByTagName(tagname: "clippath"): NodeListOf;
getElementsByTagName(tagname: "code"): NodeListOf;
getElementsByTagName(tagname: "col"): NodeListOf;
getElementsByTagName(tagname: "colgroup"): NodeListOf;
getElementsByTagName(tagname: "datalist"): NodeListOf;
getElementsByTagName(tagname: "dd"): NodeListOf;
getElementsByTagName(tagname: "defs"): NodeListOf;
getElementsByTagName(tagname: "del"): NodeListOf;
getElementsByTagName(tagname: "desc"): NodeListOf;
getElementsByTagName(tagname: "dfn"): NodeListOf;
getElementsByTagName(tagname: "dir"): NodeListOf;
getElementsByTagName(tagname: "div"): NodeListOf;
getElementsByTagName(tagname: "dl"): NodeListOf;
getElementsByTagName(tagname: "dt"): NodeListOf;
getElementsByTagName(tagname: "ellipse"): NodeListOf;
getElementsByTagName(tagname: "em"): NodeListOf;
getElementsByTagName(tagname: "embed"): NodeListOf;
getElementsByTagName(tagname: "feblend"): NodeListOf;
getElementsByTagName(tagname: "fecolormatrix"): NodeListOf;
getElementsByTagName(tagname: "fecomponenttransfer"): NodeListOf;
getElementsByTagName(tagname: "fecomposite"): NodeListOf;
getElementsByTagName(tagname: "feconvolvematrix"): NodeListOf;
getElementsByTagName(tagname: "fediffuselighting"): NodeListOf;
getElementsByTagName(tagname: "fedisplacementmap"): NodeListOf;
getElementsByTagName(tagname: "fedistantlight"): NodeListOf;
getElementsByTagName(tagname: "feflood"): NodeListOf;
getElementsByTagName(tagname: "fefunca"): NodeListOf;
getElementsByTagName(tagname: "fefuncb"): NodeListOf;
getElementsByTagName(tagname: "fefuncg"): NodeListOf;
getElementsByTagName(tagname: "fefuncr"): NodeListOf;
getElementsByTagName(tagname: "fegaussianblur"): NodeListOf;
getElementsByTagName(tagname: "feimage"): NodeListOf;
getElementsByTagName(tagname: "femerge"): NodeListOf;
getElementsByTagName(tagname: "femergenode"): NodeListOf;
getElementsByTagName(tagname: "femorphology"): NodeListOf;
getElementsByTagName(tagname: "feoffset"): NodeListOf;
getElementsByTagName(tagname: "fepointlight"): NodeListOf;
getElementsByTagName(tagname: "fespecularlighting"): NodeListOf;
getElementsByTagName(tagname: "fespotlight"): NodeListOf;
getElementsByTagName(tagname: "fetile"): NodeListOf;
getElementsByTagName(tagname: "feturbulence"): NodeListOf;
getElementsByTagName(tagname: "fieldset"): NodeListOf;
getElementsByTagName(tagname: "figcaption"): NodeListOf;
getElementsByTagName(tagname: "figure"): NodeListOf;
getElementsByTagName(tagname: "filter"): NodeListOf;
getElementsByTagName(tagname: "font"): NodeListOf;
getElementsByTagName(tagname: "footer"): NodeListOf;
getElementsByTagName(tagname: "foreignobject"): NodeListOf;
getElementsByTagName(tagname: "form"): NodeListOf;
getElementsByTagName(tagname: "frame"): NodeListOf;
getElementsByTagName(tagname: "frameset"): NodeListOf;
getElementsByTagName(tagname: "g"): NodeListOf;
getElementsByTagName(tagname: "h1"): NodeListOf;
getElementsByTagName(tagname: "h2"): NodeListOf;
getElementsByTagName(tagname: "h3"): NodeListOf;
getElementsByTagName(tagname: "h4"): NodeListOf;
getElementsByTagName(tagname: "h5"): NodeListOf;
getElementsByTagName(tagname: "h6"): NodeListOf;
getElementsByTagName(tagname: "head"): NodeListOf;
getElementsByTagName(tagname: "header"): NodeListOf;
getElementsByTagName(tagname: "hgroup"): NodeListOf;
getElementsByTagName(tagname: "hr"): NodeListOf;
getElementsByTagName(tagname: "html"): NodeListOf;
getElementsByTagName(tagname: "i"): NodeListOf;
getElementsByTagName(tagname: "iframe"): NodeListOf;
getElementsByTagName(tagname: "image"): NodeListOf;
getElementsByTagName(tagname: "img"): NodeListOf;
getElementsByTagName(tagname: "input"): NodeListOf;
getElementsByTagName(tagname: "ins"): NodeListOf;
getElementsByTagName(tagname: "isindex"): NodeListOf;
getElementsByTagName(tagname: "kbd"): NodeListOf;
getElementsByTagName(tagname: "keygen"): NodeListOf;
getElementsByTagName(tagname: "label"): NodeListOf;
getElementsByTagName(tagname: "legend"): NodeListOf;
getElementsByTagName(tagname: "li"): NodeListOf;
getElementsByTagName(tagname: "line"): NodeListOf;
getElementsByTagName(tagname: "lineargradient"): NodeListOf;
getElementsByTagName(tagname: "link"): NodeListOf;
getElementsByTagName(tagname: "listing"): NodeListOf;
getElementsByTagName(tagname: "map"): NodeListOf;
getElementsByTagName(tagname: "mark"): NodeListOf;
getElementsByTagName(tagname: "marker"): NodeListOf;
getElementsByTagName(tagname: "marquee"): NodeListOf;
getElementsByTagName(tagname: "mask"): NodeListOf;
getElementsByTagName(tagname: "menu"): NodeListOf;
getElementsByTagName(tagname: "meta"): NodeListOf;
getElementsByTagName(tagname: "metadata"): NodeListOf;
getElementsByTagName(tagname: "meter"): NodeListOf;
getElementsByTagName(tagname: "nav"): NodeListOf;
getElementsByTagName(tagname: "nextid"): NodeListOf;
getElementsByTagName(tagname: "nobr"): NodeListOf;
getElementsByTagName(tagname: "noframes"): NodeListOf;
getElementsByTagName(tagname: "noscript"): NodeListOf;
getElementsByTagName(tagname: "object"): NodeListOf;
getElementsByTagName(tagname: "ol"): NodeListOf;
getElementsByTagName(tagname: "optgroup"): NodeListOf;
getElementsByTagName(tagname: "option"): NodeListOf;
getElementsByTagName(tagname: "p"): NodeListOf;
getElementsByTagName(tagname: "param"): NodeListOf;
getElementsByTagName(tagname: "path"): NodeListOf;
getElementsByTagName(tagname: "pattern"): NodeListOf;
getElementsByTagName(tagname: "picture"): NodeListOf;
getElementsByTagName(tagname: "plaintext"): NodeListOf;
getElementsByTagName(tagname: "polygon"): NodeListOf;
getElementsByTagName(tagname: "polyline"): NodeListOf;
getElementsByTagName(tagname: "pre"): NodeListOf;
getElementsByTagName(tagname: "progress"): NodeListOf;
getElementsByTagName(tagname: "q"): NodeListOf;
getElementsByTagName(tagname: "radialgradient"): NodeListOf;
getElementsByTagName(tagname: "rect"): NodeListOf;
getElementsByTagName(tagname: "rt"): NodeListOf;
getElementsByTagName(tagname: "ruby"): NodeListOf;
getElementsByTagName(tagname: "s"): NodeListOf;
getElementsByTagName(tagname: "samp"): NodeListOf;
getElementsByTagName(tagname: "script"): NodeListOf;
getElementsByTagName(tagname: "section"): NodeListOf;
getElementsByTagName(tagname: "select"): NodeListOf;
getElementsByTagName(tagname: "small"): NodeListOf;
getElementsByTagName(tagname: "source"): NodeListOf;
getElementsByTagName(tagname: "span"): NodeListOf;
getElementsByTagName(tagname: "stop"): NodeListOf;
getElementsByTagName(tagname: "strike"): NodeListOf;
getElementsByTagName(tagname: "strong"): NodeListOf;
getElementsByTagName(tagname: "style"): NodeListOf;
getElementsByTagName(tagname: "sub"): NodeListOf;
getElementsByTagName(tagname: "sup"): NodeListOf;
getElementsByTagName(tagname: "svg"): NodeListOf;
getElementsByTagName(tagname: "switch"): NodeListOf;
getElementsByTagName(tagname: "symbol"): NodeListOf;
getElementsByTagName(tagname: "table"): NodeListOf;
getElementsByTagName(tagname: "tbody"): NodeListOf;
getElementsByTagName(tagname: "td"): NodeListOf;
getElementsByTagName(tagname: "template"): NodeListOf;
getElementsByTagName(tagname: "text"): NodeListOf;
getElementsByTagName(tagname: "textpath"): NodeListOf;
getElementsByTagName(tagname: "textarea"): NodeListOf;
getElementsByTagName(tagname: "tfoot"): NodeListOf;
getElementsByTagName(tagname: "th"): NodeListOf;
getElementsByTagName(tagname: "thead"): NodeListOf;
getElementsByTagName(tagname: "title"): NodeListOf;
getElementsByTagName(tagname: "tr"): NodeListOf;
getElementsByTagName(tagname: "track"): NodeListOf;
getElementsByTagName(tagname: "tspan"): NodeListOf;
getElementsByTagName(tagname: "tt"): NodeListOf;
getElementsByTagName(tagname: "u"): NodeListOf;
getElementsByTagName(tagname: "ul"): NodeListOf;
getElementsByTagName(tagname: "use"): NodeListOf;
getElementsByTagName(tagname: "var"): NodeListOf;
getElementsByTagName(tagname: "video"): NodeListOf;
getElementsByTagName(tagname: "view"): NodeListOf;
getElementsByTagName(tagname: "wbr"): NodeListOf;
getElementsByTagName(tagname: "x-ms-webview"): NodeListOf;
getElementsByTagName(tagname: "xmp"): NodeListOf;
getElementsByTagName(tagname: string): NodeListOf;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf;
getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf;
/**
* Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.
*/
getSelection(): Selection;
/**
* Gets a value indicating whether the object currently has focus.
*/
hasFocus(): boolean;
importNode(importedNode: Node, deep: boolean): Node;
msElementsFromPoint(x: number, y: number): NodeListOf;
msElementsFromRect(left: number, top: number, width: number, height: number): NodeListOf;
/**
* Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.
* @param url Specifies a MIME type for the document.
* @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element.
* @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported.
* @param replace Specifies whether the existing entry for the document is replaced in the history list.
*/
open(url?: string, name?: string, features?: string, replace?: boolean): Document;
/**
* Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.
* @param commandId Specifies a command identifier.
*/
queryCommandEnabled(commandId: string): boolean;
/**
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
* @param commandId String that specifies a command identifier.
*/
queryCommandIndeterm(commandId: string): boolean;
/**
* Returns a Boolean value that indicates the current state of the command.
* @param commandId String that specifies a command identifier.
*/
queryCommandState(commandId: string): boolean;
/**
* Returns a Boolean value that indicates whether the current command is supported on the current range.
* @param commandId Specifies a command identifier.
*/
queryCommandSupported(commandId: string): boolean;
/**
* Retrieves the string associated with a command.
* @param commandId String that contains the identifier of a command. This can be any command identifier given in the list of Command Identifiers.
*/
queryCommandText(commandId: string): string;
/**
* Returns the current value of the document, range, or current selection for the given command.
* @param commandId String that specifies a command identifier.
*/
queryCommandValue(commandId: string): string;
releaseEvents(): void;
/**
* Allows updating the print settings for the page.
*/
updateSettings(): void;
webkitCancelFullScreen(): void;
webkitExitFullscreen(): void;
/**
* Writes one or more HTML expressions to a document in the specified window.
* @param content Specifies the text and HTML tags to write.
*/
write(...content: string[]): void;
/**
* Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.
* @param content The text and HTML tags to write.
*/
writeln(...content: string[]): void;
addEventListener(type: "MSContentZoom", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSGestureChange", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSGestureDoubleTap", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSGestureEnd", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSGestureHold", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSGestureStart", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSGestureTap", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSInertiaStart", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSManipulationStateChanged", listener: (this: this, ev: MSManipulationEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSPointerCancel", listener: (this: this, ev: MSPointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSPointerDown", listener: (this: this, ev: MSPointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSPointerEnter", listener: (this: this, ev: MSPointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSPointerLeave", listener: (this: this, ev: MSPointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSPointerMove", listener: (this: this, ev: MSPointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSPointerOut", listener: (this: this, ev: MSPointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSPointerOver", listener: (this: this, ev: MSPointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "MSPointerUp", listener: (this: this, ev: MSPointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "abort", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "activate", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "beforeactivate", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "beforedeactivate", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "blur", listener: (this: this, ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "canplay", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "canplaythrough", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "change", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "click", listener: (this: this, ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "contextmenu", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dblclick", listener: (this: this, ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "deactivate", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "drag", listener: (this: this, ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragend", listener: (this: this, ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragenter", listener: (this: this, ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragleave", listener: (this: this, ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragover", listener: (this: this, ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "dragstart", listener: (this: this, ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "drop", listener: (this: this, ev: DragEvent) => any, useCapture?: boolean): void;
addEventListener(type: "durationchange", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "emptied", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "ended", listener: (this: this, ev: MediaStreamErrorEvent) => any, useCapture?: boolean): void;
addEventListener(type: "error", listener: (this: this, ev: ErrorEvent) => any, useCapture?: boolean): void;
addEventListener(type: "focus", listener: (this: this, ev: FocusEvent) => any, useCapture?: boolean): void;
addEventListener(type: "fullscreenchange", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "fullscreenerror", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "input", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "invalid", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "keydown", listener: (this: this, ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "keypress", listener: (this: this, ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "keyup", listener: (this: this, ev: KeyboardEvent) => any, useCapture?: boolean): void;
addEventListener(type: "load", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "loadeddata", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "loadedmetadata", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "loadstart", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "mousedown", listener: (this: this, ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mousemove", listener: (this: this, ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseout", listener: (this: this, ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseover", listener: (this: this, ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mouseup", listener: (this: this, ev: MouseEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mousewheel", listener: (this: this, ev: WheelEvent) => any, useCapture?: boolean): void;
addEventListener(type: "mssitemodejumplistitemremoved", listener: (this: this, ev: MSSiteModeEvent) => any, useCapture?: boolean): void;
addEventListener(type: "msthumbnailclick", listener: (this: this, ev: MSSiteModeEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pause", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "play", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "playing", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "pointercancel", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerdown", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerenter", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerleave", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerlockchange", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "pointerlockerror", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "pointermove", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerout", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerover", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "pointerup", listener: (this: this, ev: PointerEvent) => any, useCapture?: boolean): void;
addEventListener(type: "progress", listener: (this: this, ev: ProgressEvent) => any, useCapture?: boolean): void;
addEventListener(type: "ratechange", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "readystatechange", listener: (this: this, ev: ProgressEvent) => any, useCapture?: boolean): void;
addEventListener(type: "reset", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "scroll", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "seeked", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "seeking", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "select", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;
addEventListener(type: "selectionchange", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "selectstart", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "stalled", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "stop", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "submit", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "suspend", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "timeupdate", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "touchcancel", listener: (this: this, ev: TouchEvent) => any, useCapture?: boolean): void;
addEventListener(type: "touchend", listener: (this: this, ev: TouchEvent) => any, useCapture?: boolean): void;
addEventListener(type: "touchmove", listener: (this: this, ev: TouchEvent) => any, useCapture?: boolean): void;
addEventListener(type: "touchstart", listener: (this: this, ev: TouchEvent) => any, useCapture?: boolean): void;
addEventListener(type: "volumechange", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "waiting", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "webkitfullscreenchange", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "webkitfullscreenerror", listener: (this: this, ev: Event) => any, useCapture?: boolean): void;
addEventListener(type: "wheel", listener: (this: this, ev: WheelEvent) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var Document: {
prototype: Document;
new(): Document;
}
interface DocumentFragment extends Node, NodeSelector {
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var DocumentFragment: {
prototype: DocumentFragment;
new(): DocumentFragment;
}
interface DocumentType extends Node, ChildNode {
readonly entities: NamedNodeMap;
readonly internalSubset: string | null;
readonly name: string;
readonly notations: NamedNodeMap;
readonly publicId: string | null;
readonly systemId: string | null;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var DocumentType: {
prototype: DocumentType;
new(): DocumentType;
}
interface DragEvent extends MouseEvent {
readonly dataTransfer: DataTransfer;
initDragEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, dataTransferArg: DataTransfer): void;
msConvertURL(file: File, targetType: string, targetURL?: string): void;
}
declare var DragEvent: {
prototype: DragEvent;
new(): DragEvent;
}
interface DynamicsCompressorNode extends AudioNode {
readonly attack: AudioParam;
readonly knee: AudioParam;
readonly ratio: AudioParam;
readonly reduction: AudioParam;
readonly release: AudioParam;
readonly threshold: AudioParam;
}
declare var DynamicsCompressorNode: {
prototype: DynamicsCompressorNode;
new(): DynamicsCompressorNode;
}
interface EXT_frag_depth {
}
declare var EXT_frag_depth: {
prototype: EXT_frag_depth;
new(): EXT_frag_depth;
}
interface EXT_texture_filter_anisotropic {
readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: number;
readonly TEXTURE_MAX_ANISOTROPY_EXT: number;
}
declare var EXT_texture_filter_anisotropic: {
prototype: EXT_texture_filter_anisotropic;
new(): EXT_texture_filter_anisotropic;
readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: number;
readonly TEXTURE_MAX_ANISOTROPY_EXT: number;
}
interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelector, ChildNode {
readonly classList: DOMTokenList;
className: string;
readonly clientHeight: number;
readonly clientLeft: number;
readonly clientTop: number;
readonly clientWidth: number;
id: string;
msContentZoomFactor: number;
readonly msRegionOverflow: string;
onariarequest: (this: this, ev: AriaRequestEvent) => any;
oncommand: (this: this, ev: CommandEvent) => any;
ongotpointercapture: (this: this, ev: PointerEvent) => any;
onlostpointercapture: (this: this, ev: PointerEvent) => any;
onmsgesturechange: (this: this, ev: MSGestureEvent) => any;
onmsgesturedoubletap: (this: this, ev: MSGestureEvent) => any;
onmsgestureend: (this: this, ev: MSGestureEvent) => any;
onmsgesturehold: (this: this, ev: MSGestureEvent) => any;
onmsgesturestart: (this: this, ev: MSGestureEvent) => any;
onmsgesturetap: (this: this, ev: MSGestureEvent) => any;
onmsgotpointercapture: (this: this, ev: MSPointerEvent) => any;
onmsinertiastart: (this: this, ev: MSGestureEvent) => any;
onmslostpointercapture: (this: this, ev: MSPointerEvent) => any;
onmspointercancel: (this: this, ev: MSPointerEvent) => any;
onmspointerdown: (this: this, ev: MSPointerEvent) => any;
onmspointerenter: (this: this, ev: MSPointerEvent) => any;
onmspointerleave: (this: this, ev: MSPointerEvent) => any;
onmspointermove: (this: this, ev: MSPointerEvent) => any;
onmspointerout: (this: this, ev: MSPointerEvent) => any;
onmspointerover: (this: this, ev: MSPointerEvent) => any;
onmspointerup: (this: this, ev: MSPointerEvent) => any;
ontouchcancel: (ev: TouchEvent) => any;
ontouchend: (ev: TouchEvent) => any;
ontouchmove: (ev: TouchEvent) => any;
ontouchstart: (ev: TouchEvent) => any;
onwebkitfullscreenchange: (this: this, ev: Event) => any;
onwebkitfullscreenerror: (this: this, ev: Event) => any;
readonly prefix: string | null;
readonly scrollHeight: number;
scrollLeft: number;
scrollTop: number;
readonly scrollWidth: number;
readonly tagName: string;
innerHTML: string;
getAttribute(name: string): string | null;
getAttributeNS(namespaceURI: string, localName: string): string;
getAttributeNode(name: string): Attr;
getAttributeNodeNS(namespaceURI: string, localName: string): Attr;
getBoundingClientRect(): ClientRect;
getClientRects(): ClientRectList;
getElementsByTagName(name: "a"): NodeListOf;
getElementsByTagName(name: "abbr"): NodeListOf;
getElementsByTagName(name: "acronym"): NodeListOf;
getElementsByTagName(name: "address"): NodeListOf;
getElementsByTagName(name: "applet"): NodeListOf;
getElementsByTagName(name: "area"): NodeListOf;
getElementsByTagName(name: "article"): NodeListOf;
getElementsByTagName(name: "aside"): NodeListOf;
getElementsByTagName(name: "audio"): NodeListOf;
getElementsByTagName(name: "b"): NodeListOf;
getElementsByTagName(name: "base"): NodeListOf;
getElementsByTagName(name: "basefont"): NodeListOf;
getElementsByTagName(name: "bdo"): NodeListOf;
getElementsByTagName(name: "big"): NodeListOf;
getElementsByTagName(name: "blockquote"): NodeListOf;
getElementsByTagName(name: "body"): NodeListOf;
getElementsByTagName(name: "br"): NodeListOf;
getElementsByTagName(name: "button"): NodeListOf;
getElementsByTagName(name: "canvas"): NodeListOf;
getElementsByTagName(name: "caption"): NodeListOf;
getElementsByTagName(name: "center"): NodeListOf;
getElementsByTagName(name: "circle"): NodeListOf;
getElementsByTagName(name: "cite"): NodeListOf;
getElementsByTagName(name: "clippath"): NodeListOf;
getElementsByTagName(name: "code"): NodeListOf;
getElementsByTagName(name: "col"): NodeListOf;
getElementsByTagName(name: "colgroup"): NodeListOf;
getElementsByTagName(name: "datalist"): NodeListOf;
getElementsByTagName(name: "dd"): NodeListOf;
getElementsByTagName(name: "defs"): NodeListOf;
getElementsByTagName(name: "del"): NodeListOf;
getElementsByTagName(name: "desc"): NodeListOf;
getElementsByTagName(name: "dfn"): NodeListOf;
getElementsByTagName(name: "dir"): NodeListOf;
getElementsByTagName(name: "div"): NodeListOf;
getElementsByTagName(name: "dl"): NodeListOf;
getElementsByTagName(name: "dt"): NodeListOf;
getElementsByTagName(name: "ellipse"): NodeListOf;
getElementsByTagName(name: "em"): NodeListOf;
getElementsByTagName(name: "embed"): NodeListOf;
getElementsByTagName(name: "feblend"): NodeListOf;
getElementsByTagName(name: "fecolormatrix"): NodeListOf;
getElementsByTagName(name: "fecomponenttransfer"): NodeListOf;
getElementsByTagName(name: "fecomposite"): NodeListOf;
getElementsByTagName(name: "feconvolvematrix"): NodeListOf;
getElementsByTagName(name: "fediffuselighting"): NodeListOf;
getElementsByTagName(name: "fedisplacementmap"): NodeListOf;
getElementsByTagName(name: "fedistantlight"): NodeListOf;
getElementsByTagName(name: "feflood"): NodeListOf;
getElementsByTagName(name: "fefunca"): NodeListOf;
getElementsByTagName(name: "fefuncb"): NodeListOf;
getElementsByTagName(name: "fefuncg"): NodeListOf;
getElementsByTagName(name: "fefuncr"): NodeListOf;
getElementsByTagName(name: "fegaussianblur"): NodeListOf;
getElementsByTagName(name: "feimage"): NodeListOf;
getElementsByTagName(name: "femerge"): NodeListOf;
getElementsByTagName(name: "femergenode"): NodeListOf;
getElementsByTagName(name: "femorphology"): NodeListOf;
getElementsByTagName(name: "feoffset"): NodeListOf;
getElementsByTagName(name: "fepointlight"): NodeListOf;
getElementsByTagName(name: "fespecularlighting"): NodeListOf;
getElementsByTagName(name: "fespotlight"): NodeListOf