Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save odykyi/dd54683db5a61cf887e459ed6b0c50f5 to your computer and use it in GitHub Desktop.
Save odykyi/dd54683db5a61cf887e459ed6b0c50f5 to your computer and use it in GitHub Desktop.
JavaScriptLanguage.jsLanguageServicesImpl.external.lib.es2017.full.d.ts
/*! *****************************************************************************
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.
***************************************************************************** */
/// <reference no-default-lib="true"/>
/// <reference path="lib.es2016.d.ts" />
/// <reference path="lib.es2017.object.d.ts" />
/// <reference path="lib.es2017.sharedmemory.d.ts" />
/// <reference path="lib.es2017.string.d.ts" />
/// <reference path="lib.es2017.intl.d.ts" />
/////////////////////////////
/// DOM APIs
/////////////////////////////
interface Account {
displayName: string;
id: string;
imageURL?: string;
name?: string;
rpDisplayName: string;
}
interface Algorithm {
name: string;
}
interface AnimationEventInit extends EventInit {
animationName?: string;
elapsedTime?: number;
}
interface AssertionOptions {
allowList?: ScopedCredentialDescriptor[];
extensions?: WebAuthnExtensions;
rpId?: USVString;
timeoutSeconds?: number;
}
interface CacheQueryOptions {
cacheName?: string;
ignoreMethod?: boolean;
ignoreSearch?: boolean;
ignoreVary?: boolean;
}
interface ClientData {
challenge: string;
extensions?: WebAuthnExtensions;
hashAlg: string | Algorithm;
origin: string;
rpId: string;
tokenBinding?: string;
}
interface CloseEventInit extends EventInit {
code?: number;
reason?: string;
wasClean?: boolean;
}
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?: VideoFacingModeEnum | VideoFacingModeEnum[];
ideal?: VideoFacingModeEnum | VideoFacingModeEnum[];
}
interface CustomEventInit extends EventInit {
detail?: any;
}
interface DeviceAccelerationDict {
x?: number | null;
y?: number | null;
z?: number | null;
}
interface DeviceLightEventInit extends EventInit {
value?: number;
}
interface DeviceMotionEventInit extends EventInit {
acceleration?: DeviceAccelerationDict | null;
accelerationIncludingGravity?: DeviceAccelerationDict | null;
interval?: number | null;
rotationRate?: DeviceRotationRateDict | null;
}
interface DeviceOrientationEventInit extends EventInit {
absolute?: boolean;
alpha?: number | null;
beta?: number | null;
gamma?: number | null;
}
interface DeviceRotationRateDict {
alpha?: number | null;
beta?: number | null;
gamma?: number | null;
}
interface DOMRectInit {
height?: number;
width?: number;
x?: number;
y?: number;
}
interface DoubleRange {
max?: number;
min?: number;
}
interface ErrorEventInit extends EventInit {
colno?: number;
error?: any;
filename?: string;
lineno?: number;
message?: string;
}
interface EventInit {
scoped?: boolean;
bubbles?: boolean;
cancelable?: boolean;
}
interface EventModifierInit extends UIEventInit {
altKey?: boolean;
ctrlKey?: 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;
shiftKey?: boolean;
}
interface ExceptionInformation {
domain?: string | null;
}
interface FocusEventInit extends UIEventInit {
relatedTarget?: EventTarget | null;
}
interface FocusNavigationEventInit extends EventInit {
navigationReason?: string | null;
originHeight?: number;
originLeft?: number;
originTop?: number;
originWidth?: number;
}
interface FocusNavigationOrigin {
originHeight?: number;
originLeft?: number;
originTop?: number;
originWidth?: number;
}
interface GamepadEventInit extends EventInit {
gamepad?: Gamepad | null;
}
interface GetNotificationOptions {
tag?: string;
}
interface HashChangeEventInit extends EventInit {
newURL?: string | null;
oldURL?: string | null;
}
interface IDBIndexParameters {
multiEntry?: boolean;
unique?: boolean;
}
interface IDBObjectStoreParameters {
autoIncrement?: boolean;
keyPath?: IDBKeyPath | null;
}
interface IntersectionObserverEntryInit {
isIntersecting: boolean;
boundingClientRect: DOMRectInit;
intersectionRect: DOMRectInit;
rootBounds: DOMRectInit;
target: Element;
time: number;
}
interface IntersectionObserverInit {
root?: Element | null;
rootMargin?: string;
threshold?: number | number[];
}
interface KeyAlgorithm {
name?: string;
}
interface KeyboardEventInit extends EventModifierInit {
code?: string;
key?: string;
location?: number;
repeat?: boolean;
}
interface LongRange {
max?: number;
min?: number;
}
interface MediaEncryptedEventInit extends EventInit {
initData?: ArrayBuffer | null;
initDataType?: string;
}
interface MediaKeyMessageEventInit extends EventInit {
message?: ArrayBuffer | null;
messageType?: MediaKeyMessageType;
}
interface MediaKeySystemConfiguration {
audioCapabilities?: MediaKeySystemMediaCapability[];
distinctiveIdentifier?: MediaKeysRequirement;
initDataTypes?: string[];
persistentState?: MediaKeysRequirement;
videoCapabilities?: MediaKeySystemMediaCapability[];
}
interface MediaKeySystemMediaCapability {
contentType?: string;
robustness?: string;
}
interface MediaStreamConstraints {
audio?: boolean | MediaTrackConstraints;
video?: boolean | MediaTrackConstraints;
}
interface MediaStreamErrorEventInit extends EventInit {
error?: MediaStreamError | null;
}
interface MediaStreamEventInit extends EventInit {
stream?: MediaStream;
}
interface MediaStreamTrackEventInit extends EventInit {
track?: MediaStreamTrack | null;
}
interface MediaTrackCapabilities {
aspectRatio?: number | DoubleRange;
deviceId?: string;
echoCancellation?: boolean[];
facingMode?: string;
frameRate?: number | DoubleRange;
groupId?: string;
height?: number | LongRange;
sampleRate?: number | LongRange;
sampleSize?: number | LongRange;
volume?: number | DoubleRange;
width?: number | LongRange;
}
interface MediaTrackConstraints extends MediaTrackConstraintSet {
advanced?: MediaTrackConstraintSet[];
}
interface MediaTrackConstraintSet {
aspectRatio?: number | ConstrainDoubleRange;
deviceId?: string | string[] | ConstrainDOMStringParameters;
echoCancelation?: boolean | ConstrainBooleanParameters;
facingMode?: string | string[] | ConstrainDOMStringParameters;
frameRate?: number | ConstrainDoubleRange;
groupId?: string | string[] | ConstrainDOMStringParameters;
height?: number | ConstrainLongRange;
sampleRate?: number | ConstrainLongRange;
sampleSize?: number | ConstrainLongRange;
volume?: number | ConstrainDoubleRange;
width?: number | ConstrainLongRange;
}
interface MediaTrackSettings {
aspectRatio?: number;
deviceId?: string;
echoCancellation?: boolean;
facingMode?: string;
frameRate?: number;
groupId?: string;
height?: number;
sampleRate?: number;
sampleSize?: number;
volume?: number;
width?: number;
}
interface MediaTrackSupportedConstraints {
aspectRatio?: boolean;
deviceId?: boolean;
echoCancellation?: boolean;
facingMode?: boolean;
frameRate?: boolean;
groupId?: boolean;
height?: boolean;
sampleRate?: boolean;
sampleSize?: boolean;
volume?: boolean;
width?: boolean;
}
interface MessageEventInit extends EventInit {
lastEventId?: string;
channel?: string;
data?: any;
origin?: string;
ports?: MessagePort[];
source?: Window;
}
interface MouseEventInit extends EventModifierInit {
button?: number;
buttons?: number;
clientX?: number;
clientY?: number;
relatedTarget?: EventTarget | null;
screenX?: number;
screenY?: number;
}
interface MSAccountInfo {
accountImageUri?: string;
accountName?: string;
rpDisplayName: string;
userDisplayName: string;
userId?: string;
}
interface MSAudioLocalClientEvent extends MSLocalClientEventBase {
cpuInsufficientEventRatio?: number;
deviceCaptureNotFunctioningEventRatio?: number;
deviceClippingEventRatio?: number;
deviceEchoEventRatio?: number;
deviceGlitchesEventRatio?: number;
deviceHalfDuplexAECEventRatio?: number;
deviceHowlingEventCount?: number;
deviceLowSNREventRatio?: number;
deviceLowSpeechLevelEventRatio?: number;
deviceMultipleEndpointsEventCount?: number;
deviceNearEndToEchoRatioEventRatio?: number;
deviceRenderMuteEventRatio?: number;
deviceRenderNotFunctioningEventRatio?: number;
deviceRenderZeroVolumeEventRatio?: number;
networkDelayEventRatio?: number;
networkSendQualityEventRatio?: number;
}
interface MSAudioRecvPayload extends MSPayloadBase {
burstLossLength1?: number;
burstLossLength2?: number;
burstLossLength3?: number;
burstLossLength4?: number;
burstLossLength5?: number;
burstLossLength6?: number;
burstLossLength7?: number;
burstLossLength8OrHigher?: number;
fecRecvDistance1?: number;
fecRecvDistance2?: number;
fecRecvDistance3?: number;
packetReorderDepthAvg?: number;
packetReorderDepthMax?: number;
packetReorderRatio?: number;
ratioCompressedSamplesAvg?: number;
ratioConcealedSamplesAvg?: number;
ratioStretchedSamplesAvg?: number;
samplingRate?: number;
signal?: MSAudioRecvSignal;
}
interface MSAudioRecvSignal {
initialSignalLevelRMS?: number;
recvNoiseLevelCh1?: number;
recvSignalLevelCh1?: number;
renderLoopbackSignalLevel?: number;
renderNoiseLevel?: number;
renderSignalLevel?: number;
}
interface MSAudioSendPayload extends MSPayloadBase {
audioFECUsed?: boolean;
samplingRate?: number;
sendMutePercent?: number;
signal?: MSAudioSendSignal;
}
interface MSAudioSendSignal {
noiseLevel?: number;
sendNoiseLevelCh1?: number;
sendSignalLevelCh1?: number;
}
interface MSConnectivity {
iceType?: MSIceType;
iceWarningFlags?: MSIceWarningFlags;
relayAddress?: MSRelayAddress;
}
interface MSCredentialFilter {
accept?: MSCredentialSpec[];
}
interface MSCredentialParameters {
type?: MSCredentialType;
}
interface MSCredentialSpec {
id?: string;
type: MSCredentialType;
}
interface MSDelay {
roundTrip?: number;
roundTripMax?: number;
}
interface MSDescription extends RTCStats {
connectivity?: MSConnectivity;
deviceDevName?: string;
localAddr?: MSIPAddressInfo;
networkconnectivity?: MSNetworkConnectivityInfo;
reflexiveLocalIPAddr?: MSIPAddressInfo;
remoteAddr?: MSIPAddressInfo;
transport?: RTCIceProtocol;
}
interface MSFIDOCredentialParameters extends MSCredentialParameters {
algorithm?: string | Algorithm;
authenticators?: AAGUID[];
}
interface MSIceWarningFlags {
allocationMessageIntegrityFailed?: boolean;
alternateServerReceived?: boolean;
connCheckMessageIntegrityFailed?: boolean;
connCheckOtherError?: boolean;
fipsAllocationFailure?: boolean;
multipleRelayServersAttempted?: boolean;
noRelayServersConfigured?: boolean;
portRangeExhausted?: boolean;
pseudoTLSFailure?: boolean;
tcpNatConnectivityFailed?: boolean;
tcpRelayConnectivityFailed?: boolean;
turnAuthUnknownUsernameError?: boolean;
turnTcpAllocateFailed?: boolean;
turnTcpSendFailed?: boolean;
turnTcpTimedOut?: boolean;
turnTurnTcpConnectivityFailed?: boolean;
turnUdpAllocateFailed?: boolean;
turnUdpSendFailed?: boolean;
udpLocalConnectivityFailed?: boolean;
udpNatConnectivityFailed?: boolean;
udpRelayConnectivityFailed?: boolean;
useCandidateChecksFailed?: boolean;
}
interface MSIPAddressInfo {
ipAddr?: string;
manufacturerMacAddrMask?: string;
port?: number;
}
interface MSJitter {
interArrival?: number;
interArrivalMax?: number;
interArrivalSD?: number;
}
interface MSLocalClientEventBase extends RTCStats {
networkBandwidthLowEventRatio?: number;
networkReceiveQualityEventRatio?: number;
}
interface MSNetwork extends RTCStats {
delay?: MSDelay;
jitter?: MSJitter;
packetLoss?: MSPacketLoss;
utilization?: MSUtilization;
}
interface MSNetworkConnectivityInfo {
linkspeed?: number;
networkConnectionDetails?: string;
vpn?: boolean;
}
interface MSNetworkInterfaceType {
interfaceTypeEthernet?: boolean;
interfaceTypePPP?: boolean;
interfaceTypeTunnel?: boolean;
interfaceTypeWireless?: boolean;
interfaceTypeWWAN?: boolean;
}
interface MSOutboundNetwork extends MSNetwork {
appliedBandwidthLimit?: number;
}
interface MSPacketLoss {
lossRate?: number;
lossRateMax?: number;
}
interface MSPayloadBase extends RTCStats {
payloadDescription?: string;
}
interface MSPortRange {
max?: number;
min?: number;
}
interface MSRelayAddress {
port?: number;
relayAddress?: string;
}
interface MSSignatureParameters {
userPrompt?: string;
}
interface MSTransportDiagnosticsStats extends RTCStats {
allocationTimeInMs?: number;
baseAddress?: string;
baseInterface?: MSNetworkInterfaceType;
iceRole?: RTCIceRole;
iceWarningFlags?: MSIceWarningFlags;
interfaces?: MSNetworkInterfaceType;
localAddress?: string;
localAddrType?: MSIceAddrType;
localInterface?: MSNetworkInterfaceType;
localMR?: string;
localMRTCPPort?: number;
localSite?: string;
msRtcEngineVersion?: string;
networkName?: string;
numConsentReqReceived?: number;
numConsentReqSent?: number;
numConsentRespReceived?: number;
numConsentRespSent?: number;
portRangeMax?: number;
portRangeMin?: number;
protocol?: RTCIceProtocol;
remoteAddress?: string;
remoteAddrType?: MSIceAddrType;
remoteMR?: string;
remoteMRTCPPort?: number;
remoteSite?: string;
rtpRtcpMux?: boolean;
stunVer?: number;
}
interface MSUtilization {
bandwidthEstimation?: number;
bandwidthEstimationAvg?: number;
bandwidthEstimationMax?: number;
bandwidthEstimationMin?: number;
bandwidthEstimationStdDev?: number;
packets?: number;
}
interface MSVideoPayload extends MSPayloadBase {
durationSeconds?: number;
resolution?: string;
videoBitRateAvg?: number;
videoBitRateMax?: number;
videoFrameRateAvg?: number;
videoPacketLossRate?: number;
}
interface MSVideoRecvPayload extends MSVideoPayload {
lowBitRateCallPercent?: number;
lowFrameRateCallPercent?: number;
recvBitRateAverage?: number;
recvBitRateMaximum?: number;
recvCodecType?: string;
recvFpsHarmonicAverage?: number;
recvFrameRateAverage?: number;
recvNumResSwitches?: number;
recvReorderBufferMaxSuccessfullyOrderedExtent?: number;
recvReorderBufferMaxSuccessfullyOrderedLateTime?: number;
recvReorderBufferPacketsDroppedDueToBufferExhaustion?: number;
recvReorderBufferPacketsDroppedDueToTimeout?: number;
recvReorderBufferReorderedPackets?: number;
recvResolutionHeight?: number;
recvResolutionWidth?: number;
recvVideoStreamsMax?: number;
recvVideoStreamsMin?: number;
recvVideoStreamsMode?: number;
reorderBufferTotalPackets?: number;
videoFrameLossRate?: number;
videoPostFECPLR?: number;
videoResolutions?: MSVideoResolutionDistribution;
}
interface MSVideoResolutionDistribution {
cifQuality?: number;
h1080Quality?: number;
h1440Quality?: number;
h2160Quality?: number;
h720Quality?: number;
vgaQuality?: number;
}
interface MSVideoSendPayload extends MSVideoPayload {
sendBitRateAverage?: number;
sendBitRateMaximum?: number;
sendFrameRateAverage?: number;
sendResolutionHeight?: number;
sendResolutionWidth?: number;
sendVideoStreamsMax?: number;
}
interface MsZoomToOptions {
animate?: string;
contentX?: number;
contentY?: number;
scaleFactor?: number;
viewportX?: string | null;
viewportY?: string | null;
}
interface MutationObserverInit {
attributeFilter?: string[];
attributeOldValue?: boolean;
attributes?: boolean;
characterData?: boolean;
characterDataOldValue?: boolean;
childList?: boolean;
subtree?: boolean;
}
interface NotificationOptions {
body?: string;
dir?: NotificationDirection;
icon?: string;
lang?: string;
tag?: string;
}
interface ObjectURLOptions {
oneTimeOnly?: boolean;
}
interface PaymentCurrencyAmount {
currency: string;
currencySystem?: string;
value: string;
}
interface PaymentDetails {
displayItems?: PaymentItem[];
error?: string;
modifiers?: PaymentDetailsModifier[];
shippingOptions?: PaymentShippingOption[];
total?: PaymentItem;
}
interface PaymentDetailsModifier {
additionalDisplayItems?: PaymentItem[];
data?: any;
supportedMethods: string[];
total?: PaymentItem;
}
interface PaymentItem {
amount: PaymentCurrencyAmount;
label: string;
pending?: boolean;
}
interface PaymentMethodData {
data?: any;
supportedMethods: string[];
}
interface PaymentOptions {
requestPayerEmail?: boolean;
requestPayerName?: boolean;
requestPayerPhone?: boolean;
requestShipping?: boolean;
shippingType?: string;
}
interface PaymentRequestUpdateEventInit extends EventInit {
}
interface PaymentShippingOption {
amount: PaymentCurrencyAmount;
id: string;
label: string;
selected?: boolean;
}
interface PeriodicWaveConstraints {
disableNormalization?: boolean;
}
interface PointerEventInit extends MouseEventInit {
height?: number;
isPrimary?: boolean;
pointerId?: number;
pointerType?: string;
pressure?: number;
tiltX?: number;
tiltY?: number;
width?: number;
}
interface PopStateEventInit extends EventInit {
state?: any;
}
interface PositionOptions {
enableHighAccuracy?: boolean;
maximumAge?: number;
timeout?: number;
}
interface ProgressEventInit extends EventInit {
lengthComputable?: boolean;
loaded?: number;
total?: number;
}
interface PushSubscriptionOptionsInit {
applicationServerKey?: any;
userVisibleOnly?: boolean;
}
interface RegistrationOptions {
scope?: string;
}
interface RequestInit {
body?: any;
cache?: RequestCache;
credentials?: RequestCredentials;
headers?: Headers | string[][];
integrity?: string;
keepalive?: boolean;
method?: string;
mode?: RequestMode;
redirect?: RequestRedirect;
referrer?: string;
referrerPolicy?: ReferrerPolicy;
window?: any;
}
interface ResponseInit {
headers?: Headers | string[][];
status?: number;
statusText?: string;
}
interface RTCConfiguration {
bundlePolicy?: RTCBundlePolicy;
iceServers?: RTCIceServer[];
iceTransportPolicy?: RTCIceTransportPolicy;
peerIdentity?: string;
}
interface RTCDtlsFingerprint {
algorithm?: string;
value?: string;
}
interface RTCDtlsParameters {
fingerprints?: RTCDtlsFingerprint[];
role?: RTCDtlsRole;
}
interface RTCDTMFToneChangeEventInit extends EventInit {
tone?: string;
}
interface RTCIceCandidateAttributes extends RTCStats {
addressSourceUrl?: string;
candidateType?: RTCStatsIceCandidateType;
ipAddress?: string;
portNumber?: number;
priority?: number;
transport?: string;
}
interface RTCIceCandidateComplete {
}
interface RTCIceCandidateDictionary {
foundation?: string;
ip?: string;
msMTurnSessionId?: string;
port?: number;
priority?: number;
protocol?: RTCIceProtocol;
relatedAddress?: string;
relatedPort?: number;
tcpType?: RTCIceTcpCandidateType;
type?: RTCIceCandidateType;
}
interface RTCIceCandidateInit {
candidate?: string;
sdpMid?: string;
sdpMLineIndex?: number;
}
interface RTCIceCandidatePair {
local?: RTCIceCandidateDictionary;
remote?: RTCIceCandidateDictionary;
}
interface RTCIceCandidatePairStats extends RTCStats {
availableIncomingBitrate?: number;
availableOutgoingBitrate?: number;
bytesReceived?: number;
bytesSent?: number;
localCandidateId?: string;
nominated?: boolean;
priority?: number;
readable?: boolean;
remoteCandidateId?: string;
roundTripTime?: number;
state?: RTCStatsIceCandidatePairState;
transportId?: string;
writable?: boolean;
}
interface RTCIceGatherOptions {
gatherPolicy?: RTCIceGatherPolicy;
iceservers?: RTCIceServer[];
portRange?: MSPortRange;
}
interface RTCIceParameters {
iceLite?: boolean | null;
password?: string;
usernameFragment?: string;
}
interface RTCIceServer {
credential?: string | null;
urls?: any;
username?: string | null;
}
interface RTCInboundRTPStreamStats extends RTCRTPStreamStats {
bytesReceived?: number;
fractionLost?: number;
jitter?: number;
packetsLost?: number;
packetsReceived?: number;
}
interface RTCMediaStreamTrackStats extends RTCStats {
audioLevel?: number;
echoReturnLoss?: number;
echoReturnLossEnhancement?: number;
frameHeight?: number;
framesCorrupted?: number;
framesDecoded?: number;
framesDropped?: number;
framesPerSecond?: number;
framesReceived?: number;
framesSent?: number;
frameWidth?: number;
remoteSource?: boolean;
ssrcIds?: string[];
trackIdentifier?: string;
}
interface RTCOfferOptions {
iceRestart?: boolean;
offerToReceiveAudio?: number;
offerToReceiveVideo?: number;
voiceActivityDetection?: boolean;
}
interface RTCOutboundRTPStreamStats extends RTCRTPStreamStats {
bytesSent?: number;
packetsSent?: number;
roundTripTime?: number;
targetBitrate?: number;
}
interface RTCPeerConnectionIceEventInit extends EventInit {
candidate?: RTCIceCandidate;
}
interface RTCRtcpFeedback {
parameter?: string;
type?: string;
}
interface RTCRtcpParameters {
cname?: string;
mux?: boolean;
reducedSize?: boolean;
ssrc?: number;
}
interface RTCRtpCapabilities {
codecs?: RTCRtpCodecCapability[];
fecMechanisms?: string[];
headerExtensions?: RTCRtpHeaderExtension[];
}
interface RTCRtpCodecCapability {
clockRate?: number;
kind?: string;
maxptime?: number;
maxSpatialLayers?: number;
maxTemporalLayers?: number;
name?: string;
numChannels?: number;
options?: any;
parameters?: any;
preferredPayloadType?: number;
ptime?: number;
rtcpFeedback?: RTCRtcpFeedback[];
svcMultiStreamSupport?: boolean;
}
interface RTCRtpCodecParameters {
clockRate?: number;
maxptime?: number;
name?: string;
numChannels?: number;
parameters?: any;
payloadType?: any;
ptime?: number;
rtcpFeedback?: RTCRtcpFeedback[];
}
interface RTCRtpContributingSource {
audioLevel?: number;
csrc?: number;
timestamp?: number;
}
interface RTCRtpEncodingParameters {
active?: boolean;
codecPayloadType?: number;
dependencyEncodingIds?: string[];
encodingId?: string;
fec?: RTCRtpFecParameters;
framerateScale?: number;
maxBitrate?: number;
maxFramerate?: number;
minQuality?: number;
priority?: number;
resolutionScale?: number;
rtx?: RTCRtpRtxParameters;
ssrc?: number;
ssrcRange?: RTCSsrcRange;
}
interface RTCRtpFecParameters {
mechanism?: string;
ssrc?: number;
}
interface RTCRtpHeaderExtension {
kind?: string;
preferredEncrypt?: boolean;
preferredId?: number;
uri?: string;
}
interface RTCRtpHeaderExtensionParameters {
encrypt?: boolean;
id?: number;
uri?: string;
}
interface RTCRtpParameters {
codecs?: RTCRtpCodecParameters[];
degradationPreference?: RTCDegradationPreference;
encodings?: RTCRtpEncodingParameters[];
headerExtensions?: RTCRtpHeaderExtensionParameters[];
muxId?: string;
rtcp?: RTCRtcpParameters;
}
interface RTCRtpRtxParameters {
ssrc?: number;
}
interface RTCRTPStreamStats extends RTCStats {
associateStatsId?: string;
codecId?: string;
firCount?: number;
isRemote?: boolean;
mediaTrackId?: string;
nackCount?: number;
pliCount?: number;
sliCount?: number;
ssrc?: string;
transportId?: string;
}
interface RTCRtpUnhandled {
muxId?: string;
payloadType?: number;
ssrc?: number;
}
interface RTCSessionDescriptionInit {
sdp?: string;
type?: RTCSdpType;
}
interface RTCSrtpKeyParam {
keyMethod?: string;
keySalt?: string;
lifetime?: string;
mkiLength?: number;
mkiValue?: number;
}
interface RTCSrtpSdesParameters {
cryptoSuite?: string;
keyParams?: RTCSrtpKeyParam[];
sessionParams?: string[];
tag?: number;
}
interface RTCSsrcRange {
max?: number;
min?: number;
}
interface RTCStats {
id?: string;
msType?: MSStatsType;
timestamp?: number;
type?: RTCStatsType;
}
interface RTCStatsReport {
}
interface RTCTransportStats extends RTCStats {
activeConnection?: boolean;
bytesReceived?: number;
bytesSent?: number;
localCertificateId?: string;
remoteCertificateId?: string;
rtcpTransportStatsId?: string;
selectedCandidatePairId?: string;
}
interface ScopedCredentialDescriptor {
id: any;
transports?: Transport[];
type: ScopedCredentialType;
}
interface ScopedCredentialOptions {
excludeList?: ScopedCredentialDescriptor[];
extensions?: WebAuthnExtensions;
rpId?: USVString;
timeoutSeconds?: number;
}
interface ScopedCredentialParameters {
algorithm: string | Algorithm;
type: ScopedCredentialType;
}
interface ServiceWorkerMessageEventInit extends EventInit {
data?: any;
lastEventId?: string;
origin?: string;
ports?: MessagePort[] | null;
source?: ServiceWorker | MessagePort | null;
}
interface SpeechSynthesisEventInit extends EventInit {
charIndex?: number;
elapsedTime?: number;
name?: string;
utterance?: SpeechSynthesisUtterance | null;
}
interface StoreExceptionsInformation extends ExceptionInformation {
detailURI?: string | null;
explanationString?: string | null;
siteName?: string | null;
}
interface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {
arrayOfDomainStrings?: string[];
}
interface TrackEventInit extends EventInit {
track?: VideoTrack | AudioTrack | TextTrack | null;
}
interface TransitionEventInit extends EventInit {
elapsedTime?: number;
propertyName?: string;
}
interface UIEventInit extends EventInit {
detail?: number;
view?: Window | null;
}
interface WebAuthnExtensions {
}
interface WebGLContextAttributes {
failIfMajorPerformanceCaveat?: boolean;
alpha?: boolean;
antialias?: boolean;
depth?: boolean;
premultipliedAlpha?: boolean;
preserveDrawingBuffer?: boolean;
stencil?: boolean;
}
interface WebGLContextEventInit extends EventInit {
statusMessage?: string;
}
interface WheelEventInit extends MouseEventInit {
deltaMode?: number;
deltaX?: number;
deltaY?: number;
deltaZ?: number;
}
interface EventListener {
(evt: Event): void;
}
interface WebKitEntriesCallback {
(evt: Event): void;
}
interface WebKitErrorCallback {
(evt: Event): void;
}
interface WebKitFileCallback {
(evt: Event): void;
}
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 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 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(typeArg: string, eventInitDict?: AnimationEventInit): AnimationEvent;
};
interface ApplicationCacheEventMap {
"cached": Event;
"checking": Event;
"downloading": Event;
"error": Event;
"noupdate": Event;
"obsolete": Event;
"progress": ProgressEvent;
"updateready": Event;
}
interface ApplicationCache extends EventTarget {
oncached: (this: ApplicationCache, ev: Event) => any;
onchecking: (this: ApplicationCache, ev: Event) => any;
ondownloading: (this: ApplicationCache, ev: Event) => any;
onerror: (this: ApplicationCache, ev: Event) => any;
onnoupdate: (this: ApplicationCache, ev: Event) => any;
onobsolete: (this: ApplicationCache, ev: Event) => any;
onprogress: (this: ApplicationCache, ev: ProgressEvent) => any;
onupdateready: (this: ApplicationCache, 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<K extends keyof ApplicationCacheEventMap>(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof ApplicationCacheEventMap>(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(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 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 AudioBufferSourceNodeEventMap {
"ended": MediaStreamErrorEvent;
}
interface AudioBufferSourceNode extends AudioNode {
buffer: AudioBuffer | null;
readonly detune: AudioParam;
loop: boolean;
loopEnd: number;
loopStart: number;
onended: (this: AudioBufferSourceNode, ev: MediaStreamErrorEvent) => any;
readonly playbackRate: AudioParam;
start(when?: number, offset?: number, duration?: number): void;
stop(when?: number): void;
addEventListener<K extends keyof AudioBufferSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioBufferSourceNodeEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof AudioBufferSourceNodeEventMap>(type: K, listener: (this: AudioBufferSourceNode, ev: AudioBufferSourceNodeEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var AudioBufferSourceNode: {
prototype: AudioBufferSourceNode;
new(): AudioBufferSourceNode;
};
interface AudioContextEventMap {
"statechange": Event;
}
interface AudioContextBase extends EventTarget {
readonly currentTime: number;
readonly destination: AudioDestinationNode;
readonly listener: AudioListener;
onstatechange: (this: AudioContext, ev: Event) => any;
readonly sampleRate: number;
readonly state: AudioContextState;
close(): Promise<void>;
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;
createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode;
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): Promise<AudioBuffer>;
resume(): Promise<void>;
addEventListener<K extends keyof AudioContextEventMap>(type: K, listener: (this: AudioContext, ev: AudioContextEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof AudioContextEventMap>(type: K, listener: (this: AudioContext, ev: AudioContextEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
interface AudioContext extends AudioContextBase {
suspend(): Promise<void>;
}
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: ChannelCountMode;
channelInterpretation: ChannelInterpretation;
readonly context: AudioContext;
readonly numberOfInputs: number;
readonly numberOfOutputs: number;
connect(destination: AudioNode, output?: number, input?: number): AudioNode;
connect(destination: AudioParam, output?: 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): AudioParam;
exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;
linearRampToValueAtTime(value: number, endTime: number): AudioParam;
setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;
setValueAtTime(value: number, startTime: number): AudioParam;
setValueCurveAtTime(values: Float32Array, startTime: number, duration: number): AudioParam;
}
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 AudioTrackListEventMap {
"addtrack": TrackEvent;
"change": Event;
"removetrack": TrackEvent;
}
interface AudioTrackList extends EventTarget {
readonly length: number;
onaddtrack: (this: AudioTrackList, ev: TrackEvent) => any;
onchange: (this: AudioTrackList, ev: Event) => any;
onremovetrack: (this: AudioTrackList, ev: TrackEvent) => any;
getTrackById(id: string): AudioTrack | null;
item(index: number): AudioTrack;
addEventListener<K extends keyof AudioTrackListEventMap>(type: K, listener: (this: AudioTrackList, ev: AudioTrackListEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof AudioTrackListEventMap>(type: K, listener: (this: AudioTrackList, ev: AudioTrackListEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(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 detune: AudioParam;
readonly frequency: AudioParam;
readonly gain: AudioParam;
readonly Q: AudioParam;
type: BiquadFilterType;
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 Cache {
add(request: RequestInfo): Promise<void>;
addAll(requests: RequestInfo[]): Promise<void>;
delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;
keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<Request[]>;
match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response>;
matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<Response[]>;
put(request: RequestInfo, response: Response): Promise<void>;
}
declare var Cache: {
prototype: Cache;
new(): Cache;
};
interface CacheStorage {
delete(cacheName: string): Promise<boolean>;
has(cacheName: string): Promise<boolean>;
keys(): Promise<string[]>;
match(request: RequestInfo, options?: CacheQueryOptions): Promise<any>;
open(cacheName: string): Promise<Cache>;
}
declare var CacheStorage: {
prototype: CacheStorage;
new(): CacheStorage;
};
interface CanvasGradient {
addColorStop(offset: number, color: string): void;
}
declare var CanvasGradient: {
prototype: CanvasGradient;
new(): CanvasGradient;
};
interface CanvasPattern {
setTransform(matrix: SVGMatrix): void;
}
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;
imageSmoothingEnabled: boolean;
lineCap: string;
lineDashOffset: number;
lineJoin: string;
lineWidth: number;
miterLimit: number;
msFillRule: CanvasFillRule;
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?: CanvasFillRule): 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;
drawFocusIfNeeded(element: Element): void;
drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number): void;
drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, dstX: number, dstY: number, dstW: number, dstH: number): void;
drawImage(image: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | ImageBitmap, srcX: number, srcY: number, srcW: number, srcH: number, dstX: number, dstY: number, dstW: number, dstH: number): void;
fill(fillRule?: CanvasFillRule): 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?: CanvasFillRule): 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(path?: Path2D): 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 CDATASection extends Text {
}
declare var CDATASection: {
prototype: CDATASection;
new(): CDATASection;
};
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;
}
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(typeArg: string, eventInitDict?: CloseEventInit): CloseEvent;
};
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?: any, ...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, ...optionalParams: any[]): void;
groupCollapsed(groupTitle?: string, ...optionalParams: any[]): 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 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 KEYFRAME_RULE: number;
readonly KEYFRAMES_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 KEYFRAME_RULE: number;
readonly KEYFRAMES_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;
alignmentBaseline: string | null;
alignSelf: 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;
columns: string | null;
columnSpan: string | null;
columnWidth: any;
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;
layoutGrid: string | null;
layoutGridChar: string | null;
layoutGridLine: string | null;
layoutGridMode: string | null;
layoutGridType: string | null;
left: string | null;
readonly length: number;
letterSpacing: string | null;
lightingColor: string | null;
lineBreak: 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;
msContentZooming: string | null;
msContentZoomLimit: string | null;
msContentZoomLimitMax: any;
msContentZoomLimitMin: any;
msContentZoomSnap: string | null;
msContentZoomSnapPoints: string | null;
msContentZoomSnapType: string | null;
msFlowFrom: string | null;
msFlowInto: string | null;
msFontFeatureSettings: string | null;
msGridColumn: any;
msGridColumnAlign: string | null;
msGridColumns: string | null;
msGridColumnSpan: any;
msGridRow: any;
msGridRowAlign: string | null;
msGridRows: string | null;
msGridRowSpan: any;
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;
outlineOffset: 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;
rotate: string | null;
rubyAlign: string | null;
rubyOverhang: string | null;
rubyPosition: string | null;
scale: 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;
translate: 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;
webkitColumns: string | null;
webkitColumnSpan: string | null;
webkitColumnWidth: any;
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;
webkitTextStroke: string | null;
webkitTextStrokeColor: string | null;
webkitTextStrokeWidth: string | null;
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;
resize: string | null;
userSelect: 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 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 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 DataCue extends TextTrackCue {
data: ArrayBuffer;
addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: DataCue, ev: TextTrackCueEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var DataCue: {
prototype: DataCue;
new(): DataCue;
};
interface DataTransfer {
dropEffect: string;
effectAllowed: string;
readonly files: FileList;
readonly items: DataTransferItemList;
readonly types: string[];
clearData(format?: string): boolean;
getData(format: string): string;
setData(format: string, data: string): boolean;
setDragImage(image: Element, x: number, y: number): void;
}
declare var DataTransfer: {
prototype: DataTransfer;
new(): DataTransfer;
};
interface DataTransferItem {
readonly kind: string;
readonly type: string;
getAsFile(): File | null;
getAsString(_callback: FunctionStringCallback | null): void;
webkitGetAsEntry(): any;
}
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: MSWebViewPermissionType;
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(typeArg: 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(typeArg: string, eventInitDict?: DeviceMotionEventInit): 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(typeArg: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
};
interface DeviceRotationRate {
readonly alpha: number | null;
readonly beta: number | null;
readonly gamma: number | null;
}
declare var DeviceRotationRate: {
prototype: DeviceRotationRate;
new(): DeviceRotationRate;
};
interface DocumentEventMap extends GlobalEventHandlersEventMap {
"abort": UIEvent;
"activate": UIEvent;
"beforeactivate": UIEvent;
"beforedeactivate": UIEvent;
"blur": FocusEvent;
"canplay": Event;
"canplaythrough": Event;
"change": Event;
"click": MouseEvent;
"contextmenu": PointerEvent;
"dblclick": MouseEvent;
"deactivate": UIEvent;
"drag": DragEvent;
"dragend": DragEvent;
"dragenter": DragEvent;
"dragleave": DragEvent;
"dragover": DragEvent;
"dragstart": DragEvent;
"drop": DragEvent;
"durationchange": Event;
"emptied": Event;
"ended": MediaStreamErrorEvent;
"error": ErrorEvent;
"focus": FocusEvent;
"fullscreenchange": Event;
"fullscreenerror": Event;
"input": Event;
"invalid": Event;
"keydown": KeyboardEvent;
"keypress": KeyboardEvent;
"keyup": KeyboardEvent;
"load": Event;
"loadeddata": Event;
"loadedmetadata": Event;
"loadstart": Event;
"mousedown": MouseEvent;
"mousemove": MouseEvent;
"mouseout": MouseEvent;
"mouseover": MouseEvent;
"mouseup": MouseEvent;
"mousewheel": WheelEvent;
"MSContentZoom": UIEvent;
"MSGestureChange": MSGestureEvent;
"MSGestureDoubleTap": MSGestureEvent;
"MSGestureEnd": MSGestureEvent;
"MSGestureHold": MSGestureEvent;
"MSGestureStart": MSGestureEvent;
"MSGestureTap": MSGestureEvent;
"MSInertiaStart": MSGestureEvent;
"MSManipulationStateChanged": MSManipulationEvent;
"MSPointerCancel": MSPointerEvent;
"MSPointerDown": MSPointerEvent;
"MSPointerEnter": MSPointerEvent;
"MSPointerLeave": MSPointerEvent;
"MSPointerMove": MSPointerEvent;
"MSPointerOut": MSPointerEvent;
"MSPointerOver": MSPointerEvent;
"MSPointerUp": MSPointerEvent;
"mssitemodejumplistitemremoved": MSSiteModeEvent;
"msthumbnailclick": MSSiteModeEvent;
"pause": Event;
"play": Event;
"playing": Event;
"pointerlockchange": Event;
"pointerlockerror": Event;
"progress": ProgressEvent;
"ratechange": Event;
"readystatechange": Event;
"reset": Event;
"scroll": UIEvent;
"seeked": Event;
"seeking": Event;
"select": UIEvent;
"selectionchange": Event;
"selectstart": Event;
"stalled": Event;
"stop": Event;
"submit": Event;
"suspend": Event;
"timeupdate": Event;
"touchcancel": TouchEvent;
"touchend": TouchEvent;
"touchmove": TouchEvent;
"touchstart": TouchEvent;
"volumechange": Event;
"waiting": Event;
"webkitfullscreenchange": Event;
"webkitfullscreenerror": Event;
}
interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEvent, ParentNode, DocumentOrShadowRoot {
/**
* 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<HTMLAnchorElement>;
/**
* Retrieves a collection of all applet objects in the document.
*/
applets: HTMLCollectionOf<HTMLAppletElement>;
/**
* 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 | null;
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<HTMLEmbedElement>;
/**
* 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<HTMLFormElement>;
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<HTMLImageElement>;
/**
* 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<HTMLAnchorElement | HTMLAreaElement>;
/**
* Contains information about the current URL.
*/
readonly location: Location;
msCapsLockWarningOff: boolean;
msCSSOMElementFloatMetrics: boolean;
/**
* Fires when the user aborts the download.
* @param ev The event.
*/
onabort: (this: Document, ev: UIEvent) => any;
/**
* Fires when the object is set as the active element.
* @param ev The event.
*/
onactivate: (this: Document, ev: UIEvent) => any;
/**
* Fires immediately before the object is set as the active element.
* @param ev The event.
*/
onbeforeactivate: (this: Document, 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: Document, ev: UIEvent) => any;
/**
* Fires when the object loses the input focus.
* @param ev The focus event.
*/
onblur: (this: Document, ev: FocusEvent) => any;
/**
* Occurs when playback is possible, but would require further buffering.
* @param ev The event.
*/
oncanplay: (this: Document, ev: Event) => any;
oncanplaythrough: (this: Document, ev: Event) => any;
/**
* Fires when the contents of the object or selection have changed.
* @param ev The event.
*/
onchange: (this: Document, ev: Event) => any;
/**
* Fires when the user clicks the left mouse button on the object
* @param ev The mouse event.
*/
onclick: (this: Document, 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: Document, ev: PointerEvent) => any;
/**
* Fires when the user double-clicks the object.
* @param ev The mouse event.
*/
ondblclick: (this: Document, 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: Document, ev: UIEvent) => any;
/**
* Fires on the source object continuously during a drag operation.
* @param ev The event.
*/
ondrag: (this: Document, 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: Document, 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: Document, 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: Document, 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: Document, 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: Document, ev: DragEvent) => any;
ondrop: (this: Document, ev: DragEvent) => any;
/**
* Occurs when the duration attribute is updated.
* @param ev The event.
*/
ondurationchange: (this: Document, ev: Event) => any;
/**
* Occurs when the media element is reset to its initial state.
* @param ev The event.
*/
onemptied: (this: Document, ev: Event) => any;
/**
* Occurs when the end of playback is reached.
* @param ev The event
*/
onended: (this: Document, ev: MediaStreamErrorEvent) => any;
/**
* Fires when an error occurs during object loading.
* @param ev The event.
*/
onerror: (this: Document, ev: ErrorEvent) => any;
/**
* Fires when the object receives focus.
* @param ev The event.
*/
onfocus: (this: Document, ev: FocusEvent) => any;
onfullscreenchange: (this: Document, ev: Event) => any;
onfullscreenerror: (this: Document, ev: Event) => any;
oninput: (this: Document, ev: Event) => any;
oninvalid: (this: Document, ev: Event) => any;
/**
* Fires when the user presses a key.
* @param ev The keyboard event
*/
onkeydown: (this: Document, ev: KeyboardEvent) => any;
/**
* Fires when the user presses an alphanumeric key.
* @param ev The event.
*/
onkeypress: (this: Document, ev: KeyboardEvent) => any;
/**
* Fires when the user releases a key.
* @param ev The keyboard event
*/
onkeyup: (this: Document, ev: KeyboardEvent) => any;
/**
* Fires immediately after the browser loads the object.
* @param ev The event.
*/
onload: (this: Document, ev: Event) => any;
/**
* Occurs when media data is loaded at the current playback position.
* @param ev The event.
*/
onloadeddata: (this: Document, ev: Event) => any;
/**
* Occurs when the duration and dimensions of the media have been determined.
* @param ev The event.
*/
onloadedmetadata: (this: Document, ev: Event) => any;
/**
* Occurs when Internet Explorer begins looking for media data.
* @param ev The event.
*/
onloadstart: (this: Document, ev: Event) => any;
/**
* Fires when the user clicks the object with either mouse button.
* @param ev The mouse event.
*/
onmousedown: (this: Document, ev: MouseEvent) => any;
/**
* Fires when the user moves the mouse over the object.
* @param ev The mouse event.
*/
onmousemove: (this: Document, ev: MouseEvent) => any;
/**
* Fires when the user moves the mouse pointer outside the boundaries of the object.
* @param ev The mouse event.
*/
onmouseout: (this: Document, ev: MouseEvent) => any;
/**
* Fires when the user moves the mouse pointer into the object.
* @param ev The mouse event.
*/
onmouseover: (this: Document, 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: Document, ev: MouseEvent) => any;
/**
* Fires when the wheel button is rotated.
* @param ev The mouse event
*/
onmousewheel: (this: Document, ev: WheelEvent) => any;
onmscontentzoom: (this: Document, ev: UIEvent) => any;
onmsgesturechange: (this: Document, ev: MSGestureEvent) => any;
onmsgesturedoubletap: (this: Document, ev: MSGestureEvent) => any;
onmsgestureend: (this: Document, ev: MSGestureEvent) => any;
onmsgesturehold: (this: Document, ev: MSGestureEvent) => any;
onmsgesturestart: (this: Document, ev: MSGestureEvent) => any;
onmsgesturetap: (this: Document, ev: MSGestureEvent) => any;
onmsinertiastart: (this: Document, ev: MSGestureEvent) => any;
onmsmanipulationstatechanged: (this: Document, ev: MSManipulationEvent) => any;
onmspointercancel: (this: Document, ev: MSPointerEvent) => any;
onmspointerdown: (this: Document, ev: MSPointerEvent) => any;
onmspointerenter: (this: Document, ev: MSPointerEvent) => any;
onmspointerleave: (this: Document, ev: MSPointerEvent) => any;
onmspointermove: (this: Document, ev: MSPointerEvent) => any;
onmspointerout: (this: Document, ev: MSPointerEvent) => any;
onmspointerover: (this: Document, ev: MSPointerEvent) => any;
onmspointerup: (this: Document, 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: Document, 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: Document, ev: MSSiteModeEvent) => any;
/**
* Occurs when playback is paused.
* @param ev The event.
*/
onpause: (this: Document, ev: Event) => any;
/**
* Occurs when the play method is requested.
* @param ev The event.
*/
onplay: (this: Document, ev: Event) => any;
/**
* Occurs when the audio or video has started playing.
* @param ev The event.
*/
onplaying: (this: Document, ev: Event) => any;
onpointerlockchange: (this: Document, ev: Event) => any;
onpointerlockerror: (this: Document, ev: Event) => any;
/**
* Occurs to indicate progress while downloading media data.
* @param ev The event.
*/
onprogress: (this: Document, ev: ProgressEvent) => any;
/**
* Occurs when the playback rate is increased or decreased.
* @param ev The event.
*/
onratechange: (this: Document, ev: Event) => any;
/**
* Fires when the state of the object has changed.
* @param ev The event
*/
onreadystatechange: (this: Document, ev: Event) => any;
/**
* Fires when the user resets a form.
* @param ev The event.
*/
onreset: (this: Document, ev: Event) => any;
/**
* Fires when the user repositions the scroll box in the scroll bar on the object.
* @param ev The event.
*/
onscroll: (this: Document, ev: UIEvent) => any;
/**
* Occurs when the seek operation ends.
* @param ev The event.
*/
onseeked: (this: Document, ev: Event) => any;
/**
* Occurs when the current playback position is moved.
* @param ev The event.
*/
onseeking: (this: Document, ev: Event) => any;
/**
* Fires when the current selection changes.
* @param ev The event.
*/
onselect: (this: Document, ev: UIEvent) => any;
/**
* Fires when the selection state of a document changes.
* @param ev The event.
*/
onselectionchange: (this: Document, ev: Event) => any;
onselectstart: (this: Document, ev: Event) => any;
/**
* Occurs when the download has stopped.
* @param ev The event.
*/
onstalled: (this: Document, ev: Event) => any;
/**
* Fires when the user clicks the Stop button or leaves the Web page.
* @param ev The event.
*/
onstop: (this: Document, ev: Event) => any;
onsubmit: (this: Document, ev: Event) => any;
/**
* Occurs if the load operation has been intentionally halted.
* @param ev The event.
*/
onsuspend: (this: Document, ev: Event) => any;
/**
* Occurs to indicate the current playback position.
* @param ev The event.
*/
ontimeupdate: (this: Document, 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: Document, ev: Event) => any;
/**
* Occurs when playback stops because the next frame of a video resource is not available.
* @param ev The event.
*/
onwaiting: (this: Document, ev: Event) => any;
onwebkitfullscreenchange: (this: Document, ev: Event) => any;
onwebkitfullscreenerror: (this: Document, ev: Event) => any;
plugins: HTMLCollectionOf<HTMLEmbedElement>;
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<HTMLScriptElement>;
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;
/**
* 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;
readonly visibilityState: VisibilityState;
/**
* 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<T extends Node>(source: T): T;
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<K extends keyof HTMLElementTagNameMap>(tagName: K): HTMLElementTagNameMap[K];
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;
/**
* 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;
createNSResolver(nodeResolver: Node): XPathNSResolver;
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 | null, type: number, result: XPathResult | null): 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<Element>;
/**
* 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<HTMLElement>;
/**
* Retrieves a collection of objects based on the specified element name.
* @param name Specifies the name of an element.
*/
getElementsByTagName<K extends keyof ElementListTagNameMap>(tagname: K): ElementListTagNameMap[K];
getElementsByTagName(tagname: string): NodeListOf<Element>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;
/**
* 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<T extends Node>(importedNode: T, deep: boolean): T;
msElementsFromPoint(x: number, y: number): NodeListOf<Element>;
msElementsFromRect(left: number, top: number, width: number, height: number): NodeListOf<Element>;
/**
* 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<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var Document: {
prototype: Document;
new(): Document;
};
interface DocumentFragment extends Node, NodeSelector, ParentNode {
getElementById(elementId: string): HTMLElement | null;
}
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;
readonly systemId: string;
}
declare var DocumentType: {
prototype: DocumentType;
new(): DocumentType;
};
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 NO_DATA_ALLOWED_ERR: number;
readonly NO_MODIFICATION_ALLOWED_ERR: number;
readonly NOT_FOUND_ERR: number;
readonly NOT_SUPPORTED_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(message?: string, name?: string): 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 NO_DATA_ALLOWED_ERR: number;
readonly NO_MODIFICATION_ALLOWED_ERR: number;
readonly NOT_FOUND_ERR: number;
readonly NOT_SUPPORTED_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 | null): Document;
createDocumentType(qualifiedName: string, publicId: string, systemId: string): 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 | undefined;
}
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;
toggle(token: string, force?: boolean): boolean;
toString(): string;
[index: number]: string;
}
declare var DOMTokenList: {
prototype: DOMTokenList;
new(): DOMTokenList;
};
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(type: "drag" | "dragend" | "dragenter" | "dragexit" | "dragleave" | "dragover" | "dragstart" | "drop", dragEventInit?: { dataTransfer?: DataTransfer }): DragEvent;
};
interface DynamicsCompressorNode extends AudioNode {
readonly attack: AudioParam;
readonly knee: AudioParam;
readonly ratio: AudioParam;
readonly reduction: number;
readonly release: AudioParam;
readonly threshold: AudioParam;
}
declare var DynamicsCompressorNode: {
prototype: DynamicsCompressorNode;
new(): DynamicsCompressorNode;
};
interface ElementEventMap extends GlobalEventHandlersEventMap {
"ariarequest": Event;
"command": Event;
"gotpointercapture": PointerEvent;
"lostpointercapture": PointerEvent;
"MSGestureChange": MSGestureEvent;
"MSGestureDoubleTap": MSGestureEvent;
"MSGestureEnd": MSGestureEvent;
"MSGestureHold": MSGestureEvent;
"MSGestureStart": MSGestureEvent;
"MSGestureTap": MSGestureEvent;
"MSGotPointerCapture": MSPointerEvent;
"MSInertiaStart": MSGestureEvent;
"MSLostPointerCapture": MSPointerEvent;
"MSPointerCancel": MSPointerEvent;
"MSPointerDown": MSPointerEvent;
"MSPointerEnter": MSPointerEvent;
"MSPointerLeave": MSPointerEvent;
"MSPointerMove": MSPointerEvent;
"MSPointerOut": MSPointerEvent;
"MSPointerOver": MSPointerEvent;
"MSPointerUp": MSPointerEvent;
"touchcancel": TouchEvent;
"touchend": TouchEvent;
"touchmove": TouchEvent;
"touchstart": TouchEvent;
"webkitfullscreenchange": Event;
"webkitfullscreenerror": Event;
}
interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelector, ChildNode, ParentNode {
readonly classList: DOMTokenList;
className: string;
readonly clientHeight: number;
readonly clientLeft: number;
readonly clientTop: number;
readonly clientWidth: number;
id: string;
innerHTML: string;
msContentZoomFactor: number;
readonly msRegionOverflow: string;
onariarequest: (this: Element, ev: Event) => any;
oncommand: (this: Element, ev: Event) => any;
ongotpointercapture: (this: Element, ev: PointerEvent) => any;
onlostpointercapture: (this: Element, ev: PointerEvent) => any;
onmsgesturechange: (this: Element, ev: MSGestureEvent) => any;
onmsgesturedoubletap: (this: Element, ev: MSGestureEvent) => any;
onmsgestureend: (this: Element, ev: MSGestureEvent) => any;
onmsgesturehold: (this: Element, ev: MSGestureEvent) => any;
onmsgesturestart: (this: Element, ev: MSGestureEvent) => any;
onmsgesturetap: (this: Element, ev: MSGestureEvent) => any;
onmsgotpointercapture: (this: Element, ev: MSPointerEvent) => any;
onmsinertiastart: (this: Element, ev: MSGestureEvent) => any;
onmslostpointercapture: (this: Element, ev: MSPointerEvent) => any;
onmspointercancel: (this: Element, ev: MSPointerEvent) => any;
onmspointerdown: (this: Element, ev: MSPointerEvent) => any;
onmspointerenter: (this: Element, ev: MSPointerEvent) => any;
onmspointerleave: (this: Element, ev: MSPointerEvent) => any;
onmspointermove: (this: Element, ev: MSPointerEvent) => any;
onmspointerout: (this: Element, ev: MSPointerEvent) => any;
onmspointerover: (this: Element, ev: MSPointerEvent) => any;
onmspointerup: (this: Element, ev: MSPointerEvent) => any;
ontouchcancel: (ev: TouchEvent) => any;
ontouchend: (ev: TouchEvent) => any;
ontouchmove: (ev: TouchEvent) => any;
ontouchstart: (ev: TouchEvent) => any;
onwebkitfullscreenchange: (this: Element, ev: Event) => any;
onwebkitfullscreenerror: (this: Element, ev: Event) => any;
outerHTML: string;
readonly prefix: string | null;
readonly scrollHeight: number;
scrollLeft: number;
scrollTop: number;
readonly scrollWidth: number;
readonly tagName: string;
readonly assignedSlot: HTMLSlotElement | null;
slot: string;
readonly shadowRoot: ShadowRoot | null;
getAttribute(name: string): string | null;
getAttributeNode(name: string): Attr;
getAttributeNodeNS(namespaceURI: string, localName: string): Attr;
getAttributeNS(namespaceURI: string, localName: string): string;
getBoundingClientRect(): ClientRect;
getClientRects(): ClientRectList;
getElementsByTagName<K extends keyof ElementListTagNameMap>(name: K): ElementListTagNameMap[K];
getElementsByTagName(name: string): NodeListOf<Element>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;
hasAttribute(name: string): boolean;
hasAttributeNS(namespaceURI: string, localName: string): boolean;
msGetRegionContent(): MSRangeCollection;
msGetUntransformedBounds(): ClientRect;
msMatchesSelector(selectors: string): boolean;
msReleasePointerCapture(pointerId: number): void;
msSetPointerCapture(pointerId: number): void;
msZoomTo(args: MsZoomToOptions): void;
releasePointerCapture(pointerId: number): void;
removeAttribute(qualifiedName: string): void;
removeAttributeNode(oldAttr: Attr): Attr;
removeAttributeNS(namespaceURI: string, localName: string): void;
requestFullscreen(): void;
requestPointerLock(): void;
setAttribute(name: string, value: string): void;
setAttributeNode(newAttr: Attr): Attr;
setAttributeNodeNS(newAttr: Attr): Attr;
setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): void;
setPointerCapture(pointerId: number): void;
webkitMatchesSelector(selectors: string): boolean;
webkitRequestFullscreen(): void;
webkitRequestFullScreen(): void;
getElementsByClassName(classNames: string): NodeListOf<Element>;
matches(selector: string): boolean;
closest(selector: string): Element | null;
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
scroll(options?: ScrollToOptions): void;
scroll(x: number, y: number): void;
scrollTo(options?: ScrollToOptions): void;
scrollTo(x: number, y: number): void;
scrollBy(options?: ScrollToOptions): void;
scrollBy(x: number, y: number): void;
insertAdjacentElement(position: InsertPosition, insertedElement: Element): Element | null;
insertAdjacentHTML(where: InsertPosition, html: string): void;
insertAdjacentText(where: InsertPosition, text: string): void;
attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot;
addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var Element: {
prototype: Element;
new(): Element;
};
interface ErrorEvent extends Event {
readonly colno: number;
readonly error: any;
readonly filename: string;
readonly lineno: number;
readonly message: string;
initErrorEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, messageArg: string, filenameArg: string, linenoArg: number): void;
}
declare var ErrorEvent: {
prototype: ErrorEvent;
new(type: string, errorEventInitDict?: ErrorEventInit): ErrorEvent;
};
interface Event {
readonly bubbles: boolean;
readonly cancelable: boolean;
cancelBubble: boolean;
readonly currentTarget: EventTarget;
readonly defaultPrevented: boolean;
readonly eventPhase: number;
readonly isTrusted: boolean;
returnValue: boolean;
readonly srcElement: Element | null;
readonly target: EventTarget;
readonly timeStamp: number;
readonly type: string;
readonly scoped: boolean;
initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean): void;
preventDefault(): void;
stopImmediatePropagation(): void;
stopPropagation(): void;
deepPath(): EventTarget[];
readonly AT_TARGET: number;
readonly BUBBLING_PHASE: number;
readonly CAPTURING_PHASE: number;
}
declare var Event: {
prototype: Event;
new(typeArg: string, eventInitDict?: EventInit): Event;
readonly AT_TARGET: number;
readonly BUBBLING_PHASE: number;
readonly CAPTURING_PHASE: number;
};
interface EventTarget {
addEventListener(type: string, listener?: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
dispatchEvent(evt: Event): boolean;
removeEventListener(type: string, listener?: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
declare var EventTarget: {
prototype: EventTarget;
new(): EventTarget;
};
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 ExtensionScriptApis {
extensionIdToShortId(extensionId: string): number;
fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean): void;
genericFunction(routerAddress: any, parameters?: string, callbackId?: number): void;
genericSynchronousFunction(functionId: number, parameters?: string): string;
getExtensionId(): string;
registerGenericFunctionCallbackHandler(callbackHandler: any): void;
registerGenericPersistentCallbackHandler(callbackHandler: any): void;
}
declare var ExtensionScriptApis: {
prototype: ExtensionScriptApis;
new(): ExtensionScriptApis;
};
interface External {
}
declare var External: {
prototype: External;
new(): External;
};
interface File extends Blob {
readonly lastModifiedDate: any;
readonly name: string;
readonly webkitRelativePath: string;
}
declare var File: {
prototype: File;
new (parts: (ArrayBuffer | ArrayBufferView | Blob | string)[], filename: string, properties?: FilePropertyBag): File;
};
interface FileList {
readonly length: number;
item(index: number): File;
[index: number]: File;
}
declare var FileList: {
prototype: FileList;
new(): FileList;
};
interface FileReader extends EventTarget, MSBaseReader {
readonly error: DOMError;
readAsArrayBuffer(blob: Blob): void;
readAsBinaryString(blob: Blob): void;
readAsDataURL(blob: Blob): void;
readAsText(blob: Blob, encoding?: string): void;
addEventListener<K extends keyof MSBaseReaderEventMap>(type: K, listener: (this: FileReader, ev: MSBaseReaderEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MSBaseReaderEventMap>(type: K, listener: (this: FileReader, ev: MSBaseReaderEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var FileReader: {
prototype: FileReader;
new(): FileReader;
};
interface FocusEvent extends UIEvent {
readonly relatedTarget: EventTarget;
initFocusEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, relatedTargetArg: EventTarget): void;
}
declare var FocusEvent: {
prototype: FocusEvent;
new(typeArg: string, eventInitDict?: FocusEventInit): FocusEvent;
};
interface FocusNavigationEvent extends Event {
readonly navigationReason: NavigationReason;
readonly originHeight: number;
readonly originLeft: number;
readonly originTop: number;
readonly originWidth: number;
requestFocus(): void;
}
declare var FocusNavigationEvent: {
prototype: FocusNavigationEvent;
new(type: string, eventInitDict?: FocusNavigationEventInit): FocusNavigationEvent;
};
interface FormData {
append(name: string, value: string | Blob, fileName?: string): void;
delete(name: string): void;
get(name: string): FormDataEntryValue | null;
getAll(name: string): FormDataEntryValue[];
has(name: string): boolean;
set(name: string, value: string | Blob, fileName?: string): void;
}
declare var FormData: {
prototype: FormData;
new (form?: HTMLFormElement): FormData;
};
interface GainNode extends AudioNode {
readonly gain: AudioParam;
}
declare var GainNode: {
prototype: GainNode;
new(): GainNode;
};
interface Gamepad {
readonly axes: number[];
readonly buttons: GamepadButton[];
readonly connected: boolean;
readonly id: string;
readonly index: number;
readonly mapping: string;
readonly timestamp: number;
}
declare var Gamepad: {
prototype: Gamepad;
new(): Gamepad;
};
interface GamepadButton {
readonly pressed: boolean;
readonly value: number;
}
declare var GamepadButton: {
prototype: GamepadButton;
new(): GamepadButton;
};
interface GamepadEvent extends Event {
readonly gamepad: Gamepad;
}
declare var GamepadEvent: {
prototype: GamepadEvent;
new(typeArg: string, eventInitDict?: GamepadEventInit): GamepadEvent;
};
interface Geolocation {
clearWatch(watchId: number): void;
getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void;
watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number;
}
declare var Geolocation: {
prototype: Geolocation;
new(): Geolocation;
};
interface HashChangeEvent extends Event {
readonly newURL: string | null;
readonly oldURL: string | null;
}
declare var HashChangeEvent: {
prototype: HashChangeEvent;
new(typeArg: string, eventInitDict?: HashChangeEventInit): HashChangeEvent;
};
interface Headers {
append(name: string, value: string): void;
delete(name: string): void;
forEach(callback: ForEachCallback): void;
get(name: string): string | null;
has(name: string): boolean;
set(name: string, value: string): void;
}
declare var Headers: {
prototype: Headers;
new(init?: Headers | string[][] | object): Headers;
};
interface History {
readonly length: number;
readonly state: any;
scrollRestoration: ScrollRestoration;
back(): void;
forward(): void;
go(delta?: number): void;
pushState(data: any, title: string, url?: string | null): void;
replaceState(data: any, title: string, url?: string | null): void;
}
declare var History: {
prototype: History;
new(): History;
};
interface HTMLAllCollection {
readonly length: number;
item(nameOrIndex?: string): HTMLCollection | Element | null;
namedItem(name: string): HTMLCollection | Element | null;
[index: number]: Element;
}
declare var HTMLAllCollection: {
prototype: HTMLAllCollection;
new(): HTMLAllCollection;
};
interface HTMLAnchorElement extends HTMLElement {
/**
* Sets or retrieves the character set used to encode the object.
*/
charset: string;
/**
* Sets or retrieves the coordinates of the object.
*/
coords: string;
download: string;
/**
* Contains the anchor portion of the URL including the hash sign (#).
*/
hash: string;
/**
* Contains the hostname and port values of the URL.
*/
host: string;
/**
* Contains the hostname of a URL.
*/
hostname: string;
/**
* Sets or retrieves a destination URL or an anchor point.
*/
href: string;
/**
* Sets or retrieves the language code of the object.
*/
hreflang: string;
Methods: string;
readonly mimeType: string;
/**
* Sets or retrieves the shape of the object.
*/
name: string;
readonly nameProp: string;
/**
* Contains the pathname of the URL.
*/
pathname: string;
/**
* Sets or retrieves the port number associated with a URL.
*/
port: string;
/**
* Contains the protocol of the URL.
*/
protocol: string;
readonly protocolLong: string;
/**
* Sets or retrieves the relationship between the object and the destination of the link.
*/
rel: string;
/**
* Sets or retrieves the relationship between the object and the destination of the link.
*/
rev: string;
/**
* Sets or retrieves the substring of the href property that follows the question mark.
*/
search: string;
/**
* Sets or retrieves the shape of the object.
*/
shape: string;
/**
* Sets or retrieves the window or frame at which to target content.
*/
target: string;
/**
* Retrieves or sets the text of the object as a string.
*/
text: string;
type: string;
urn: string;
/**
* Returns a string representation of an object.
*/
toString(): string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLAnchorElement: {
prototype: HTMLAnchorElement;
new(): HTMLAnchorElement;
};
interface HTMLAppletElement extends HTMLElement {
align: string;
/**
* Sets or retrieves a text alternative to the graphic.
*/
alt: string;
/**
* Gets or sets the optional alternative HTML script to execute if the object fails to load.
*/
altHtml: string;
/**
* Sets or retrieves a character string that can be used to implement your own archive functionality for the object.
*/
archive: string;
/**
* Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.
*/
readonly BaseHref: string;
border: string;
code: string;
/**
* Sets or retrieves the URL of the component.
*/
codeBase: string;
/**
* Sets or retrieves the Internet media type for the code associated with the object.
*/
codeType: string;
/**
* Address of a pointer to the document this page or frame contains. If there is no document, then null will be returned.
*/
readonly contentDocument: Document;
/**
* Sets or retrieves the URL that references the data of the object.
*/
data: string;
/**
* Sets or retrieves a character string that can be used to implement your own declare functionality for the object.
*/
declare: boolean;
readonly form: HTMLFormElement | null;
/**
* Sets or retrieves the height of the object.
*/
height: string;
hspace: number;
/**
* Sets or retrieves the shape of the object.
*/
name: string;
object: string | null;
/**
* Sets or retrieves a message to be displayed while an object is loading.
*/
standby: string;
/**
* Returns the content type of the object.
*/
type: string;
/**
* Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
*/
useMap: string;
vspace: number;
width: number;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAppletElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLAppletElement: {
prototype: HTMLAppletElement;
new(): HTMLAppletElement;
};
interface HTMLAreaElement extends HTMLElement {
/**
* Sets or retrieves a text alternative to the graphic.
*/
alt: string;
/**
* Sets or retrieves the coordinates of the object.
*/
coords: string;
download: string;
/**
* Sets or retrieves the subsection of the href property that follows the number sign (#).
*/
hash: string;
/**
* Sets or retrieves the hostname and port number of the location or URL.
*/
host: string;
/**
* Sets or retrieves the host name part of the location or URL.
*/
hostname: string;
/**
* Sets or retrieves a destination URL or an anchor point.
*/
href: string;
/**
* Sets or gets whether clicks in this region cause action.
*/
noHref: boolean;
/**
* Sets or retrieves the file name or path specified by the object.
*/
pathname: string;
/**
* Sets or retrieves the port number associated with a URL.
*/
port: string;
/**
* Sets or retrieves the protocol portion of a URL.
*/
protocol: string;
rel: string;
/**
* Sets or retrieves the substring of the href property that follows the question mark.
*/
search: string;
/**
* Sets or retrieves the shape of the object.
*/
shape: string;
/**
* Sets or retrieves the window or frame at which to target content.
*/
target: string;
/**
* Returns a string representation of an object.
*/
toString(): string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLAreaElement: {
prototype: HTMLAreaElement;
new(): HTMLAreaElement;
};
interface HTMLAreasCollection extends HTMLCollectionBase {
}
declare var HTMLAreasCollection: {
prototype: HTMLAreasCollection;
new(): HTMLAreasCollection;
};
interface HTMLAudioElement extends HTMLMediaElement {
addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLAudioElement: {
prototype: HTMLAudioElement;
new(): HTMLAudioElement;
};
interface HTMLBaseElement extends HTMLElement {
/**
* Gets or sets the baseline URL on which relative links are based.
*/
href: string;
/**
* Sets or retrieves the window or frame at which to target content.
*/
target: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLBaseElement: {
prototype: HTMLBaseElement;
new(): HTMLBaseElement;
};
interface HTMLBaseFontElement extends HTMLElement, DOML2DeprecatedColorProperty {
/**
* Sets or retrieves the current typeface family.
*/
face: string;
/**
* Sets or retrieves the font size of the object.
*/
size: number;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLBaseFontElement: {
prototype: HTMLBaseFontElement;
new(): HTMLBaseFontElement;
};
interface HTMLBodyElementEventMap extends HTMLElementEventMap {
"afterprint": Event;
"beforeprint": Event;
"beforeunload": BeforeUnloadEvent;
"blur": FocusEvent;
"error": ErrorEvent;
"focus": FocusEvent;
"hashchange": HashChangeEvent;
"load": Event;
"message": MessageEvent;
"offline": Event;
"online": Event;
"orientationchange": Event;
"pagehide": PageTransitionEvent;
"pageshow": PageTransitionEvent;
"popstate": PopStateEvent;
"resize": UIEvent;
"scroll": UIEvent;
"storage": StorageEvent;
"unload": Event;
}
interface HTMLBodyElement extends HTMLElement {
aLink: any;
background: string;
bgColor: any;
bgProperties: string;
link: any;
noWrap: boolean;
onafterprint: (this: HTMLBodyElement, ev: Event) => any;
onbeforeprint: (this: HTMLBodyElement, ev: Event) => any;
onbeforeunload: (this: HTMLBodyElement, ev: BeforeUnloadEvent) => any;
onhashchange: (this: HTMLBodyElement, ev: HashChangeEvent) => any;
onmessage: (this: HTMLBodyElement, ev: MessageEvent) => any;
onoffline: (this: HTMLBodyElement, ev: Event) => any;
ononline: (this: HTMLBodyElement, ev: Event) => any;
onorientationchange: (this: HTMLBodyElement, ev: Event) => any;
onpagehide: (this: HTMLBodyElement, ev: PageTransitionEvent) => any;
onpageshow: (this: HTMLBodyElement, ev: PageTransitionEvent) => any;
onpopstate: (this: HTMLBodyElement, ev: PopStateEvent) => any;
onresize: (this: HTMLBodyElement, ev: UIEvent) => any;
onstorage: (this: HTMLBodyElement, ev: StorageEvent) => any;
onunload: (this: HTMLBodyElement, ev: Event) => any;
text: any;
vLink: any;
addEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLBodyElement: {
prototype: HTMLBodyElement;
new(): HTMLBodyElement;
};
interface HTMLBRElement extends HTMLElement {
/**
* Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.
*/
clear: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLBRElement: {
prototype: HTMLBRElement;
new(): HTMLBRElement;
};
interface HTMLButtonElement extends HTMLElement {
/**
* Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.
*/
autofocus: boolean;
disabled: boolean;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
*/
formAction: string;
/**
* Used to override the encoding (formEnctype attribute) specified on the form element.
*/
formEnctype: string;
/**
* Overrides the submit method attribute previously specified on a form element.
*/
formMethod: string;
/**
* Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
*/
formNoValidate: string;
/**
* Overrides the target attribute on a form element.
*/
formTarget: string;
/**
* Sets or retrieves the name of the object.
*/
name: string;
status: any;
/**
* Gets the classification and default behavior of the button.
*/
type: string;
/**
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
*/
readonly validationMessage: string;
/**
* Returns a ValidityState object that represents the validity states of an element.
*/
readonly validity: ValidityState;
/**
* Sets or retrieves the default or selected value of the control.
*/
value: string;
/**
* Returns whether an element will successfully validate based on forms validation rules and constraints.
*/
readonly willValidate: boolean;
/**
* Returns whether a form will validate when it is submitted, without having to submit it.
*/
checkValidity(): boolean;
/**
* Sets a custom error message that is displayed when a form is submitted.
* @param error Sets a custom error message that is displayed when a form is submitted.
*/
setCustomValidity(error: string): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLButtonElement: {
prototype: HTMLButtonElement;
new(): HTMLButtonElement;
};
interface HTMLCanvasElement extends HTMLElement {
/**
* Gets or sets the height of a canvas element on a document.
*/
height: number;
/**
* Gets or sets the width of a canvas element on a document.
*/
width: number;
/**
* Returns an object that provides methods and properties for drawing and manipulating images and graphics on a canvas element in a document. A context object includes information about colors, line widths, fonts, and other graphic parameters that can be drawn on a canvas.
* @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl");
*/
getContext(contextId: "2d", contextAttributes?: Canvas2DContextAttributes): CanvasRenderingContext2D | null;
getContext(contextId: "webgl" | "experimental-webgl", contextAttributes?: WebGLContextAttributes): WebGLRenderingContext | null;
getContext(contextId: string, contextAttributes?: {}): CanvasRenderingContext2D | WebGLRenderingContext | null;
/**
* Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.
*/
msToBlob(): Blob;
/**
* Returns the content of the current canvas as an image that you can use as a source for another canvas or an HTML element.
* @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.
*/
toDataURL(type?: string, ...args: any[]): string;
toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLCanvasElement: {
prototype: HTMLCanvasElement;
new(): HTMLCanvasElement;
};
interface HTMLCollectionBase {
/**
* Sets or retrieves the number of objects in a collection.
*/
readonly length: number;
/**
* Retrieves an object from various collections.
*/
item(index: number): Element;
[index: number]: Element;
}
interface HTMLCollection extends HTMLCollectionBase {
/**
* Retrieves a select object or an object from an options collection.
*/
namedItem(name: string): Element | null;
}
declare var HTMLCollection: {
prototype: HTMLCollection;
new(): HTMLCollection;
};
interface HTMLDataElement extends HTMLElement {
value: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLDataElement: {
prototype: HTMLDataElement;
new(): HTMLDataElement;
};
interface HTMLDataListElement extends HTMLElement {
options: HTMLCollectionOf<HTMLOptionElement>;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLDataListElement: {
prototype: HTMLDataListElement;
new(): HTMLDataListElement;
};
interface HTMLDirectoryElement extends HTMLElement {
compact: boolean;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLDirectoryElement: {
prototype: HTMLDirectoryElement;
new(): HTMLDirectoryElement;
};
interface HTMLDivElement extends HTMLElement {
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
/**
* Sets or retrieves whether the browser automatically performs wordwrap.
*/
noWrap: boolean;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLDivElement: {
prototype: HTMLDivElement;
new(): HTMLDivElement;
};
interface HTMLDListElement extends HTMLElement {
compact: boolean;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLDListElement: {
prototype: HTMLDListElement;
new(): HTMLDListElement;
};
interface HTMLDocument extends Document {
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLDocument: {
prototype: HTMLDocument;
new(): HTMLDocument;
};
interface HTMLElementEventMap extends ElementEventMap {
"abort": UIEvent;
"activate": UIEvent;
"beforeactivate": UIEvent;
"beforecopy": ClipboardEvent;
"beforecut": ClipboardEvent;
"beforedeactivate": UIEvent;
"beforepaste": ClipboardEvent;
"blur": FocusEvent;
"canplay": Event;
"canplaythrough": Event;
"change": Event;
"click": MouseEvent;
"contextmenu": PointerEvent;
"copy": ClipboardEvent;
"cuechange": Event;
"cut": ClipboardEvent;
"dblclick": MouseEvent;
"deactivate": UIEvent;
"drag": DragEvent;
"dragend": DragEvent;
"dragenter": DragEvent;
"dragleave": DragEvent;
"dragover": DragEvent;
"dragstart": DragEvent;
"drop": DragEvent;
"durationchange": Event;
"emptied": Event;
"ended": MediaStreamErrorEvent;
"error": ErrorEvent;
"focus": FocusEvent;
"input": Event;
"invalid": Event;
"keydown": KeyboardEvent;
"keypress": KeyboardEvent;
"keyup": KeyboardEvent;
"load": Event;
"loadeddata": Event;
"loadedmetadata": Event;
"loadstart": Event;
"mousedown": MouseEvent;
"mouseenter": MouseEvent;
"mouseleave": MouseEvent;
"mousemove": MouseEvent;
"mouseout": MouseEvent;
"mouseover": MouseEvent;
"mouseup": MouseEvent;
"mousewheel": WheelEvent;
"MSContentZoom": UIEvent;
"MSManipulationStateChanged": MSManipulationEvent;
"paste": ClipboardEvent;
"pause": Event;
"play": Event;
"playing": Event;
"progress": ProgressEvent;
"ratechange": Event;
"reset": Event;
"scroll": UIEvent;
"seeked": Event;
"seeking": Event;
"select": UIEvent;
"selectstart": Event;
"stalled": Event;
"submit": Event;
"suspend": Event;
"timeupdate": Event;
"volumechange": Event;
"waiting": Event;
}
interface HTMLElement extends Element {
accessKey: string;
readonly children: HTMLCollection;
contentEditable: string;
readonly dataset: DOMStringMap;
dir: string;
draggable: boolean;
hidden: boolean;
hideFocus: boolean;
innerText: string;
readonly isContentEditable: boolean;
lang: string;
readonly offsetHeight: number;
readonly offsetLeft: number;
readonly offsetParent: Element;
readonly offsetTop: number;
readonly offsetWidth: number;
onabort: (this: HTMLElement, ev: UIEvent) => any;
onactivate: (this: HTMLElement, ev: UIEvent) => any;
onbeforeactivate: (this: HTMLElement, ev: UIEvent) => any;
onbeforecopy: (this: HTMLElement, ev: ClipboardEvent) => any;
onbeforecut: (this: HTMLElement, ev: ClipboardEvent) => any;
onbeforedeactivate: (this: HTMLElement, ev: UIEvent) => any;
onbeforepaste: (this: HTMLElement, ev: ClipboardEvent) => any;
onblur: (this: HTMLElement, ev: FocusEvent) => any;
oncanplay: (this: HTMLElement, ev: Event) => any;
oncanplaythrough: (this: HTMLElement, ev: Event) => any;
onchange: (this: HTMLElement, ev: Event) => any;
onclick: (this: HTMLElement, ev: MouseEvent) => any;
oncontextmenu: (this: HTMLElement, ev: PointerEvent) => any;
oncopy: (this: HTMLElement, ev: ClipboardEvent) => any;
oncuechange: (this: HTMLElement, ev: Event) => any;
oncut: (this: HTMLElement, ev: ClipboardEvent) => any;
ondblclick: (this: HTMLElement, ev: MouseEvent) => any;
ondeactivate: (this: HTMLElement, ev: UIEvent) => any;
ondrag: (this: HTMLElement, ev: DragEvent) => any;
ondragend: (this: HTMLElement, ev: DragEvent) => any;
ondragenter: (this: HTMLElement, ev: DragEvent) => any;
ondragleave: (this: HTMLElement, ev: DragEvent) => any;
ondragover: (this: HTMLElement, ev: DragEvent) => any;
ondragstart: (this: HTMLElement, ev: DragEvent) => any;
ondrop: (this: HTMLElement, ev: DragEvent) => any;
ondurationchange: (this: HTMLElement, ev: Event) => any;
onemptied: (this: HTMLElement, ev: Event) => any;
onended: (this: HTMLElement, ev: MediaStreamErrorEvent) => any;
onerror: (this: HTMLElement, ev: ErrorEvent) => any;
onfocus: (this: HTMLElement, ev: FocusEvent) => any;
oninput: (this: HTMLElement, ev: Event) => any;
oninvalid: (this: HTMLElement, ev: Event) => any;
onkeydown: (this: HTMLElement, ev: KeyboardEvent) => any;
onkeypress: (this: HTMLElement, ev: KeyboardEvent) => any;
onkeyup: (this: HTMLElement, ev: KeyboardEvent) => any;
onload: (this: HTMLElement, ev: Event) => any;
onloadeddata: (this: HTMLElement, ev: Event) => any;
onloadedmetadata: (this: HTMLElement, ev: Event) => any;
onloadstart: (this: HTMLElement, ev: Event) => any;
onmousedown: (this: HTMLElement, ev: MouseEvent) => any;
onmouseenter: (this: HTMLElement, ev: MouseEvent) => any;
onmouseleave: (this: HTMLElement, ev: MouseEvent) => any;
onmousemove: (this: HTMLElement, ev: MouseEvent) => any;
onmouseout: (this: HTMLElement, ev: MouseEvent) => any;
onmouseover: (this: HTMLElement, ev: MouseEvent) => any;
onmouseup: (this: HTMLElement, ev: MouseEvent) => any;
onmousewheel: (this: HTMLElement, ev: WheelEvent) => any;
onmscontentzoom: (this: HTMLElement, ev: UIEvent) => any;
onmsmanipulationstatechanged: (this: HTMLElement, ev: MSManipulationEvent) => any;
onpaste: (this: HTMLElement, ev: ClipboardEvent) => any;
onpause: (this: HTMLElement, ev: Event) => any;
onplay: (this: HTMLElement, ev: Event) => any;
onplaying: (this: HTMLElement, ev: Event) => any;
onprogress: (this: HTMLElement, ev: ProgressEvent) => any;
onratechange: (this: HTMLElement, ev: Event) => any;
onreset: (this: HTMLElement, ev: Event) => any;
onscroll: (this: HTMLElement, ev: UIEvent) => any;
onseeked: (this: HTMLElement, ev: Event) => any;
onseeking: (this: HTMLElement, ev: Event) => any;
onselect: (this: HTMLElement, ev: UIEvent) => any;
onselectstart: (this: HTMLElement, ev: Event) => any;
onstalled: (this: HTMLElement, ev: Event) => any;
onsubmit: (this: HTMLElement, ev: Event) => any;
onsuspend: (this: HTMLElement, ev: Event) => any;
ontimeupdate: (this: HTMLElement, ev: Event) => any;
onvolumechange: (this: HTMLElement, ev: Event) => any;
onwaiting: (this: HTMLElement, ev: Event) => any;
outerText: string;
spellcheck: boolean;
readonly style: CSSStyleDeclaration;
tabIndex: number;
title: string;
blur(): void;
click(): void;
dragDrop(): boolean;
focus(): void;
msGetInputContext(): MSInputMethodContext;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLElement: {
prototype: HTMLElement;
new(): HTMLElement;
};
interface HTMLEmbedElement extends HTMLElement, GetSVGDocument {
/**
* Sets or retrieves the height of the object.
*/
height: string;
hidden: any;
/**
* Gets or sets whether the DLNA PlayTo device is available.
*/
msPlayToDisabled: boolean;
/**
* Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.
*/
msPlayToPreferredSourceUri: string;
/**
* Gets or sets the primary DLNA PlayTo device.
*/
msPlayToPrimary: boolean;
/**
* Gets the source associated with the media element for use by the PlayToManager.
*/
readonly msPlayToSource: any;
/**
* Sets or retrieves the name of the object.
*/
name: string;
/**
* Retrieves the palette used for the embedded document.
*/
readonly palette: string;
/**
* Retrieves the URL of the plug-in used to view an embedded document.
*/
readonly pluginspage: string;
readonly readyState: string;
/**
* Sets or retrieves a URL to be loaded by the object.
*/
src: string;
/**
* Sets or retrieves the height and width units of the embed object.
*/
units: string;
/**
* Sets or retrieves the width of the object.
*/
width: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLEmbedElement: {
prototype: HTMLEmbedElement;
new(): HTMLEmbedElement;
};
interface HTMLFieldSetElement extends HTMLElement {
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
disabled: boolean;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
name: string;
/**
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
*/
readonly validationMessage: string;
/**
* Returns a ValidityState object that represents the validity states of an element.
*/
readonly validity: ValidityState;
/**
* Returns whether an element will successfully validate based on forms validation rules and constraints.
*/
readonly willValidate: boolean;
/**
* Returns whether a form will validate when it is submitted, without having to submit it.
*/
checkValidity(): boolean;
/**
* Sets a custom error message that is displayed when a form is submitted.
* @param error Sets a custom error message that is displayed when a form is submitted.
*/
setCustomValidity(error: string): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLFieldSetElement: {
prototype: HTMLFieldSetElement;
new(): HTMLFieldSetElement;
};
interface HTMLFontElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty {
/**
* Sets or retrieves the current typeface family.
*/
face: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLFontElement: {
prototype: HTMLFontElement;
new(): HTMLFontElement;
};
interface HTMLFormControlsCollection extends HTMLCollectionBase {
namedItem(name: string): HTMLCollection | Element | null;
}
declare var HTMLFormControlsCollection: {
prototype: HTMLFormControlsCollection;
new(): HTMLFormControlsCollection;
};
interface HTMLFormElement extends HTMLElement {
/**
* Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.
*/
acceptCharset: string;
/**
* Sets or retrieves the URL to which the form content is sent for processing.
*/
action: string;
/**
* Specifies whether autocomplete is applied to an editable text field.
*/
autocomplete: string;
/**
* Retrieves a collection, in source order, of all controls in a given form.
*/
readonly elements: HTMLFormControlsCollection;
/**
* Sets or retrieves the MIME encoding for the form.
*/
encoding: string;
/**
* Sets or retrieves the encoding type for the form.
*/
enctype: string;
/**
* Sets or retrieves the number of objects in a collection.
*/
readonly length: number;
/**
* Sets or retrieves how to send the form data to the server.
*/
method: string;
/**
* Sets or retrieves the name of the object.
*/
name: string;
/**
* Designates a form that is not validated when submitted.
*/
noValidate: boolean;
/**
* Sets or retrieves the window or frame at which to target content.
*/
target: string;
/**
* Returns whether a form will validate when it is submitted, without having to submit it.
*/
checkValidity(): boolean;
/**
* Retrieves a form object or an object from an elements collection.
* @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is a Number, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.
* @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.
*/
item(name?: any, index?: any): any;
/**
* Retrieves a form object or an object from an elements collection.
*/
namedItem(name: string): any;
/**
* Fires when the user resets a form.
*/
reset(): void;
/**
* Fires when a FORM is about to be submitted.
*/
submit(): void;
reportValidity(): boolean;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
[name: string]: any;
}
declare var HTMLFormElement: {
prototype: HTMLFormElement;
new(): HTMLFormElement;
};
interface HTMLFrameElementEventMap extends HTMLElementEventMap {
"load": Event;
}
interface HTMLFrameElement extends HTMLElement, GetSVGDocument {
/**
* Specifies the properties of a border drawn around an object.
*/
border: string;
/**
* Sets or retrieves the border color of the object.
*/
borderColor: any;
/**
* Retrieves the document object of the page or frame.
*/
readonly contentDocument: Document;
/**
* Retrieves the object of the specified.
*/
readonly contentWindow: Window;
/**
* Sets or retrieves whether to display a border for the frame.
*/
frameBorder: string;
/**
* Sets or retrieves the amount of additional space between the frames.
*/
frameSpacing: any;
/**
* Sets or retrieves the height of the object.
*/
height: string | number;
/**
* Sets or retrieves a URI to a long description of the object.
*/
longDesc: string;
/**
* Sets or retrieves the top and bottom margin heights before displaying the text in a frame.
*/
marginHeight: string;
/**
* Sets or retrieves the left and right margin widths before displaying the text in a frame.
*/
marginWidth: string;
/**
* Sets or retrieves the frame name.
*/
name: string;
/**
* Sets or retrieves whether the user can resize the frame.
*/
noResize: boolean;
/**
* Sets or retrieves whether the frame can be scrolled.
*/
scrolling: string;
/**
* Sets or retrieves a URL to be loaded by the object.
*/
src: string;
/**
* Sets or retrieves the width of the object.
*/
width: string | number;
addEventListener<K extends keyof HTMLFrameElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLFrameElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLFrameElementEventMap>(type: K, listener: (this: HTMLFrameElement, ev: HTMLFrameElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLFrameElement: {
prototype: HTMLFrameElement;
new(): HTMLFrameElement;
};
interface HTMLFrameSetElementEventMap extends HTMLElementEventMap {
"afterprint": Event;
"beforeprint": Event;
"beforeunload": BeforeUnloadEvent;
"blur": FocusEvent;
"error": ErrorEvent;
"focus": FocusEvent;
"hashchange": HashChangeEvent;
"load": Event;
"message": MessageEvent;
"offline": Event;
"online": Event;
"orientationchange": Event;
"pagehide": PageTransitionEvent;
"pageshow": PageTransitionEvent;
"popstate": PopStateEvent;
"resize": UIEvent;
"scroll": UIEvent;
"storage": StorageEvent;
"unload": Event;
}
interface HTMLFrameSetElement extends HTMLElement {
border: string;
/**
* Sets or retrieves the border color of the object.
*/
borderColor: any;
/**
* Sets or retrieves the frame widths of the object.
*/
cols: string;
/**
* Sets or retrieves whether to display a border for the frame.
*/
frameBorder: string;
/**
* Sets or retrieves the amount of additional space between the frames.
*/
frameSpacing: any;
name: string;
onafterprint: (this: HTMLFrameSetElement, ev: Event) => any;
onbeforeprint: (this: HTMLFrameSetElement, ev: Event) => any;
onbeforeunload: (this: HTMLFrameSetElement, ev: BeforeUnloadEvent) => any;
onhashchange: (this: HTMLFrameSetElement, ev: HashChangeEvent) => any;
onmessage: (this: HTMLFrameSetElement, ev: MessageEvent) => any;
onoffline: (this: HTMLFrameSetElement, ev: Event) => any;
ononline: (this: HTMLFrameSetElement, ev: Event) => any;
onorientationchange: (this: HTMLFrameSetElement, ev: Event) => any;
onpagehide: (this: HTMLFrameSetElement, ev: PageTransitionEvent) => any;
onpageshow: (this: HTMLFrameSetElement, ev: PageTransitionEvent) => any;
onpopstate: (this: HTMLFrameSetElement, ev: PopStateEvent) => any;
onresize: (this: HTMLFrameSetElement, ev: UIEvent) => any;
onstorage: (this: HTMLFrameSetElement, ev: StorageEvent) => any;
onunload: (this: HTMLFrameSetElement, ev: Event) => any;
/**
* Sets or retrieves the frame heights of the object.
*/
rows: string;
addEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLFrameSetElementEventMap>(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLFrameSetElement: {
prototype: HTMLFrameSetElement;
new(): HTMLFrameSetElement;
};
interface HTMLHeadElement extends HTMLElement {
profile: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLHeadElement: {
prototype: HTMLHeadElement;
new(): HTMLHeadElement;
};
interface HTMLHeadingElement extends HTMLElement {
/**
* Sets or retrieves a value that indicates the table alignment.
*/
align: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLHeadingElement: {
prototype: HTMLHeadingElement;
new(): HTMLHeadingElement;
};
interface HTMLHRElement extends HTMLElement, DOML2DeprecatedColorProperty, DOML2DeprecatedSizeProperty {
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
/**
* Sets or retrieves whether the horizontal rule is drawn with 3-D shading.
*/
noShade: boolean;
/**
* Sets or retrieves the width of the object.
*/
width: number;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLHRElement: {
prototype: HTMLHRElement;
new(): HTMLHRElement;
};
interface HTMLHtmlElement extends HTMLElement {
/**
* Sets or retrieves the DTD version that governs the current document.
*/
version: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLHtmlElement: {
prototype: HTMLHtmlElement;
new(): HTMLHtmlElement;
};
interface HTMLIFrameElementEventMap extends HTMLElementEventMap {
"load": Event;
}
interface HTMLIFrameElement extends HTMLElement, GetSVGDocument {
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
allowFullscreen: boolean;
allowPaymentRequest: boolean;
/**
* Specifies the properties of a border drawn around an object.
*/
border: string;
/**
* Retrieves the document object of the page or frame.
*/
readonly contentDocument: Document;
/**
* Retrieves the object of the specified.
*/
readonly contentWindow: Window;
/**
* Sets or retrieves whether to display a border for the frame.
*/
frameBorder: string;
/**
* Sets or retrieves the amount of additional space between the frames.
*/
frameSpacing: any;
/**
* Sets or retrieves the height of the object.
*/
height: string;
/**
* Sets or retrieves the horizontal margin for the object.
*/
hspace: number;
/**
* Sets or retrieves a URI to a long description of the object.
*/
longDesc: string;
/**
* Sets or retrieves the top and bottom margin heights before displaying the text in a frame.
*/
marginHeight: string;
/**
* Sets or retrieves the left and right margin widths before displaying the text in a frame.
*/
marginWidth: string;
/**
* Sets or retrieves the frame name.
*/
name: string;
/**
* Sets or retrieves whether the user can resize the frame.
*/
noResize: boolean;
readonly sandbox: DOMSettableTokenList;
/**
* Sets or retrieves whether the frame can be scrolled.
*/
scrolling: string;
/**
* Sets or retrieves a URL to be loaded by the object.
*/
src: string;
/**
* Sets or retrieves the vertical margin for the object.
*/
vspace: number;
/**
* Sets or retrieves the width of the object.
*/
width: string;
addEventListener<K extends keyof HTMLIFrameElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLIFrameElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLIFrameElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLIFrameElement: {
prototype: HTMLIFrameElement;
new(): HTMLIFrameElement;
};
interface HTMLImageElement extends HTMLElement {
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
/**
* Sets or retrieves a text alternative to the graphic.
*/
alt: string;
/**
* Specifies the properties of a border drawn around an object.
*/
border: string;
/**
* Retrieves whether the object is fully loaded.
*/
readonly complete: boolean;
crossOrigin: string | null;
readonly currentSrc: string;
/**
* Sets or retrieves the height of the object.
*/
height: number;
/**
* Sets or retrieves the width of the border to draw around the object.
*/
hspace: number;
/**
* Sets or retrieves whether the image is a server-side image map.
*/
isMap: boolean;
/**
* Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
*/
longDesc: string;
lowsrc: string;
/**
* Gets or sets whether the DLNA PlayTo device is available.
*/
msPlayToDisabled: boolean;
msPlayToPreferredSourceUri: string;
/**
* Gets or sets the primary DLNA PlayTo device.
*/
msPlayToPrimary: boolean;
/**
* Gets the source associated with the media element for use by the PlayToManager.
*/
readonly msPlayToSource: any;
/**
* Sets or retrieves the name of the object.
*/
name: string;
/**
* The original height of the image resource before sizing.
*/
readonly naturalHeight: number;
/**
* The original width of the image resource before sizing.
*/
readonly naturalWidth: number;
sizes: string;
/**
* The address or URL of the a media resource that is to be considered.
*/
src: string;
srcset: string;
/**
* Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
*/
useMap: string;
/**
* Sets or retrieves the vertical margin for the object.
*/
vspace: number;
/**
* Sets or retrieves the width of the object.
*/
width: number;
readonly x: number;
readonly y: number;
msGetAsCastingSource(): any;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLImageElement: {
prototype: HTMLImageElement;
new(): HTMLImageElement;
};
interface HTMLInputElement extends HTMLElement {
/**
* Sets or retrieves a comma-separated list of content types.
*/
accept: string;
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
/**
* Sets or retrieves a text alternative to the graphic.
*/
alt: string;
/**
* Specifies whether autocomplete is applied to an editable text field.
*/
autocomplete: string;
/**
* Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.
*/
autofocus: boolean;
/**
* Sets or retrieves the width of the border to draw around the object.
*/
border: string;
/**
* Sets or retrieves the state of the check box or radio button.
*/
checked: boolean;
/**
* Retrieves whether the object is fully loaded.
*/
readonly complete: boolean;
/**
* Sets or retrieves the state of the check box or radio button.
*/
defaultChecked: boolean;
/**
* Sets or retrieves the initial contents of the object.
*/
defaultValue: string;
disabled: boolean;
/**
* Returns a FileList object on a file type input object.
*/
readonly files: FileList | null;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
*/
formAction: string;
/**
* Used to override the encoding (formEnctype attribute) specified on the form element.
*/
formEnctype: string;
/**
* Overrides the submit method attribute previously specified on a form element.
*/
formMethod: string;
/**
* Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
*/
formNoValidate: string;
/**
* Overrides the target attribute on a form element.
*/
formTarget: string;
/**
* Sets or retrieves the height of the object.
*/
height: string;
/**
* Sets or retrieves the width of the border to draw around the object.
*/
hspace: number;
indeterminate: boolean;
/**
* Specifies the ID of a pre-defined datalist of options for an input element.
*/
readonly list: HTMLElement;
/**
* Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
*/
max: string;
/**
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
*/
maxLength: number;
/**
* Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
*/
min: string;
/**
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
*/
multiple: boolean;
/**
* Sets or retrieves the name of the object.
*/
name: string;
/**
* Gets or sets a string containing a regular expression that the user's input must match.
*/
pattern: string;
/**
* Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
*/
placeholder: string;
readOnly: boolean;
/**
* When present, marks an element that can't be submitted without a value.
*/
required: boolean;
selectionDirection: string;
/**
* Gets or sets the end position or offset of a text selection.
*/
selectionEnd: number;
/**
* Gets or sets the starting position or offset of a text selection.
*/
selectionStart: number;
size: number;
/**
* The address or URL of the a media resource that is to be considered.
*/
src: string;
status: boolean;
/**
* Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
*/
step: string;
/**
* Returns the content type of the object.
*/
type: string;
/**
* Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
*/
useMap: string;
/**
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
*/
readonly validationMessage: string;
/**
* Returns a ValidityState object that represents the validity states of an element.
*/
readonly validity: ValidityState;
/**
* Returns the value of the data at the cursor's current position.
*/
value: string;
valueAsDate: Date;
/**
* Returns the input field value as a number.
*/
valueAsNumber: number;
/**
* Sets or retrieves the vertical margin for the object.
*/
vspace: number;
webkitdirectory: boolean;
/**
* Sets or retrieves the width of the object.
*/
width: string;
/**
* Returns whether an element will successfully validate based on forms validation rules and constraints.
*/
readonly willValidate: boolean;
minLength: number;
/**
* Returns whether a form will validate when it is submitted, without having to submit it.
*/
checkValidity(): boolean;
/**
* Makes the selection equal to the current object.
*/
select(): void;
/**
* Sets a custom error message that is displayed when a form is submitted.
* @param error Sets a custom error message that is displayed when a form is submitted.
*/
setCustomValidity(error: string): void;
/**
* Sets the start and end positions of a selection in a text field.
* @param start The offset into the text field for the start of the selection.
* @param end The offset into the text field for the end of the selection.
*/
setSelectionRange(start?: number, end?: number, direction?: string): void;
/**
* Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.
* @param n Value to decrement the value by.
*/
stepDown(n?: number): void;
/**
* Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.
* @param n Value to increment the value by.
*/
stepUp(n?: number): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLInputElement: {
prototype: HTMLInputElement;
new(): HTMLInputElement;
};
interface HTMLLabelElement extends HTMLElement {
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Sets or retrieves the object to which the given label object is assigned.
*/
htmlFor: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLLabelElement: {
prototype: HTMLLabelElement;
new(): HTMLLabelElement;
};
interface HTMLLegendElement extends HTMLElement {
/**
* Retrieves a reference to the form that the object is embedded in.
*/
align: string;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLLegendElement: {
prototype: HTMLLegendElement;
new(): HTMLLegendElement;
};
interface HTMLLIElement extends HTMLElement {
type: string;
/**
* Sets or retrieves the value of a list item.
*/
value: number;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLLIElement: {
prototype: HTMLLIElement;
new(): HTMLLIElement;
};
interface HTMLLinkElement extends HTMLElement, LinkStyle {
/**
* Sets or retrieves the character set used to encode the object.
*/
charset: string;
disabled: boolean;
/**
* Sets or retrieves a destination URL or an anchor point.
*/
href: string;
/**
* Sets or retrieves the language code of the object.
*/
hreflang: string;
/**
* Sets or retrieves the media type.
*/
media: string;
/**
* Sets or retrieves the relationship between the object and the destination of the link.
*/
rel: string;
/**
* Sets or retrieves the relationship between the object and the destination of the link.
*/
rev: string;
/**
* Sets or retrieves the window or frame at which to target content.
*/
target: string;
/**
* Sets or retrieves the MIME type of the object.
*/
type: string;
import?: Document;
integrity: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLLinkElement: {
prototype: HTMLLinkElement;
new(): HTMLLinkElement;
};
interface HTMLMapElement extends HTMLElement {
/**
* Retrieves a collection of the area objects defined for the given map object.
*/
readonly areas: HTMLAreasCollection;
/**
* Sets or retrieves the name of the object.
*/
name: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLMapElement: {
prototype: HTMLMapElement;
new(): HTMLMapElement;
};
interface HTMLMarqueeElementEventMap extends HTMLElementEventMap {
"bounce": Event;
"finish": Event;
"start": Event;
}
interface HTMLMarqueeElement extends HTMLElement {
behavior: string;
bgColor: any;
direction: string;
height: string;
hspace: number;
loop: number;
onbounce: (this: HTMLMarqueeElement, ev: Event) => any;
onfinish: (this: HTMLMarqueeElement, ev: Event) => any;
onstart: (this: HTMLMarqueeElement, ev: Event) => any;
scrollAmount: number;
scrollDelay: number;
trueSpeed: boolean;
vspace: number;
width: string;
start(): void;
stop(): void;
addEventListener<K extends keyof HTMLMarqueeElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLMarqueeElementEventMap>(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLMarqueeElement: {
prototype: HTMLMarqueeElement;
new(): HTMLMarqueeElement;
};
interface HTMLMediaElementEventMap extends HTMLElementEventMap {
"encrypted": MediaEncryptedEvent;
"msneedkey": MSMediaKeyNeededEvent;
}
interface HTMLMediaElement extends HTMLElement {
/**
* Returns an AudioTrackList object with the audio tracks for a given video element.
*/
readonly audioTracks: AudioTrackList;
/**
* Gets or sets a value that indicates whether to start playing the media automatically.
*/
autoplay: boolean;
/**
* Gets a collection of buffered time ranges.
*/
readonly buffered: TimeRanges;
/**
* Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).
*/
controls: boolean;
crossOrigin: string | null;
/**
* Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.
*/
readonly currentSrc: string;
/**
* Gets or sets the current playback position, in seconds.
*/
currentTime: number;
defaultMuted: boolean;
/**
* Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.
*/
defaultPlaybackRate: number;
/**
* Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.
*/
readonly duration: number;
/**
* Gets information about whether the playback has ended or not.
*/
readonly ended: boolean;
/**
* Returns an object representing the current error state of the audio or video element.
*/
readonly error: MediaError;
/**
* Gets or sets a flag to specify whether playback should restart after it completes.
*/
loop: boolean;
readonly mediaKeys: MediaKeys | null;
/**
* Specifies the purpose of the audio or video media, such as background audio or alerts.
*/
msAudioCategory: string;
/**
* Specifies the output device id that the audio will be sent to.
*/
msAudioDeviceType: string;
readonly msGraphicsTrustStatus: MSGraphicsTrust;
/**
* Gets the MSMediaKeys object, which is used for decrypting media data, that is associated with this media element.
*/
readonly msKeys: MSMediaKeys;
/**
* Gets or sets whether the DLNA PlayTo device is available.
*/
msPlayToDisabled: boolean;
/**
* Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.
*/
msPlayToPreferredSourceUri: string;
/**
* Gets or sets the primary DLNA PlayTo device.
*/
msPlayToPrimary: boolean;
/**
* Gets the source associated with the media element for use by the PlayToManager.
*/
readonly msPlayToSource: any;
/**
* Specifies whether or not to enable low-latency playback on the media element.
*/
msRealTime: boolean;
/**
* Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.
*/
muted: boolean;
/**
* Gets the current network activity for the element.
*/
readonly networkState: number;
onencrypted: (this: HTMLMediaElement, ev: MediaEncryptedEvent) => any;
onmsneedkey: (this: HTMLMediaElement, ev: MSMediaKeyNeededEvent) => any;
/**
* Gets a flag that specifies whether playback is paused.
*/
readonly paused: boolean;
/**
* Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.
*/
playbackRate: number;
/**
* Gets TimeRanges for the current media resource that has been played.
*/
readonly played: TimeRanges;
/**
* Gets or sets the current playback position, in seconds.
*/
preload: string;
readyState: number;
/**
* Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
*/
readonly seekable: TimeRanges;
/**
* Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.
*/
readonly seeking: boolean;
/**
* The address or URL of the a media resource that is to be considered.
*/
src: string;
srcObject: MediaStream | null;
readonly textTracks: TextTrackList;
readonly videoTracks: VideoTrackList;
/**
* Gets or sets the volume level for audio portions of the media element.
*/
volume: number;
addTextTrack(kind: string, label?: string, language?: string): TextTrack;
/**
* Returns a string that specifies whether the client can play a given media resource type.
*/
canPlayType(type: string): string;
/**
* Resets the audio or video object and loads a new media resource.
*/
load(): void;
/**
* Clears all effects from the media pipeline.
*/
msClearEffects(): void;
msGetAsCastingSource(): any;
/**
* Inserts the specified audio effect into media pipeline.
*/
msInsertAudioEffect(activatableClassId: string, effectRequired: boolean, config?: any): void;
msSetMediaKeys(mediaKeys: MSMediaKeys): void;
/**
* Specifies the media protection manager for a given media pipeline.
*/
msSetMediaProtectionManager(mediaProtectionManager?: any): void;
/**
* Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.
*/
pause(): void;
/**
* Loads and starts playback of a media resource.
*/
play(): Promise<void>;
setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;
readonly HAVE_CURRENT_DATA: number;
readonly HAVE_ENOUGH_DATA: number;
readonly HAVE_FUTURE_DATA: number;
readonly HAVE_METADATA: number;
readonly HAVE_NOTHING: number;
readonly NETWORK_EMPTY: number;
readonly NETWORK_IDLE: number;
readonly NETWORK_LOADING: number;
readonly NETWORK_NO_SOURCE: number;
addEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLMediaElementEventMap>(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLMediaElement: {
prototype: HTMLMediaElement;
new(): HTMLMediaElement;
readonly HAVE_CURRENT_DATA: number;
readonly HAVE_ENOUGH_DATA: number;
readonly HAVE_FUTURE_DATA: number;
readonly HAVE_METADATA: number;
readonly HAVE_NOTHING: number;
readonly NETWORK_EMPTY: number;
readonly NETWORK_IDLE: number;
readonly NETWORK_LOADING: number;
readonly NETWORK_NO_SOURCE: number;
};
interface HTMLMenuElement extends HTMLElement {
compact: boolean;
type: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLMenuElement: {
prototype: HTMLMenuElement;
new(): HTMLMenuElement;
};
interface HTMLMetaElement extends HTMLElement {
/**
* Sets or retrieves the character set used to encode the object.
*/
charset: string;
/**
* Gets or sets meta-information to associate with httpEquiv or name.
*/
content: string;
/**
* Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.
*/
httpEquiv: string;
/**
* Sets or retrieves the value specified in the content attribute of the meta object.
*/
name: string;
/**
* Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.
*/
scheme: string;
/**
* Sets or retrieves the URL property that will be loaded after the specified time has elapsed.
*/
url: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLMetaElement: {
prototype: HTMLMetaElement;
new(): HTMLMetaElement;
};
interface HTMLMeterElement extends HTMLElement {
high: number;
low: number;
max: number;
min: number;
optimum: number;
value: number;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLMeterElement: {
prototype: HTMLMeterElement;
new(): HTMLMeterElement;
};
interface HTMLModElement extends HTMLElement {
/**
* Sets or retrieves reference information about the object.
*/
cite: string;
/**
* Sets or retrieves the date and time of a modification to the object.
*/
dateTime: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLModElement: {
prototype: HTMLModElement;
new(): HTMLModElement;
};
interface HTMLObjectElement extends HTMLElement, GetSVGDocument {
align: string;
/**
* Sets or retrieves a text alternative to the graphic.
*/
alt: string;
/**
* Gets or sets the optional alternative HTML script to execute if the object fails to load.
*/
altHtml: string;
/**
* Sets or retrieves a character string that can be used to implement your own archive functionality for the object.
*/
archive: string;
/**
* Retrieves a string of the URL where the object tag can be found. This is often the href of the document that the object is in, or the value set by a base element.
*/
readonly BaseHref: string;
border: string;
/**
* Sets or retrieves the URL of the file containing the compiled Java class.
*/
code: string;
/**
* Sets or retrieves the URL of the component.
*/
codeBase: string;
/**
* Sets or retrieves the Internet media type for the code associated with the object.
*/
codeType: string;
/**
* Retrieves the document object of the page or frame.
*/
readonly contentDocument: Document;
/**
* Sets or retrieves the URL that references the data of the object.
*/
data: string;
declare: boolean;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Sets or retrieves the height of the object.
*/
height: string;
hspace: number;
/**
* Gets or sets whether the DLNA PlayTo device is available.
*/
msPlayToDisabled: boolean;
/**
* Gets or sets the path to the preferred media source. This enables the Play To target device to stream the media content, which can be DRM protected, from a different location, such as a cloud media server.
*/
msPlayToPreferredSourceUri: string;
/**
* Gets or sets the primary DLNA PlayTo device.
*/
msPlayToPrimary: boolean;
/**
* Gets the source associated with the media element for use by the PlayToManager.
*/
readonly msPlayToSource: any;
/**
* Sets or retrieves the name of the object.
*/
name: string;
readonly readyState: number;
/**
* Sets or retrieves a message to be displayed while an object is loading.
*/
standby: string;
/**
* Sets or retrieves the MIME type of the object.
*/
type: string;
/**
* Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
*/
useMap: string;
/**
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
*/
readonly validationMessage: string;
/**
* Returns a ValidityState object that represents the validity states of an element.
*/
readonly validity: ValidityState;
vspace: number;
/**
* Sets or retrieves the width of the object.
*/
width: string;
/**
* Returns whether an element will successfully validate based on forms validation rules and constraints.
*/
readonly willValidate: boolean;
/**
* Returns whether a form will validate when it is submitted, without having to submit it.
*/
checkValidity(): boolean;
/**
* Sets a custom error message that is displayed when a form is submitted.
* @param error Sets a custom error message that is displayed when a form is submitted.
*/
setCustomValidity(error: string): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLObjectElement: {
prototype: HTMLObjectElement;
new(): HTMLObjectElement;
};
interface HTMLOListElement extends HTMLElement {
compact: boolean;
/**
* The starting number.
*/
start: number;
type: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLOListElement: {
prototype: HTMLOListElement;
new(): HTMLOListElement;
};
interface HTMLOptGroupElement extends HTMLElement {
/**
* Sets or retrieves the status of an option.
*/
defaultSelected: boolean;
disabled: boolean;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Sets or retrieves the ordinal position of an option in a list box.
*/
readonly index: number;
/**
* Sets or retrieves a value that you can use to implement your own label functionality for the object.
*/
label: string;
/**
* Sets or retrieves whether the option in the list box is the default item.
*/
selected: boolean;
/**
* Sets or retrieves the text string specified by the option tag.
*/
readonly text: string;
/**
* Sets or retrieves the value which is returned to the server when the form control is submitted.
*/
value: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLOptGroupElement: {
prototype: HTMLOptGroupElement;
new(): HTMLOptGroupElement;
};
interface HTMLOptionElement extends HTMLElement {
/**
* Sets or retrieves the status of an option.
*/
defaultSelected: boolean;
disabled: boolean;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Sets or retrieves the ordinal position of an option in a list box.
*/
readonly index: number;
/**
* Sets or retrieves a value that you can use to implement your own label functionality for the object.
*/
label: string;
/**
* Sets or retrieves whether the option in the list box is the default item.
*/
selected: boolean;
/**
* Sets or retrieves the text string specified by the option tag.
*/
text: string;
/**
* Sets or retrieves the value which is returned to the server when the form control is submitted.
*/
value: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLOptionElement: {
prototype: HTMLOptionElement;
new(): HTMLOptionElement;
};
interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
length: number;
selectedIndex: number;
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number): void;
remove(index: number): void;
}
declare var HTMLOptionsCollection: {
prototype: HTMLOptionsCollection;
new(): HTMLOptionsCollection;
};
interface HTMLOutputElement extends HTMLElement {
defaultValue: string;
readonly form: HTMLFormElement | null;
readonly htmlFor: DOMSettableTokenList;
name: string;
readonly type: string;
readonly validationMessage: string;
readonly validity: ValidityState;
value: string;
readonly willValidate: boolean;
checkValidity(): boolean;
reportValidity(): boolean;
setCustomValidity(error: string): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLOutputElement: {
prototype: HTMLOutputElement;
new(): HTMLOutputElement;
};
interface HTMLParagraphElement extends HTMLElement {
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
clear: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLParagraphElement: {
prototype: HTMLParagraphElement;
new(): HTMLParagraphElement;
};
interface HTMLParamElement extends HTMLElement {
/**
* Sets or retrieves the name of an input parameter for an element.
*/
name: string;
/**
* Sets or retrieves the content type of the resource designated by the value attribute.
*/
type: string;
/**
* Sets or retrieves the value of an input parameter for an element.
*/
value: string;
/**
* Sets or retrieves the data type of the value attribute.
*/
valueType: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLParamElement: {
prototype: HTMLParamElement;
new(): HTMLParamElement;
};
interface HTMLPictureElement extends HTMLElement {
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLPictureElement: {
prototype: HTMLPictureElement;
new(): HTMLPictureElement;
};
interface HTMLPreElement extends HTMLElement {
/**
* Sets or gets a value that you can use to implement your own width functionality for the object.
*/
width: number;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLPreElement: {
prototype: HTMLPreElement;
new(): HTMLPreElement;
};
interface HTMLProgressElement extends HTMLElement {
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Defines the maximum, or "done" value for a progress element.
*/
max: number;
/**
* Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).
*/
readonly position: number;
/**
* Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.
*/
value: number;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLProgressElement: {
prototype: HTMLProgressElement;
new(): HTMLProgressElement;
};
interface HTMLQuoteElement extends HTMLElement {
/**
* Sets or retrieves reference information about the object.
*/
cite: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLQuoteElement: {
prototype: HTMLQuoteElement;
new(): HTMLQuoteElement;
};
interface HTMLScriptElement extends HTMLElement {
async: boolean;
/**
* Sets or retrieves the character set used to encode the object.
*/
charset: string;
crossOrigin: string | null;
/**
* Sets or retrieves the status of the script.
*/
defer: boolean;
/**
* Sets or retrieves the event for which the script is written.
*/
event: string;
/**
* Sets or retrieves the object that is bound to the event script.
*/
htmlFor: string;
/**
* Retrieves the URL to an external file that contains the source code or data.
*/
src: string;
/**
* Retrieves or sets the text of the object as a string.
*/
text: string;
/**
* Sets or retrieves the MIME type for the associated scripting engine.
*/
type: string;
integrity: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLScriptElement: {
prototype: HTMLScriptElement;
new(): HTMLScriptElement;
};
interface HTMLSelectElement extends HTMLElement {
/**
* Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.
*/
autofocus: boolean;
disabled: boolean;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Sets or retrieves the number of objects in a collection.
*/
length: number;
/**
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
*/
multiple: boolean;
/**
* Sets or retrieves the name of the object.
*/
name: string;
readonly options: HTMLOptionsCollection;
/**
* When present, marks an element that can't be submitted without a value.
*/
required: boolean;
/**
* Sets or retrieves the index of the selected option in a select object.
*/
selectedIndex: number;
selectedOptions: HTMLCollectionOf<HTMLOptionElement>;
/**
* Sets or retrieves the number of rows in the list box.
*/
size: number;
/**
* Retrieves the type of select control based on the value of the MULTIPLE attribute.
*/
readonly type: string;
/**
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
*/
readonly validationMessage: string;
/**
* Returns a ValidityState object that represents the validity states of an element.
*/
readonly validity: ValidityState;
/**
* Sets or retrieves the value which is returned to the server when the form control is submitted.
*/
value: string;
/**
* Returns whether an element will successfully validate based on forms validation rules and constraints.
*/
readonly willValidate: boolean;
/**
* Adds an element to the areas, controlRange, or options collection.
* @param element Variant of type Number that specifies the index position in the collection where the element is placed. If no value is given, the method places the element at the end of the collection.
* @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.
*/
add(element: HTMLElement, before?: HTMLElement | number): void;
/**
* Returns whether a form will validate when it is submitted, without having to submit it.
*/
checkValidity(): boolean;
/**
* Retrieves a select object or an object from an options collection.
* @param name Variant of type Number or String that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.
* @param index Variant of type Number that specifies the zero-based index of the object to retrieve when a collection is returned.
*/
item(name?: any, index?: any): any;
/**
* Retrieves a select object or an object from an options collection.
* @param namedItem A String that specifies the name or id property of the object to retrieve. A collection is returned if more than one match is made.
*/
namedItem(name: string): any;
/**
* Removes an element from the collection.
* @param index Number that specifies the zero-based index of the element to remove from the collection.
*/
remove(index?: number): void;
/**
* Sets a custom error message that is displayed when a form is submitted.
* @param error Sets a custom error message that is displayed when a form is submitted.
*/
setCustomValidity(error: string): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
[name: string]: any;
}
declare var HTMLSelectElement: {
prototype: HTMLSelectElement;
new(): HTMLSelectElement;
};
interface HTMLSourceElement extends HTMLElement {
/**
* Gets or sets the intended media type of the media source.
*/
media: string;
msKeySystem: string;
sizes: string;
/**
* The address or URL of the a media resource that is to be considered.
*/
src: string;
srcset: string;
/**
* Gets or sets the MIME type of a media resource.
*/
type: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLSourceElement: {
prototype: HTMLSourceElement;
new(): HTMLSourceElement;
};
interface HTMLSpanElement extends HTMLElement {
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLSpanElement: {
prototype: HTMLSpanElement;
new(): HTMLSpanElement;
};
interface HTMLStyleElement extends HTMLElement, LinkStyle {
disabled: boolean;
/**
* Sets or retrieves the media type.
*/
media: string;
/**
* Retrieves the CSS language in which the style sheet is written.
*/
type: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLStyleElement: {
prototype: HTMLStyleElement;
new(): HTMLStyleElement;
};
interface HTMLTableCaptionElement extends HTMLElement {
/**
* Sets or retrieves the alignment of the caption or legend.
*/
align: string;
/**
* Sets or retrieves whether the caption appears at the top or bottom of the table.
*/
vAlign: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTableCaptionElement: {
prototype: HTMLTableCaptionElement;
new(): HTMLTableCaptionElement;
};
interface HTMLTableCellElement extends HTMLElement, HTMLTableAlignment {
/**
* Sets or retrieves abbreviated text for the object.
*/
abbr: string;
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
/**
* Sets or retrieves a comma-delimited list of conceptual categories associated with the object.
*/
axis: string;
bgColor: any;
/**
* Retrieves the position of the object in the cells collection of a row.
*/
readonly cellIndex: number;
/**
* Sets or retrieves the number columns in the table that the object should span.
*/
colSpan: number;
/**
* Sets or retrieves a list of header cells that provide information for the object.
*/
headers: string;
/**
* Sets or retrieves the height of the object.
*/
height: any;
/**
* Sets or retrieves whether the browser automatically performs wordwrap.
*/
noWrap: boolean;
/**
* Sets or retrieves how many rows in a table the cell should span.
*/
rowSpan: number;
/**
* Sets or retrieves the group of cells in a table to which the object's information applies.
*/
scope: string;
/**
* Sets or retrieves the width of the object.
*/
width: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTableCellElement: {
prototype: HTMLTableCellElement;
new(): HTMLTableCellElement;
};
interface HTMLTableColElement extends HTMLElement, HTMLTableAlignment {
/**
* Sets or retrieves the alignment of the object relative to the display or table.
*/
align: string;
/**
* Sets or retrieves the number of columns in the group.
*/
span: number;
/**
* Sets or retrieves the width of the object.
*/
width: any;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTableColElement: {
prototype: HTMLTableColElement;
new(): HTMLTableColElement;
};
interface HTMLTableDataCellElement extends HTMLTableCellElement {
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableDataCellElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTableDataCellElement: {
prototype: HTMLTableDataCellElement;
new(): HTMLTableDataCellElement;
};
interface HTMLTableElement extends HTMLElement {
/**
* Sets or retrieves a value that indicates the table alignment.
*/
align: string;
bgColor: any;
/**
* Sets or retrieves the width of the border to draw around the object.
*/
border: string;
/**
* Sets or retrieves the border color of the object.
*/
borderColor: any;
/**
* Retrieves the caption object of a table.
*/
caption: HTMLTableCaptionElement;
/**
* Sets or retrieves the amount of space between the border of the cell and the content of the cell.
*/
cellPadding: string;
/**
* Sets or retrieves the amount of space between cells in a table.
*/
cellSpacing: string;
/**
* Sets or retrieves the number of columns in the table.
*/
cols: number;
/**
* Sets or retrieves the way the border frame around the table is displayed.
*/
frame: string;
/**
* Sets or retrieves the height of the object.
*/
height: any;
/**
* Sets or retrieves the number of horizontal rows contained in the object.
*/
rows: HTMLCollectionOf<HTMLTableRowElement>;
/**
* Sets or retrieves which dividing lines (inner borders) are displayed.
*/
rules: string;
/**
* Sets or retrieves a description and/or structure of the object.
*/
summary: string;
/**
* Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.
*/
tBodies: HTMLCollectionOf<HTMLTableSectionElement>;
/**
* Retrieves the tFoot object of the table.
*/
tFoot: HTMLTableSectionElement;
/**
* Retrieves the tHead object of the table.
*/
tHead: HTMLTableSectionElement;
/**
* Sets or retrieves the width of the object.
*/
width: string;
/**
* Creates an empty caption element in the table.
*/
createCaption(): HTMLTableCaptionElement;
/**
* Creates an empty tBody element in the table.
*/
createTBody(): HTMLTableSectionElement;
/**
* Creates an empty tFoot element in the table.
*/
createTFoot(): HTMLTableSectionElement;
/**
* Returns the tHead element object if successful, or null otherwise.
*/
createTHead(): HTMLTableSectionElement;
/**
* Deletes the caption element and its contents from the table.
*/
deleteCaption(): void;
/**
* Removes the specified row (tr) from the element and from the rows collection.
* @param index Number that specifies the zero-based position in the rows collection of the row to remove.
*/
deleteRow(index?: number): void;
/**
* Deletes the tFoot element and its contents from the table.
*/
deleteTFoot(): void;
/**
* Deletes the tHead element and its contents from the table.
*/
deleteTHead(): void;
/**
* Creates a new row (tr) in the table, and adds the row to the rows collection.
* @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.
*/
insertRow(index?: number): HTMLTableRowElement;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTableElement: {
prototype: HTMLTableElement;
new(): HTMLTableElement;
};
interface HTMLTableHeaderCellElement extends HTMLTableCellElement {
/**
* Sets or retrieves the group of cells in a table to which the object's information applies.
*/
scope: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableHeaderCellElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTableHeaderCellElement: {
prototype: HTMLTableHeaderCellElement;
new(): HTMLTableHeaderCellElement;
};
interface HTMLTableRowElement extends HTMLElement, HTMLTableAlignment {
/**
* Sets or retrieves how the object is aligned with adjacent text.
*/
align: string;
bgColor: any;
/**
* Retrieves a collection of all cells in the table row.
*/
cells: HTMLCollectionOf<HTMLTableDataCellElement | HTMLTableHeaderCellElement>;
/**
* Sets or retrieves the height of the object.
*/
height: any;
/**
* Retrieves the position of the object in the rows collection for the table.
*/
readonly rowIndex: number;
/**
* Retrieves the position of the object in the collection.
*/
readonly sectionRowIndex: number;
/**
* Removes the specified cell from the table row, as well as from the cells collection.
* @param index Number that specifies the zero-based position of the cell to remove from the table row. If no value is provided, the last cell in the cells collection is deleted.
*/
deleteCell(index?: number): void;
/**
* Creates a new cell in the table row, and adds the cell to the cells collection.
* @param index Number that specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection.
*/
insertCell(index?: number): HTMLTableDataCellElement;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTableRowElement: {
prototype: HTMLTableRowElement;
new(): HTMLTableRowElement;
};
interface HTMLTableSectionElement extends HTMLElement, HTMLTableAlignment {
/**
* Sets or retrieves a value that indicates the table alignment.
*/
align: string;
/**
* Sets or retrieves the number of horizontal rows contained in the object.
*/
rows: HTMLCollectionOf<HTMLTableRowElement>;
/**
* Removes the specified row (tr) from the element and from the rows collection.
* @param index Number that specifies the zero-based position in the rows collection of the row to remove.
*/
deleteRow(index?: number): void;
/**
* Creates a new row (tr) in the table, and adds the row to the rows collection.
* @param index Number that specifies where to insert the row in the rows collection. The default value is -1, which appends the new row to the end of the rows collection.
*/
insertRow(index?: number): HTMLTableRowElement;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTableSectionElement: {
prototype: HTMLTableSectionElement;
new(): HTMLTableSectionElement;
};
interface HTMLTemplateElement extends HTMLElement {
readonly content: DocumentFragment;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTemplateElement: {
prototype: HTMLTemplateElement;
new(): HTMLTemplateElement;
};
interface HTMLTextAreaElement extends HTMLElement {
/**
* Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute is true when present on an element, and false when missing.
*/
autofocus: boolean;
/**
* Sets or retrieves the width of the object.
*/
cols: number;
/**
* Sets or retrieves the initial contents of the object.
*/
defaultValue: string;
disabled: boolean;
/**
* Retrieves a reference to the form that the object is embedded in.
*/
readonly form: HTMLFormElement | null;
/**
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
*/
maxLength: number;
/**
* Sets or retrieves the name of the object.
*/
name: string;
/**
* Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
*/
placeholder: string;
/**
* Sets or retrieves the value indicated whether the content of the object is read-only.
*/
readOnly: boolean;
/**
* When present, marks an element that can't be submitted without a value.
*/
required: boolean;
/**
* Sets or retrieves the number of horizontal rows contained in the object.
*/
rows: number;
/**
* Gets or sets the end position or offset of a text selection.
*/
selectionEnd: number;
/**
* Gets or sets the starting position or offset of a text selection.
*/
selectionStart: number;
/**
* Sets or retrieves the value indicating whether the control is selected.
*/
status: any;
/**
* Retrieves the type of control.
*/
readonly type: string;
/**
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
*/
readonly validationMessage: string;
/**
* Returns a ValidityState object that represents the validity states of an element.
*/
readonly validity: ValidityState;
/**
* Retrieves or sets the text in the entry field of the textArea element.
*/
value: string;
/**
* Returns whether an element will successfully validate based on forms validation rules and constraints.
*/
readonly willValidate: boolean;
/**
* Sets or retrieves how to handle wordwrapping in the object.
*/
wrap: string;
minLength: number;
/**
* Returns whether a form will validate when it is submitted, without having to submit it.
*/
checkValidity(): boolean;
/**
* Highlights the input area of a form element.
*/
select(): void;
/**
* Sets a custom error message that is displayed when a form is submitted.
* @param error Sets a custom error message that is displayed when a form is submitted.
*/
setCustomValidity(error: string): void;
/**
* Sets the start and end positions of a selection in a text field.
* @param start The offset into the text field for the start of the selection.
* @param end The offset into the text field for the end of the selection.
*/
setSelectionRange(start: number, end: number): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTextAreaElement: {
prototype: HTMLTextAreaElement;
new(): HTMLTextAreaElement;
};
interface HTMLTimeElement extends HTMLElement {
dateTime: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTimeElement: {
prototype: HTMLTimeElement;
new(): HTMLTimeElement;
};
interface HTMLTitleElement extends HTMLElement {
/**
* Retrieves or sets the text of the object as a string.
*/
text: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTitleElement: {
prototype: HTMLTitleElement;
new(): HTMLTitleElement;
};
interface HTMLTrackElement extends HTMLElement {
default: boolean;
kind: string;
label: string;
readonly readyState: number;
src: string;
srclang: string;
readonly track: TextTrack;
readonly ERROR: number;
readonly LOADED: number;
readonly LOADING: number;
readonly NONE: number;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLTrackElement: {
prototype: HTMLTrackElement;
new(): HTMLTrackElement;
readonly ERROR: number;
readonly LOADED: number;
readonly LOADING: number;
readonly NONE: number;
};
interface HTMLUListElement extends HTMLElement {
compact: boolean;
type: string;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLUListElement: {
prototype: HTMLUListElement;
new(): HTMLUListElement;
};
interface HTMLUnknownElement extends HTMLElement {
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLUnknownElement: {
prototype: HTMLUnknownElement;
new(): HTMLUnknownElement;
};
interface HTMLVideoElementEventMap extends HTMLMediaElementEventMap {
"MSVideoFormatChanged": Event;
"MSVideoFrameStepCompleted": Event;
"MSVideoOptimalLayoutChanged": Event;
}
interface HTMLVideoElement extends HTMLMediaElement {
/**
* Gets or sets the height of the video element.
*/
height: number;
msHorizontalMirror: boolean;
readonly msIsLayoutOptimalForPlayback: boolean;
readonly msIsStereo3D: boolean;
msStereo3DPackingMode: string;
msStereo3DRenderMode: string;
msZoom: boolean;
onMSVideoFormatChanged: (this: HTMLVideoElement, ev: Event) => any;
onMSVideoFrameStepCompleted: (this: HTMLVideoElement, ev: Event) => any;
onMSVideoOptimalLayoutChanged: (this: HTMLVideoElement, ev: Event) => any;
/**
* Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.
*/
poster: string;
/**
* Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.
*/
readonly videoHeight: number;
/**
* Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.
*/
readonly videoWidth: number;
readonly webkitDisplayingFullscreen: boolean;
readonly webkitSupportsFullscreen: boolean;
/**
* Gets or sets the width of the video element.
*/
width: number;
getVideoPlaybackQuality(): VideoPlaybackQuality;
msFrameStep(forward: boolean): void;
msInsertVideoEffect(activatableClassId: string, effectRequired: boolean, config?: any): void;
msSetVideoRectangle(left: number, top: number, right: number, bottom: number): void;
webkitEnterFullscreen(): void;
webkitEnterFullScreen(): void;
webkitExitFullscreen(): void;
webkitExitFullScreen(): void;
addEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var HTMLVideoElement: {
prototype: HTMLVideoElement;
new(): HTMLVideoElement;
};
interface IDBCursor {
readonly direction: IDBCursorDirection;
key: IDBKeyRange | IDBValidKey;
readonly primaryKey: any;
source: IDBObjectStore | IDBIndex;
advance(count: number): void;
continue(key?: IDBKeyRange | IDBValidKey): void;
delete(): IDBRequest;
update(value: any): IDBRequest;
readonly NEXT: string;
readonly NEXT_NO_DUPLICATE: string;
readonly PREV: string;
readonly PREV_NO_DUPLICATE: string;
}
declare var IDBCursor: {
prototype: IDBCursor;
new(): IDBCursor;
readonly NEXT: string;
readonly NEXT_NO_DUPLICATE: string;
readonly PREV: string;
readonly PREV_NO_DUPLICATE: string;
};
interface IDBCursorWithValue extends IDBCursor {
readonly value: any;
}
declare var IDBCursorWithValue: {
prototype: IDBCursorWithValue;
new(): IDBCursorWithValue;
};
interface IDBDatabaseEventMap {
"abort": Event;
"error": Event;
}
interface IDBDatabase extends EventTarget {
readonly name: string;
readonly objectStoreNames: DOMStringList;
onabort: (this: IDBDatabase, ev: Event) => any;
onerror: (this: IDBDatabase, ev: Event) => any;
version: number;
onversionchange: (ev: IDBVersionChangeEvent) => any;
close(): void;
createObjectStore(name: string, optionalParameters?: IDBObjectStoreParameters): IDBObjectStore;
deleteObjectStore(name: string): void;
transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;
addEventListener(type: "versionchange", listener: (ev: IDBVersionChangeEvent) => any, useCapture?: boolean): void;
addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var IDBDatabase: {
prototype: IDBDatabase;
new(): IDBDatabase;
};
interface IDBFactory {
cmp(first: any, second: any): number;
deleteDatabase(name: string): IDBOpenDBRequest;
open(name: string, version?: number): IDBOpenDBRequest;
}
declare var IDBFactory: {
prototype: IDBFactory;
new(): IDBFactory;
};
interface IDBIndex {
keyPath: string | string[];
readonly name: string;
readonly objectStore: IDBObjectStore;
readonly unique: boolean;
multiEntry: boolean;
count(key?: IDBKeyRange | IDBValidKey): IDBRequest;
get(key: IDBKeyRange | IDBValidKey): IDBRequest;
getKey(key: IDBKeyRange | IDBValidKey): IDBRequest;
openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest;
openKeyCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest;
}
declare var IDBIndex: {
prototype: IDBIndex;
new(): IDBIndex;
};
interface IDBKeyRange {
readonly lower: any;
readonly lowerOpen: boolean;
readonly upper: any;
readonly upperOpen: boolean;
}
declare var IDBKeyRange: {
prototype: IDBKeyRange;
new(): IDBKeyRange;
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
lowerBound(lower: any, open?: boolean): IDBKeyRange;
only(value: any): IDBKeyRange;
upperBound(upper: any, open?: boolean): IDBKeyRange;
};
interface IDBObjectStore {
readonly indexNames: DOMStringList;
keyPath: string | string[];
readonly name: string;
readonly transaction: IDBTransaction;
autoIncrement: boolean;
add(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest;
clear(): IDBRequest;
count(key?: IDBKeyRange | IDBValidKey): IDBRequest;
createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex;
delete(key: IDBKeyRange | IDBValidKey): IDBRequest;
deleteIndex(indexName: string): void;
get(key: any): IDBRequest;
index(name: string): IDBIndex;
openCursor(range?: IDBKeyRange | IDBValidKey, direction?: IDBCursorDirection): IDBRequest;
put(value: any, key?: IDBKeyRange | IDBValidKey): IDBRequest;
}
declare var IDBObjectStore: {
prototype: IDBObjectStore;
new(): IDBObjectStore;
};
interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
"blocked": Event;
"upgradeneeded": IDBVersionChangeEvent;
}
interface IDBOpenDBRequest extends IDBRequest {
onblocked: (this: IDBOpenDBRequest, ev: Event) => any;
onupgradeneeded: (this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any;
addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var IDBOpenDBRequest: {
prototype: IDBOpenDBRequest;
new(): IDBOpenDBRequest;
};
interface IDBRequestEventMap {
"error": Event;
"success": Event;
}
interface IDBRequest extends EventTarget {
readonly error: DOMException;
onerror: (this: IDBRequest, ev: Event) => any;
onsuccess: (this: IDBRequest, ev: Event) => any;
readonly readyState: IDBRequestReadyState;
readonly result: any;
source: IDBObjectStore | IDBIndex | IDBCursor;
readonly transaction: IDBTransaction;
addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var IDBRequest: {
prototype: IDBRequest;
new(): IDBRequest;
};
interface IDBTransactionEventMap {
"abort": Event;
"complete": Event;
"error": Event;
}
interface IDBTransaction extends EventTarget {
readonly db: IDBDatabase;
readonly error: DOMException;
readonly mode: IDBTransactionMode;
onabort: (this: IDBTransaction, ev: Event) => any;
oncomplete: (this: IDBTransaction, ev: Event) => any;
onerror: (this: IDBTransaction, ev: Event) => any;
abort(): void;
objectStore(name: string): IDBObjectStore;
readonly READ_ONLY: string;
readonly READ_WRITE: string;
readonly VERSION_CHANGE: string;
addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var IDBTransaction: {
prototype: IDBTransaction;
new(): IDBTransaction;
readonly READ_ONLY: string;
readonly READ_WRITE: string;
readonly VERSION_CHANGE: string;
};
interface IDBVersionChangeEvent extends Event {
readonly newVersion: number | null;
readonly oldVersion: number;
}
declare var IDBVersionChangeEvent: {
prototype: IDBVersionChangeEvent;
new(): IDBVersionChangeEvent;
};
interface IIRFilterNode extends AudioNode {
getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;
}
declare var IIRFilterNode: {
prototype: IIRFilterNode;
new(): IIRFilterNode;
};
interface ImageData {
data: Uint8ClampedArray;
readonly height: number;
readonly width: number;
}
declare var ImageData: {
prototype: ImageData;
new(width: number, height: number): ImageData;
new(array: Uint8ClampedArray, width: number, height: number): ImageData;
};
interface IntersectionObserver {
readonly root: Element | null;
readonly rootMargin: string;
readonly thresholds: number[];
disconnect(): void;
observe(target: Element): void;
takeRecords(): IntersectionObserverEntry[];
unobserve(target: Element): void;
}
declare var IntersectionObserver: {
prototype: IntersectionObserver;
new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver;
};
interface IntersectionObserverEntry {
readonly boundingClientRect: ClientRect;
readonly intersectionRatio: number;
readonly intersectionRect: ClientRect;
readonly rootBounds: ClientRect;
readonly target: Element;
readonly time: number;
readonly isIntersecting: boolean;
}
declare var IntersectionObserverEntry: {
prototype: IntersectionObserverEntry;
new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry;
};
interface KeyboardEvent extends UIEvent {
readonly altKey: boolean;
readonly char: string | null;
readonly charCode: number;
readonly ctrlKey: boolean;
readonly key: string;
readonly keyCode: number;
readonly locale: string;
readonly location: number;
readonly metaKey: boolean;
readonly repeat: boolean;
readonly shiftKey: boolean;
readonly which: number;
readonly code: string;
getModifierState(keyArg: string): boolean;
initKeyboardEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, keyArg: string, locationArg: number, modifiersListArg: string, repeat: boolean, locale: string): void;
readonly DOM_KEY_LOCATION_JOYSTICK: number;
readonly DOM_KEY_LOCATION_LEFT: number;
readonly DOM_KEY_LOCATION_MOBILE: number;
readonly DOM_KEY_LOCATION_NUMPAD: number;
readonly DOM_KEY_LOCATION_RIGHT: number;
readonly DOM_KEY_LOCATION_STANDARD: number;
}
declare var KeyboardEvent: {
prototype: KeyboardEvent;
new(typeArg: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;
readonly DOM_KEY_LOCATION_JOYSTICK: number;
readonly DOM_KEY_LOCATION_LEFT: number;
readonly DOM_KEY_LOCATION_MOBILE: number;
readonly DOM_KEY_LOCATION_NUMPAD: number;
readonly DOM_KEY_LOCATION_RIGHT: number;
readonly DOM_KEY_LOCATION_STANDARD: number;
};
interface ListeningStateChangedEvent extends Event {
readonly label: string;
readonly state: ListeningState;
}
declare var ListeningStateChangedEvent: {
prototype: ListeningStateChangedEvent;
new(): ListeningStateChangedEvent;
};
interface Location {
hash: string;
host: string;
hostname: string;
href: string;
readonly origin: string;
pathname: string;
port: string;
protocol: string;
search: string;
assign(url: string): void;
reload(forcedReload?: boolean): void;
replace(url: string): void;
toString(): string;
}
declare var Location: {
prototype: Location;
new(): Location;
};
interface LongRunningScriptDetectedEvent extends Event {
readonly executionTime: number;
stopPageScriptExecution: boolean;
}
declare var LongRunningScriptDetectedEvent: {
prototype: LongRunningScriptDetectedEvent;
new(): LongRunningScriptDetectedEvent;
};
interface MediaDeviceInfo {
readonly deviceId: string;
readonly groupId: string;
readonly kind: MediaDeviceKind;
readonly label: string;
}
declare var MediaDeviceInfo: {
prototype: MediaDeviceInfo;
new(): MediaDeviceInfo;
};
interface MediaDevicesEventMap {
"devicechange": Event;
}
interface MediaDevices extends EventTarget {
ondevicechange: (this: MediaDevices, ev: Event) => any;
enumerateDevices(): Promise<MediaDeviceInfo[]>;
getSupportedConstraints(): MediaTrackSupportedConstraints;
getUserMedia(constraints: MediaStreamConstraints): Promise<MediaStream>;
addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MediaDevices: {
prototype: MediaDevices;
new(): MediaDevices;
};
interface MediaElementAudioSourceNode extends AudioNode {
}
declare var MediaElementAudioSourceNode: {
prototype: MediaElementAudioSourceNode;
new(): MediaElementAudioSourceNode;
};
interface MediaEncryptedEvent extends Event {
readonly initData: ArrayBuffer | null;
readonly initDataType: string;
}
declare var MediaEncryptedEvent: {
prototype: MediaEncryptedEvent;
new(type: string, eventInitDict?: MediaEncryptedEventInit): MediaEncryptedEvent;
};
interface MediaError {
readonly code: number;
readonly msExtendedCode: number;
readonly MEDIA_ERR_ABORTED: number;
readonly MEDIA_ERR_DECODE: number;
readonly MEDIA_ERR_NETWORK: number;
readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;
readonly MS_MEDIA_ERR_ENCRYPTED: number;
}
declare var MediaError: {
prototype: MediaError;
new(): MediaError;
readonly MEDIA_ERR_ABORTED: number;
readonly MEDIA_ERR_DECODE: number;
readonly MEDIA_ERR_NETWORK: number;
readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;
readonly MS_MEDIA_ERR_ENCRYPTED: number;
};
interface MediaKeyMessageEvent extends Event {
readonly message: ArrayBuffer;
readonly messageType: MediaKeyMessageType;
}
declare var MediaKeyMessageEvent: {
prototype: MediaKeyMessageEvent;
new(type: string, eventInitDict?: MediaKeyMessageEventInit): MediaKeyMessageEvent;
};
interface MediaKeys {
createSession(sessionType?: MediaKeySessionType): MediaKeySession;
setServerCertificate(serverCertificate: any): Promise<void>;
}
declare var MediaKeys: {
prototype: MediaKeys;
new(): MediaKeys;
};
interface MediaKeySession extends EventTarget {
readonly closed: Promise<void>;
readonly expiration: number;
readonly keyStatuses: MediaKeyStatusMap;
readonly sessionId: string;
close(): Promise<void>;
generateRequest(initDataType: string, initData: any): Promise<void>;
load(sessionId: string): Promise<boolean>;
remove(): Promise<void>;
update(response: any): Promise<void>;
}
declare var MediaKeySession: {
prototype: MediaKeySession;
new(): MediaKeySession;
};
interface MediaKeyStatusMap {
readonly size: number;
forEach(callback: ForEachCallback): void;
get(keyId: any): MediaKeyStatus;
has(keyId: any): boolean;
}
declare var MediaKeyStatusMap: {
prototype: MediaKeyStatusMap;
new(): MediaKeyStatusMap;
};
interface MediaKeySystemAccess {
readonly keySystem: string;
createMediaKeys(): Promise<MediaKeys>;
getConfiguration(): MediaKeySystemConfiguration;
}
declare var MediaKeySystemAccess: {
prototype: MediaKeySystemAccess;
new(): MediaKeySystemAccess;
};
interface MediaList {
readonly length: number;
mediaText: string;
appendMedium(newMedium: string): void;
deleteMedium(oldMedium: string): void;
item(index: number): string;
toString(): string;
[index: number]: string;
}
declare var MediaList: {
prototype: MediaList;
new(): MediaList;
};
interface MediaQueryList {
readonly matches: boolean;
readonly media: string;
addListener(listener: MediaQueryListListener): void;
removeListener(listener: MediaQueryListListener): void;
}
declare var MediaQueryList: {
prototype: MediaQueryList;
new(): MediaQueryList;
};
interface MediaSource extends EventTarget {
readonly activeSourceBuffers: SourceBufferList;
duration: number;
readonly readyState: string;
readonly sourceBuffers: SourceBufferList;
addSourceBuffer(type: string): SourceBuffer;
endOfStream(error?: number): void;
removeSourceBuffer(sourceBuffer: SourceBuffer): void;
}
declare var MediaSource: {
prototype: MediaSource;
new(): MediaSource;
isTypeSupported(type: string): boolean;
};
interface MediaStreamEventMap {
"active": Event;
"addtrack": MediaStreamTrackEvent;
"inactive": Event;
"removetrack": MediaStreamTrackEvent;
}
interface MediaStream extends EventTarget {
readonly active: boolean;
readonly id: string;
onactive: (this: MediaStream, ev: Event) => any;
onaddtrack: (this: MediaStream, ev: MediaStreamTrackEvent) => any;
oninactive: (this: MediaStream, ev: Event) => any;
onremovetrack: (this: MediaStream, ev: MediaStreamTrackEvent) => any;
addTrack(track: MediaStreamTrack): void;
clone(): MediaStream;
getAudioTracks(): MediaStreamTrack[];
getTrackById(trackId: string): MediaStreamTrack | null;
getTracks(): MediaStreamTrack[];
getVideoTracks(): MediaStreamTrack[];
removeTrack(track: MediaStreamTrack): void;
stop(): void;
addEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MediaStreamEventMap>(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MediaStream: {
prototype: MediaStream;
new(streamOrTracks?: MediaStream | MediaStreamTrack[]): MediaStream;
};
interface MediaStreamAudioSourceNode extends AudioNode {
}
declare var MediaStreamAudioSourceNode: {
prototype: MediaStreamAudioSourceNode;
new(): MediaStreamAudioSourceNode;
};
interface MediaStreamError {
readonly constraintName: string | null;
readonly message: string | null;
readonly name: string;
}
declare var MediaStreamError: {
prototype: MediaStreamError;
new(): MediaStreamError;
};
interface MediaStreamErrorEvent extends Event {
readonly error: MediaStreamError | null;
}
declare var MediaStreamErrorEvent: {
prototype: MediaStreamErrorEvent;
new(typeArg: string, eventInitDict?: MediaStreamErrorEventInit): MediaStreamErrorEvent;
};
interface MediaStreamEvent extends Event {
readonly stream: MediaStream | null;
}
declare var MediaStreamEvent: {
prototype: MediaStreamEvent;
new(type: string, eventInitDict: MediaStreamEventInit): MediaStreamEvent;
};
interface MediaStreamTrackEventMap {
"ended": MediaStreamErrorEvent;
"mute": Event;
"overconstrained": MediaStreamErrorEvent;
"unmute": Event;
}
interface MediaStreamTrack extends EventTarget {
enabled: boolean;
readonly id: string;
readonly kind: string;
readonly label: string;
readonly muted: boolean;
onended: (this: MediaStreamTrack, ev: MediaStreamErrorEvent) => any;
onmute: (this: MediaStreamTrack, ev: Event) => any;
onoverconstrained: (this: MediaStreamTrack, ev: MediaStreamErrorEvent) => any;
onunmute: (this: MediaStreamTrack, ev: Event) => any;
readonly readonly: boolean;
readonly readyState: MediaStreamTrackState;
readonly remote: boolean;
applyConstraints(constraints: MediaTrackConstraints): Promise<void>;
clone(): MediaStreamTrack;
getCapabilities(): MediaTrackCapabilities;
getConstraints(): MediaTrackConstraints;
getSettings(): MediaTrackSettings;
stop(): void;
addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MediaStreamTrack: {
prototype: MediaStreamTrack;
new(): MediaStreamTrack;
};
interface MediaStreamTrackEvent extends Event {
readonly track: MediaStreamTrack;
}
declare var MediaStreamTrackEvent: {
prototype: MediaStreamTrackEvent;
new(typeArg: string, eventInitDict?: MediaStreamTrackEventInit): MediaStreamTrackEvent;
};
interface MessageChannel {
readonly port1: MessagePort;
readonly port2: MessagePort;
}
declare var MessageChannel: {
prototype: MessageChannel;
new(): MessageChannel;
};
interface MessageEvent extends Event {
readonly data: any;
readonly origin: string;
readonly ports: any;
readonly source: Window;
initMessageEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, dataArg: any, originArg: string, lastEventIdArg: string, sourceArg: Window): void;
}
declare var MessageEvent: {
prototype: MessageEvent;
new(type: string, eventInitDict?: MessageEventInit): MessageEvent;
};
interface MessagePortEventMap {
"message": MessageEvent;
}
interface MessagePort extends EventTarget {
onmessage: (this: MessagePort, ev: MessageEvent) => any;
close(): void;
postMessage(message?: any, transfer?: any[]): void;
start(): void;
addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MessagePort: {
prototype: MessagePort;
new(): MessagePort;
};
interface MimeType {
readonly description: string;
readonly enabledPlugin: Plugin;
readonly suffixes: string;
readonly type: string;
}
declare var MimeType: {
prototype: MimeType;
new(): MimeType;
};
interface MimeTypeArray {
readonly length: number;
item(index: number): Plugin;
namedItem(type: string): Plugin;
[index: number]: Plugin;
}
declare var MimeTypeArray: {
prototype: MimeTypeArray;
new(): MimeTypeArray;
};
interface MouseEvent extends UIEvent {
readonly altKey: boolean;
readonly button: number;
readonly buttons: number;
readonly clientX: number;
readonly clientY: number;
readonly ctrlKey: boolean;
readonly fromElement: Element;
readonly layerX: number;
readonly layerY: number;
readonly metaKey: boolean;
readonly movementX: number;
readonly movementY: number;
readonly offsetX: number;
readonly offsetY: number;
readonly pageX: number;
readonly pageY: number;
readonly relatedTarget: EventTarget;
readonly screenX: number;
readonly screenY: number;
readonly shiftKey: boolean;
readonly toElement: Element;
readonly which: number;
readonly x: number;
readonly y: number;
getModifierState(keyArg: string): boolean;
initMouseEvent(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 | null): void;
}
declare var MouseEvent: {
prototype: MouseEvent;
new(typeArg: string, eventInitDict?: MouseEventInit): MouseEvent;
};
interface MSApp {
clearTemporaryWebDataAsync(): MSAppAsyncOperation;
createBlobFromRandomAccessStream(type: string, seeker: any): Blob;
createDataPackage(object: any): any;
createDataPackageFromSelection(): any;
createFileFromStorageFile(storageFile: any): File;
createStreamFromInputStream(type: string, inputStream: any): MSStream;
execAsyncAtPriority(asynchronousCallback: MSExecAtPriorityFunctionCallback, priority: string, ...args: any[]): void;
execAtPriority(synchronousCallback: MSExecAtPriorityFunctionCallback, priority: string, ...args: any[]): any;
getCurrentPriority(): string;
getHtmlPrintDocumentSourceAsync(htmlDoc: any): Promise<any>;
getViewId(view: any): any;
isTaskScheduledAtPriorityOrHigher(priority: string): boolean;
pageHandlesAllApplicationActivations(enabled: boolean): void;
suppressSubdownloadCredentialPrompts(suppress: boolean): void;
terminateApp(exceptionObject: any): void;
readonly CURRENT: string;
readonly HIGH: string;
readonly IDLE: string;
readonly NORMAL: string;
}
declare var MSApp: MSApp;
interface MSAppAsyncOperationEventMap {
"complete": Event;
"error": Event;
}
interface MSAppAsyncOperation extends EventTarget {
readonly error: DOMError;
oncomplete: (this: MSAppAsyncOperation, ev: Event) => any;
onerror: (this: MSAppAsyncOperation, ev: Event) => any;
readonly readyState: number;
readonly result: any;
start(): void;
readonly COMPLETED: number;
readonly ERROR: number;
readonly STARTED: number;
addEventListener<K extends keyof MSAppAsyncOperationEventMap>(type: K, listener: (this: MSAppAsyncOperation, ev: MSAppAsyncOperationEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MSAppAsyncOperationEventMap>(type: K, listener: (this: MSAppAsyncOperation, ev: MSAppAsyncOperationEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MSAppAsyncOperation: {
prototype: MSAppAsyncOperation;
new(): MSAppAsyncOperation;
readonly COMPLETED: number;
readonly ERROR: number;
readonly STARTED: number;
};
interface MSAssertion {
readonly id: string;
readonly type: MSCredentialType;
}
declare var MSAssertion: {
prototype: MSAssertion;
new(): MSAssertion;
};
interface MSBlobBuilder {
append(data: any, endings?: string): void;
getBlob(contentType?: string): Blob;
}
declare var MSBlobBuilder: {
prototype: MSBlobBuilder;
new(): MSBlobBuilder;
};
interface MSCredentials {
getAssertion(challenge: string, filter?: MSCredentialFilter, params?: MSSignatureParameters): Promise<MSAssertion>;
makeCredential(accountInfo: MSAccountInfo, params: MSCredentialParameters[], challenge?: string): Promise<MSAssertion>;
}
declare var MSCredentials: {
prototype: MSCredentials;
new(): MSCredentials;
};
interface MSFIDOCredentialAssertion extends MSAssertion {
readonly algorithm: string | Algorithm;
readonly attestation: any;
readonly publicKey: string;
readonly transportHints: MSTransportType[];
}
declare var MSFIDOCredentialAssertion: {
prototype: MSFIDOCredentialAssertion;
new(): MSFIDOCredentialAssertion;
};
interface MSFIDOSignature {
readonly authnrData: string;
readonly clientData: string;
readonly signature: string;
}
declare var MSFIDOSignature: {
prototype: MSFIDOSignature;
new(): MSFIDOSignature;
};
interface MSFIDOSignatureAssertion extends MSAssertion {
readonly signature: MSFIDOSignature;
}
declare var MSFIDOSignatureAssertion: {
prototype: MSFIDOSignatureAssertion;
new(): MSFIDOSignatureAssertion;
};
interface MSGesture {
target: Element;
addPointer(pointerId: number): void;
stop(): void;
}
declare var MSGesture: {
prototype: MSGesture;
new(): MSGesture;
};
interface MSGestureEvent extends UIEvent {
readonly clientX: number;
readonly clientY: number;
readonly expansion: number;
readonly gestureObject: any;
readonly hwTimestamp: number;
readonly offsetX: number;
readonly offsetY: number;
readonly rotation: number;
readonly scale: number;
readonly screenX: number;
readonly screenY: number;
readonly translationX: number;
readonly translationY: number;
readonly velocityAngular: number;
readonly velocityExpansion: number;
readonly velocityX: number;
readonly velocityY: number;
initGestureEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, offsetXArg: number, offsetYArg: number, translationXArg: number, translationYArg: number, scaleArg: number, expansionArg: number, rotationArg: number, velocityXArg: number, velocityYArg: number, velocityExpansionArg: number, velocityAngularArg: number, hwTimestampArg: number): void;
readonly MSGESTURE_FLAG_BEGIN: number;
readonly MSGESTURE_FLAG_CANCEL: number;
readonly MSGESTURE_FLAG_END: number;
readonly MSGESTURE_FLAG_INERTIA: number;
readonly MSGESTURE_FLAG_NONE: number;
}
declare var MSGestureEvent: {
prototype: MSGestureEvent;
new(): MSGestureEvent;
readonly MSGESTURE_FLAG_BEGIN: number;
readonly MSGESTURE_FLAG_CANCEL: number;
readonly MSGESTURE_FLAG_END: number;
readonly MSGESTURE_FLAG_INERTIA: number;
readonly MSGESTURE_FLAG_NONE: number;
};
interface MSGraphicsTrust {
readonly constrictionActive: boolean;
readonly status: string;
}
declare var MSGraphicsTrust: {
prototype: MSGraphicsTrust;
new(): MSGraphicsTrust;
};
interface MSHTMLWebViewElement extends HTMLElement {
readonly canGoBack: boolean;
readonly canGoForward: boolean;
readonly containsFullScreenElement: boolean;
readonly documentTitle: string;
height: number;
readonly settings: MSWebViewSettings;
src: string;
width: number;
addWebAllowedObject(name: string, applicationObject: any): void;
buildLocalStreamUri(contentIdentifier: string, relativePath: string): string;
capturePreviewToBlobAsync(): MSWebViewAsyncOperation;
captureSelectedContentToDataPackageAsync(): MSWebViewAsyncOperation;
getDeferredPermissionRequestById(id: number): DeferredPermissionRequest;
getDeferredPermissionRequests(): DeferredPermissionRequest[];
goBack(): void;
goForward(): void;
invokeScriptAsync(scriptName: string, ...args: any[]): MSWebViewAsyncOperation;
navigate(uri: string): void;
navigateFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void;
navigateToLocalStreamUri(source: string, streamResolver: any): void;
navigateToString(contents: string): void;
navigateWithHttpRequestMessage(requestMessage: any): void;
refresh(): void;
stop(): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: MSHTMLWebViewElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: MSHTMLWebViewElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MSHTMLWebViewElement: {
prototype: MSHTMLWebViewElement;
new(): MSHTMLWebViewElement;
};
interface MSInputMethodContextEventMap {
"MSCandidateWindowHide": Event;
"MSCandidateWindowShow": Event;
"MSCandidateWindowUpdate": Event;
}
interface MSInputMethodContext extends EventTarget {
readonly compositionEndOffset: number;
readonly compositionStartOffset: number;
oncandidatewindowhide: (this: MSInputMethodContext, ev: Event) => any;
oncandidatewindowshow: (this: MSInputMethodContext, ev: Event) => any;
oncandidatewindowupdate: (this: MSInputMethodContext, ev: Event) => any;
readonly target: HTMLElement;
getCandidateWindowClientRect(): ClientRect;
getCompositionAlternatives(): string[];
hasComposition(): boolean;
isCandidateWindowVisible(): boolean;
addEventListener<K extends keyof MSInputMethodContextEventMap>(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MSInputMethodContextEventMap>(type: K, listener: (this: MSInputMethodContext, ev: MSInputMethodContextEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MSInputMethodContext: {
prototype: MSInputMethodContext;
new(): MSInputMethodContext;
};
interface MSManipulationEvent extends UIEvent {
readonly currentState: number;
readonly inertiaDestinationX: number;
readonly inertiaDestinationY: number;
readonly lastState: number;
initMSManipulationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, lastState: number, currentState: number): void;
readonly MS_MANIPULATION_STATE_ACTIVE: number;
readonly MS_MANIPULATION_STATE_CANCELLED: number;
readonly MS_MANIPULATION_STATE_COMMITTED: number;
readonly MS_MANIPULATION_STATE_DRAGGING: number;
readonly MS_MANIPULATION_STATE_INERTIA: number;
readonly MS_MANIPULATION_STATE_PRESELECT: number;
readonly MS_MANIPULATION_STATE_SELECTING: number;
readonly MS_MANIPULATION_STATE_STOPPED: number;
}
declare var MSManipulationEvent: {
prototype: MSManipulationEvent;
new(): MSManipulationEvent;
readonly MS_MANIPULATION_STATE_ACTIVE: number;
readonly MS_MANIPULATION_STATE_CANCELLED: number;
readonly MS_MANIPULATION_STATE_COMMITTED: number;
readonly MS_MANIPULATION_STATE_DRAGGING: number;
readonly MS_MANIPULATION_STATE_INERTIA: number;
readonly MS_MANIPULATION_STATE_PRESELECT: number;
readonly MS_MANIPULATION_STATE_SELECTING: number;
readonly MS_MANIPULATION_STATE_STOPPED: number;
};
interface MSMediaKeyError {
readonly code: number;
readonly systemCode: number;
readonly MS_MEDIA_KEYERR_CLIENT: number;
readonly MS_MEDIA_KEYERR_DOMAIN: number;
readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number;
readonly MS_MEDIA_KEYERR_OUTPUT: number;
readonly MS_MEDIA_KEYERR_SERVICE: number;
readonly MS_MEDIA_KEYERR_UNKNOWN: number;
}
declare var MSMediaKeyError: {
prototype: MSMediaKeyError;
new(): MSMediaKeyError;
readonly MS_MEDIA_KEYERR_CLIENT: number;
readonly MS_MEDIA_KEYERR_DOMAIN: number;
readonly MS_MEDIA_KEYERR_HARDWARECHANGE: number;
readonly MS_MEDIA_KEYERR_OUTPUT: number;
readonly MS_MEDIA_KEYERR_SERVICE: number;
readonly MS_MEDIA_KEYERR_UNKNOWN: number;
};
interface MSMediaKeyMessageEvent extends Event {
readonly destinationURL: string | null;
readonly message: Uint8Array;
}
declare var MSMediaKeyMessageEvent: {
prototype: MSMediaKeyMessageEvent;
new(): MSMediaKeyMessageEvent;
};
interface MSMediaKeyNeededEvent extends Event {
readonly initData: Uint8Array | null;
}
declare var MSMediaKeyNeededEvent: {
prototype: MSMediaKeyNeededEvent;
new(): MSMediaKeyNeededEvent;
};
interface MSMediaKeys {
readonly keySystem: string;
createSession(type: string, initData: Uint8Array, cdmData?: Uint8Array): MSMediaKeySession;
}
declare var MSMediaKeys: {
prototype: MSMediaKeys;
new(keySystem: string): MSMediaKeys;
isTypeSupported(keySystem: string, type?: string): boolean;
isTypeSupportedWithFeatures(keySystem: string, type?: string): string;
};
interface MSMediaKeySession extends EventTarget {
readonly error: MSMediaKeyError | null;
readonly keySystem: string;
readonly sessionId: string;
close(): void;
update(key: Uint8Array): void;
}
declare var MSMediaKeySession: {
prototype: MSMediaKeySession;
new(): MSMediaKeySession;
};
interface MSPointerEvent extends MouseEvent {
readonly currentPoint: any;
readonly height: number;
readonly hwTimestamp: number;
readonly intermediatePoints: any;
readonly isPrimary: boolean;
readonly pointerId: number;
readonly pointerType: any;
readonly pressure: number;
readonly rotation: number;
readonly tiltX: number;
readonly tiltY: number;
readonly width: number;
getCurrentPoint(element: Element): void;
getIntermediatePoints(element: Element): void;
initPointerEvent(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, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void;
}
declare var MSPointerEvent: {
prototype: MSPointerEvent;
new(typeArg: string, eventInitDict?: PointerEventInit): MSPointerEvent;
};
interface MSRangeCollection {
readonly length: number;
item(index: number): Range;
[index: number]: Range;
}
declare var MSRangeCollection: {
prototype: MSRangeCollection;
new(): MSRangeCollection;
};
interface MSSiteModeEvent extends Event {
readonly actionURL: string;
readonly buttonID: number;
}
declare var MSSiteModeEvent: {
prototype: MSSiteModeEvent;
new(): MSSiteModeEvent;
};
interface MSStream {
readonly type: string;
msClose(): void;
msDetachStream(): any;
}
declare var MSStream: {
prototype: MSStream;
new(): MSStream;
};
interface MSStreamReader extends EventTarget, MSBaseReader {
readonly error: DOMError;
readAsArrayBuffer(stream: MSStream, size?: number): void;
readAsBinaryString(stream: MSStream, size?: number): void;
readAsBlob(stream: MSStream, size?: number): void;
readAsDataURL(stream: MSStream, size?: number): void;
readAsText(stream: MSStream, encoding?: string, size?: number): void;
addEventListener<K extends keyof MSBaseReaderEventMap>(type: K, listener: (this: MSStreamReader, ev: MSBaseReaderEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MSBaseReaderEventMap>(type: K, listener: (this: MSStreamReader, ev: MSBaseReaderEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MSStreamReader: {
prototype: MSStreamReader;
new(): MSStreamReader;
};
interface MSWebViewAsyncOperationEventMap {
"complete": Event;
"error": Event;
}
interface MSWebViewAsyncOperation extends EventTarget {
readonly error: DOMError;
oncomplete: (this: MSWebViewAsyncOperation, ev: Event) => any;
onerror: (this: MSWebViewAsyncOperation, ev: Event) => any;
readonly readyState: number;
readonly result: any;
readonly target: MSHTMLWebViewElement;
readonly type: number;
start(): void;
readonly COMPLETED: number;
readonly ERROR: number;
readonly STARTED: number;
readonly TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM: number;
readonly TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION: number;
readonly TYPE_INVOKE_SCRIPT: number;
addEventListener<K extends keyof MSWebViewAsyncOperationEventMap>(type: K, listener: (this: MSWebViewAsyncOperation, ev: MSWebViewAsyncOperationEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MSWebViewAsyncOperationEventMap>(type: K, listener: (this: MSWebViewAsyncOperation, ev: MSWebViewAsyncOperationEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var MSWebViewAsyncOperation: {
prototype: MSWebViewAsyncOperation;
new(): MSWebViewAsyncOperation;
readonly COMPLETED: number;
readonly ERROR: number;
readonly STARTED: number;
readonly TYPE_CAPTURE_PREVIEW_TO_RANDOM_ACCESS_STREAM: number;
readonly TYPE_CREATE_DATA_PACKAGE_FROM_SELECTION: number;
readonly TYPE_INVOKE_SCRIPT: number;
};
interface MSWebViewSettings {
isIndexedDBEnabled: boolean;
isJavaScriptEnabled: boolean;
}
declare var MSWebViewSettings: {
prototype: MSWebViewSettings;
new(): MSWebViewSettings;
};
interface MutationEvent extends Event {
readonly attrChange: number;
readonly attrName: string;
readonly newValue: string;
readonly prevValue: string;
readonly relatedNode: Node;
initMutationEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, relatedNodeArg: Node, prevValueArg: string, newValueArg: string, attrNameArg: string, attrChangeArg: number): void;
readonly ADDITION: number;
readonly MODIFICATION: number;
readonly REMOVAL: number;
}
declare var MutationEvent: {
prototype: MutationEvent;
new(): MutationEvent;
readonly ADDITION: number;
readonly MODIFICATION: number;
readonly REMOVAL: number;
};
interface MutationObserver {
disconnect(): void;
observe(target: Node, options: MutationObserverInit): void;
takeRecords(): MutationRecord[];
}
declare var MutationObserver: {
prototype: MutationObserver;
new(callback: MutationCallback): MutationObserver;
};
interface MutationRecord {
readonly addedNodes: NodeList;
readonly attributeName: string | null;
readonly attributeNamespace: string | null;
readonly nextSibling: Node | null;
readonly oldValue: string | null;
readonly previousSibling: Node | null;
readonly removedNodes: NodeList;
readonly target: Node;
readonly type: string;
}
declare var MutationRecord: {
prototype: MutationRecord;
new(): MutationRecord;
};
interface NamedNodeMap {
readonly length: number;
getNamedItem(name: string): Attr;
getNamedItemNS(namespaceURI: string | null, localName: string | null): Attr;
item(index: number): Attr;
removeNamedItem(name: string): Attr;
removeNamedItemNS(namespaceURI: string | null, localName: string | null): Attr;
setNamedItem(arg: Attr): Attr;
setNamedItemNS(arg: Attr): Attr;
[index: number]: Attr;
}
declare var NamedNodeMap: {
prototype: NamedNodeMap;
new(): NamedNodeMap;
};
interface NavigationCompletedEvent extends NavigationEvent {
readonly isSuccess: boolean;
readonly webErrorStatus: number;
}
declare var NavigationCompletedEvent: {
prototype: NavigationCompletedEvent;
new(): NavigationCompletedEvent;
};
interface NavigationEvent extends Event {
readonly uri: string;
}
declare var NavigationEvent: {
prototype: NavigationEvent;
new(): NavigationEvent;
};
interface NavigationEventWithReferrer extends NavigationEvent {
readonly referer: string;
}
declare var NavigationEventWithReferrer: {
prototype: NavigationEventWithReferrer;
new(): NavigationEventWithReferrer;
};
interface Navigator extends Object, NavigatorID, NavigatorOnLine, NavigatorContentUtils, NavigatorStorageUtils, NavigatorGeolocation, MSNavigatorDoNotTrack, MSFileSaver, NavigatorBeacon, NavigatorConcurrentHardware, NavigatorUserMedia {
readonly authentication: WebAuthentication;
readonly cookieEnabled: boolean;
gamepadInputEmulation: GamepadInputEmulationType;
readonly language: string;
readonly maxTouchPoints: number;
readonly mimeTypes: MimeTypeArray;
readonly msManipulationViewsEnabled: boolean;
readonly msMaxTouchPoints: number;
readonly msPointerEnabled: boolean;
readonly plugins: PluginArray;
readonly pointerEnabled: boolean;
readonly serviceWorker: ServiceWorkerContainer;
readonly webdriver: boolean;
readonly doNotTrack: string | null;
readonly hardwareConcurrency: number;
readonly languages: string[];
getGamepads(): Gamepad[];
javaEnabled(): boolean;
msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void;
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;
vibrate(pattern: number | number[]): boolean;
}
declare var Navigator: {
prototype: Navigator;
new(): Navigator;
};
interface Node extends EventTarget {
readonly attributes: NamedNodeMap;
readonly baseURI: string | null;
readonly childNodes: NodeList;
readonly firstChild: Node | null;
readonly lastChild: Node | null;
readonly localName: string | null;
readonly namespaceURI: string | null;
readonly nextSibling: Node | null;
readonly nodeName: string;
readonly nodeType: number;
nodeValue: string | null;
readonly ownerDocument: Document;
readonly parentElement: HTMLElement | null;
readonly parentNode: Node | null;
readonly previousSibling: Node | null;
textContent: string | null;
appendChild<T extends Node>(newChild: T): T;
cloneNode(deep?: boolean): Node;
compareDocumentPosition(other: Node): number;
contains(child: Node): boolean;
hasAttributes(): boolean;
hasChildNodes(): boolean;
insertBefore<T extends Node>(newChild: T, refChild: Node | null): T;
isDefaultNamespace(namespaceURI: string | null): boolean;
isEqualNode(arg: Node): boolean;
isSameNode(other: Node): boolean;
lookupNamespaceURI(prefix: string | null): string | null;
lookupPrefix(namespaceURI: string | null): string | null;
normalize(): void;
removeChild<T extends Node>(oldChild: T): T;
replaceChild<T extends Node>(newChild: Node, oldChild: T): T;
readonly ATTRIBUTE_NODE: number;
readonly CDATA_SECTION_NODE: number;
readonly COMMENT_NODE: number;
readonly DOCUMENT_FRAGMENT_NODE: number;
readonly DOCUMENT_NODE: number;
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
readonly DOCUMENT_POSITION_CONTAINS: number;
readonly DOCUMENT_POSITION_DISCONNECTED: number;
readonly DOCUMENT_POSITION_FOLLOWING: number;
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
readonly DOCUMENT_POSITION_PRECEDING: number;
readonly DOCUMENT_TYPE_NODE: number;
readonly ELEMENT_NODE: number;
readonly ENTITY_NODE: number;
readonly ENTITY_REFERENCE_NODE: number;
readonly NOTATION_NODE: number;
readonly PROCESSING_INSTRUCTION_NODE: number;
readonly TEXT_NODE: number;
}
declare var Node: {
prototype: Node;
new(): Node;
readonly ATTRIBUTE_NODE: number;
readonly CDATA_SECTION_NODE: number;
readonly COMMENT_NODE: number;
readonly DOCUMENT_FRAGMENT_NODE: number;
readonly DOCUMENT_NODE: number;
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
readonly DOCUMENT_POSITION_CONTAINS: number;
readonly DOCUMENT_POSITION_DISCONNECTED: number;
readonly DOCUMENT_POSITION_FOLLOWING: number;
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
readonly DOCUMENT_POSITION_PRECEDING: number;
readonly DOCUMENT_TYPE_NODE: number;
readonly ELEMENT_NODE: number;
readonly ENTITY_NODE: number;
readonly ENTITY_REFERENCE_NODE: number;
readonly NOTATION_NODE: number;
readonly PROCESSING_INSTRUCTION_NODE: number;
readonly TEXT_NODE: number;
};
interface NodeFilter {
acceptNode(n: Node): number;
}
declare var NodeFilter: {
readonly FILTER_ACCEPT: number;
readonly FILTER_REJECT: number;
readonly FILTER_SKIP: number;
readonly SHOW_ALL: number;
readonly SHOW_ATTRIBUTE: number;
readonly SHOW_CDATA_SECTION: number;
readonly SHOW_COMMENT: number;
readonly SHOW_DOCUMENT: number;
readonly SHOW_DOCUMENT_FRAGMENT: number;
readonly SHOW_DOCUMENT_TYPE: number;
readonly SHOW_ELEMENT: number;
readonly SHOW_ENTITY: number;
readonly SHOW_ENTITY_REFERENCE: number;
readonly SHOW_NOTATION: number;
readonly SHOW_PROCESSING_INSTRUCTION: number;
readonly SHOW_TEXT: number;
};
interface NodeIterator {
readonly expandEntityReferences: boolean;
readonly filter: NodeFilter;
readonly root: Node;
readonly whatToShow: number;
detach(): void;
nextNode(): Node;
previousNode(): Node;
}
declare var NodeIterator: {
prototype: NodeIterator;
new(): NodeIterator;
};
interface NodeList {
readonly length: number;
item(index: number): Node;
[index: number]: Node;
}
declare var NodeList: {
prototype: NodeList;
new(): NodeList;
};
interface NotificationEventMap {
"click": Event;
"close": Event;
"error": Event;
"show": Event;
}
interface Notification extends EventTarget {
readonly body: string;
readonly dir: NotificationDirection;
readonly icon: string;
readonly lang: string;
onclick: (this: Notification, ev: Event) => any;
onclose: (this: Notification, ev: Event) => any;
onerror: (this: Notification, ev: Event) => any;
onshow: (this: Notification, ev: Event) => any;
readonly permission: NotificationPermission;
readonly tag: string;
readonly title: string;
close(): void;
addEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof NotificationEventMap>(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
requestPermission(callback?: NotificationPermissionCallback): Promise<NotificationPermission>;
};
interface OES_element_index_uint {
}
declare var OES_element_index_uint: {
prototype: OES_element_index_uint;
new(): OES_element_index_uint;
};
interface OES_standard_derivatives {
readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: number;
}
declare var OES_standard_derivatives: {
prototype: OES_standard_derivatives;
new(): OES_standard_derivatives;
readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: number;
};
interface OES_texture_float {
}
declare var OES_texture_float: {
prototype: OES_texture_float;
new(): OES_texture_float;
};
interface OES_texture_float_linear {
}
declare var OES_texture_float_linear: {
prototype: OES_texture_float_linear;
new(): OES_texture_float_linear;
};
interface OES_texture_half_float {
readonly HALF_FLOAT_OES: number;
}
declare var OES_texture_half_float: {
prototype: OES_texture_half_float;
new(): OES_texture_half_float;
readonly HALF_FLOAT_OES: number;
};
interface OES_texture_half_float_linear {
}
declare var OES_texture_half_float_linear: {
prototype: OES_texture_half_float_linear;
new(): OES_texture_half_float_linear;
};
interface OfflineAudioCompletionEvent extends Event {
readonly renderedBuffer: AudioBuffer;
}
declare var OfflineAudioCompletionEvent: {
prototype: OfflineAudioCompletionEvent;
new(): OfflineAudioCompletionEvent;
};
interface OfflineAudioContextEventMap extends AudioContextEventMap {
"complete": OfflineAudioCompletionEvent;
}
interface OfflineAudioContext extends AudioContextBase {
readonly length: number;
oncomplete: (this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any;
startRendering(): Promise<AudioBuffer>;
suspend(suspendTime: number): Promise<void>;
addEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof OfflineAudioContextEventMap>(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var OfflineAudioContext: {
prototype: OfflineAudioContext;
new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext;
};
interface OscillatorNodeEventMap {
"ended": MediaStreamErrorEvent;
}
interface OscillatorNode extends AudioNode {
readonly detune: AudioParam;
readonly frequency: AudioParam;
onended: (this: OscillatorNode, ev: MediaStreamErrorEvent) => any;
type: OscillatorType;
setPeriodicWave(periodicWave: PeriodicWave): void;
start(when?: number): void;
stop(when?: number): void;
addEventListener<K extends keyof OscillatorNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: OscillatorNodeEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof OscillatorNodeEventMap>(type: K, listener: (this: OscillatorNode, ev: OscillatorNodeEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var OscillatorNode: {
prototype: OscillatorNode;
new(): OscillatorNode;
};
interface OverflowEvent extends UIEvent {
readonly horizontalOverflow: boolean;
readonly orient: number;
readonly verticalOverflow: boolean;
readonly BOTH: number;
readonly HORIZONTAL: number;
readonly VERTICAL: number;
}
declare var OverflowEvent: {
prototype: OverflowEvent;
new(): OverflowEvent;
readonly BOTH: number;
readonly HORIZONTAL: number;
readonly VERTICAL: number;
};
interface PageTransitionEvent extends Event {
readonly persisted: boolean;
}
declare var PageTransitionEvent: {
prototype: PageTransitionEvent;
new(): PageTransitionEvent;
};
interface PannerNode extends AudioNode {
coneInnerAngle: number;
coneOuterAngle: number;
coneOuterGain: number;
distanceModel: DistanceModelType;
maxDistance: number;
panningModel: PanningModelType;
refDistance: number;
rolloffFactor: number;
setOrientation(x: number, y: number, z: number): void;
setPosition(x: number, y: number, z: number): void;
setVelocity(x: number, y: number, z: number): void;
}
declare var PannerNode: {
prototype: PannerNode;
new(): PannerNode;
};
interface Path2D extends Object, CanvasPathMethods {
}
declare var Path2D: {
prototype: Path2D;
new(path?: Path2D): Path2D;
};
interface PaymentAddress {
readonly addressLine: string[];
readonly city: string;
readonly country: string;
readonly dependentLocality: string;
readonly languageCode: string;
readonly organization: string;
readonly phone: string;
readonly postalCode: string;
readonly recipient: string;
readonly region: string;
readonly sortingCode: string;
toJSON(): any;
}
declare var PaymentAddress: {
prototype: PaymentAddress;
new(): PaymentAddress;
};
interface PaymentRequestEventMap {
"shippingaddresschange": Event;
"shippingoptionchange": Event;
}
interface PaymentRequest extends EventTarget {
onshippingaddresschange: (this: PaymentRequest, ev: Event) => any;
onshippingoptionchange: (this: PaymentRequest, ev: Event) => any;
readonly shippingAddress: PaymentAddress | null;
readonly shippingOption: string | null;
readonly shippingType: PaymentShippingType | null;
abort(): Promise<void>;
show(): Promise<PaymentResponse>;
addEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var PaymentRequest: {
prototype: PaymentRequest;
new(methodData: PaymentMethodData[], details: PaymentDetails, options?: PaymentOptions): PaymentRequest;
};
interface PaymentRequestUpdateEvent extends Event {
updateWith(d: Promise<PaymentDetails>): void;
}
declare var PaymentRequestUpdateEvent: {
prototype: PaymentRequestUpdateEvent;
new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;
};
interface PaymentResponse {
readonly details: any;
readonly methodName: string;
readonly payerEmail: string | null;
readonly payerName: string | null;
readonly payerPhone: string | null;
readonly shippingAddress: PaymentAddress | null;
readonly shippingOption: string | null;
complete(result?: PaymentComplete): Promise<void>;
toJSON(): any;
}
declare var PaymentResponse: {
prototype: PaymentResponse;
new(): PaymentResponse;
};
interface Performance {
readonly navigation: PerformanceNavigation;
readonly timing: PerformanceTiming;
clearMarks(markName?: string): void;
clearMeasures(measureName?: string): void;
clearResourceTimings(): void;
getEntries(): any;
getEntriesByName(name: string, entryType?: string): any;
getEntriesByType(entryType: string): any;
getMarks(markName?: string): any;
getMeasures(measureName?: string): any;
mark(markName: string): void;
measure(measureName: string, startMarkName?: string, endMarkName?: string): void;
now(): number;
setResourceTimingBufferSize(maxSize: number): void;
toJSON(): any;
}
declare var Performance: {
prototype: Performance;
new(): Performance;
};
interface PerformanceEntry {
readonly duration: number;
readonly entryType: string;
readonly name: string;
readonly startTime: number;
}
declare var PerformanceEntry: {
prototype: PerformanceEntry;
new(): PerformanceEntry;
};
interface PerformanceMark extends PerformanceEntry {
}
declare var PerformanceMark: {
prototype: PerformanceMark;
new(): PerformanceMark;
};
interface PerformanceMeasure extends PerformanceEntry {
}
declare var PerformanceMeasure: {
prototype: PerformanceMeasure;
new(): PerformanceMeasure;
};
interface PerformanceNavigation {
readonly redirectCount: number;
readonly type: number;
toJSON(): any;
readonly TYPE_BACK_FORWARD: number;
readonly TYPE_NAVIGATE: number;
readonly TYPE_RELOAD: number;
readonly TYPE_RESERVED: number;
}
declare var PerformanceNavigation: {
prototype: PerformanceNavigation;
new(): PerformanceNavigation;
readonly TYPE_BACK_FORWARD: number;
readonly TYPE_NAVIGATE: number;
readonly TYPE_RELOAD: number;
readonly TYPE_RESERVED: number;
};
interface PerformanceNavigationTiming extends PerformanceEntry {
readonly connectEnd: number;
readonly connectStart: number;
readonly domainLookupEnd: number;
readonly domainLookupStart: number;
readonly domComplete: number;
readonly domContentLoadedEventEnd: number;
readonly domContentLoadedEventStart: number;
readonly domInteractive: number;
readonly domLoading: number;
readonly fetchStart: number;
readonly loadEventEnd: number;
readonly loadEventStart: number;
readonly navigationStart: number;
readonly redirectCount: number;
readonly redirectEnd: number;
readonly redirectStart: number;
readonly requestStart: number;
readonly responseEnd: number;
readonly responseStart: number;
readonly type: NavigationType;
readonly unloadEventEnd: number;
readonly unloadEventStart: number;
}
declare var PerformanceNavigationTiming: {
prototype: PerformanceNavigationTiming;
new(): PerformanceNavigationTiming;
};
interface PerformanceResourceTiming extends PerformanceEntry {
readonly connectEnd: number;
readonly connectStart: number;
readonly domainLookupEnd: number;
readonly domainLookupStart: number;
readonly fetchStart: number;
readonly initiatorType: string;
readonly redirectEnd: number;
readonly redirectStart: number;
readonly requestStart: number;
readonly responseEnd: number;
readonly responseStart: number;
}
declare var PerformanceResourceTiming: {
prototype: PerformanceResourceTiming;
new(): PerformanceResourceTiming;
};
interface PerformanceTiming {
readonly connectEnd: number;
readonly connectStart: number;
readonly domainLookupEnd: number;
readonly domainLookupStart: number;
readonly domComplete: number;
readonly domContentLoadedEventEnd: number;
readonly domContentLoadedEventStart: number;
readonly domInteractive: number;
readonly domLoading: number;
readonly fetchStart: number;
readonly loadEventEnd: number;
readonly loadEventStart: number;
readonly msFirstPaint: number;
readonly navigationStart: number;
readonly redirectEnd: number;
readonly redirectStart: number;
readonly requestStart: number;
readonly responseEnd: number;
readonly responseStart: number;
readonly unloadEventEnd: number;
readonly unloadEventStart: number;
readonly secureConnectionStart: number;
toJSON(): any;
}
declare var PerformanceTiming: {
prototype: PerformanceTiming;
new(): PerformanceTiming;
};
interface PerfWidgetExternal {
readonly activeNetworkRequestCount: number;
readonly averageFrameTime: number;
readonly averagePaintTime: number;
readonly extraInformationEnabled: boolean;
readonly independentRenderingEnabled: boolean;
readonly irDisablingContentString: string;
readonly irStatusAvailable: boolean;
readonly maxCpuSpeed: number;
readonly paintRequestsPerSecond: number;
readonly performanceCounter: number;
readonly performanceCounterFrequency: number;
addEventListener(eventType: string, callback: Function): void;
getMemoryUsage(): number;
getProcessCpuUsage(): number;
getRecentCpuUsage(last: number | null): any;
getRecentFrames(last: number | null): any;
getRecentMemoryUsage(last: number | null): any;
getRecentPaintRequests(last: number | null): any;
removeEventListener(eventType: string, callback: Function): void;
repositionWindow(x: number, y: number): void;
resizeWindow(width: number, height: number): void;
}
declare var PerfWidgetExternal: {
prototype: PerfWidgetExternal;
new(): PerfWidgetExternal;
};
interface PeriodicWave {
}
declare var PeriodicWave: {
prototype: PeriodicWave;
new(): PeriodicWave;
};
interface PermissionRequest extends DeferredPermissionRequest {
readonly state: MSWebViewPermissionState;
defer(): void;
}
declare var PermissionRequest: {
prototype: PermissionRequest;
new(): PermissionRequest;
};
interface PermissionRequestedEvent extends Event {
readonly permissionRequest: PermissionRequest;
}
declare var PermissionRequestedEvent: {
prototype: PermissionRequestedEvent;
new(): PermissionRequestedEvent;
};
interface Plugin {
readonly description: string;
readonly filename: string;
readonly length: number;
readonly name: string;
readonly version: string;
item(index: number): MimeType;
namedItem(type: string): MimeType;
[index: number]: MimeType;
}
declare var Plugin: {
prototype: Plugin;
new(): Plugin;
};
interface PluginArray {
readonly length: number;
item(index: number): Plugin;
namedItem(name: string): Plugin;
refresh(reload?: boolean): void;
[index: number]: Plugin;
}
declare var PluginArray: {
prototype: PluginArray;
new(): PluginArray;
};
interface PointerEvent extends MouseEvent {
readonly currentPoint: any;
readonly height: number;
readonly hwTimestamp: number;
readonly intermediatePoints: any;
readonly isPrimary: boolean;
readonly pointerId: number;
readonly pointerType: any;
readonly pressure: number;
readonly rotation: number;
readonly tiltX: number;
readonly tiltY: number;
readonly width: number;
getCurrentPoint(element: Element): void;
getIntermediatePoints(element: Element): void;
initPointerEvent(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, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void;
}
declare var PointerEvent: {
prototype: PointerEvent;
new(typeArg: string, eventInitDict?: PointerEventInit): PointerEvent;
};
interface PopStateEvent extends Event {
readonly state: any;
initPopStateEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, stateArg: any): void;
}
declare var PopStateEvent: {
prototype: PopStateEvent;
new(typeArg: string, eventInitDict?: PopStateEventInit): PopStateEvent;
};
interface Position {
readonly coords: Coordinates;
readonly timestamp: number;
}
declare var Position: {
prototype: Position;
new(): Position;
};
interface PositionError {
readonly code: number;
readonly message: string;
toString(): string;
readonly PERMISSION_DENIED: number;
readonly POSITION_UNAVAILABLE: number;
readonly TIMEOUT: number;
}
declare var PositionError: {
prototype: PositionError;
new(): PositionError;
readonly PERMISSION_DENIED: number;
readonly POSITION_UNAVAILABLE: number;
readonly TIMEOUT: number;
};
interface ProcessingInstruction extends CharacterData {
readonly target: string;
}
declare var ProcessingInstruction: {
prototype: ProcessingInstruction;
new(): ProcessingInstruction;
};
interface ProgressEvent extends Event {
readonly lengthComputable: boolean;
readonly loaded: number;
readonly total: number;
initProgressEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, lengthComputableArg: boolean, loadedArg: number, totalArg: number): void;
}
declare var ProgressEvent: {
prototype: ProgressEvent;
new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;
};
interface PushManager {
getSubscription(): Promise<PushSubscription>;
permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
}
declare var PushManager: {
prototype: PushManager;
new(): PushManager;
};
interface PushSubscription {
readonly endpoint: USVString;
readonly options: PushSubscriptionOptions;
getKey(name: PushEncryptionKeyName): ArrayBuffer | null;
toJSON(): any;
unsubscribe(): Promise<boolean>;
}
declare var PushSubscription: {
prototype: PushSubscription;
new(): PushSubscription;
};
interface PushSubscriptionOptions {
readonly applicationServerKey: ArrayBuffer | null;
readonly userVisibleOnly: boolean;
}
declare var PushSubscriptionOptions: {
prototype: PushSubscriptionOptions;
new(): PushSubscriptionOptions;
};
interface Range {
readonly collapsed: boolean;
readonly commonAncestorContainer: Node;
readonly endContainer: Node;
readonly endOffset: number;
readonly startContainer: Node;
readonly startOffset: number;
cloneContents(): DocumentFragment;
cloneRange(): Range;
collapse(toStart: boolean): void;
compareBoundaryPoints(how: number, sourceRange: Range): number;
createContextualFragment(fragment: string): DocumentFragment;
deleteContents(): void;
detach(): void;
expand(Unit: ExpandGranularity): boolean;
extractContents(): DocumentFragment;
getBoundingClientRect(): ClientRect;
getClientRects(): ClientRectList;
insertNode(newNode: Node): void;
selectNode(refNode: Node): void;
selectNodeContents(refNode: Node): void;
setEnd(refNode: Node, offset: number): void;
setEndAfter(refNode: Node): void;
setEndBefore(refNode: Node): void;
setStart(refNode: Node, offset: number): void;
setStartAfter(refNode: Node): void;
setStartBefore(refNode: Node): void;
surroundContents(newParent: Node): void;
toString(): string;
readonly END_TO_END: number;
readonly END_TO_START: number;
readonly START_TO_END: number;
readonly START_TO_START: number;
}
declare var Range: {
prototype: Range;
new(): Range;
readonly END_TO_END: number;
readonly END_TO_START: number;
readonly START_TO_END: number;
readonly START_TO_START: number;
};
interface ReadableStream {
readonly locked: boolean;
cancel(): Promise<void>;
getReader(): ReadableStreamReader;
}
declare var ReadableStream: {
prototype: ReadableStream;
new(): ReadableStream;
};
interface ReadableStreamReader {
cancel(): Promise<void>;
read(): Promise<any>;
releaseLock(): void;
}
declare var ReadableStreamReader: {
prototype: ReadableStreamReader;
new(): ReadableStreamReader;
};
interface Request extends Object, Body {
readonly cache: RequestCache;
readonly credentials: RequestCredentials;
readonly destination: RequestDestination;
readonly headers: Headers;
readonly integrity: string;
readonly keepalive: boolean;
readonly method: string;
readonly mode: RequestMode;
readonly redirect: RequestRedirect;
readonly referrer: string;
readonly referrerPolicy: ReferrerPolicy;
readonly type: RequestType;
readonly url: string;
clone(): Request;
}
declare var Request: {
prototype: Request;
new(input: Request | string, init?: RequestInit): Request;
};
interface Response extends Object, Body {
readonly body: ReadableStream | null;
readonly headers: Headers;
readonly ok: boolean;
readonly status: number;
readonly statusText: string;
readonly type: ResponseType;
readonly url: string;
readonly redirected: boolean;
clone(): Response;
}
declare var Response: {
prototype: Response;
new(body?: any, init?: ResponseInit): Response;
error: () => Response;
redirect: (url: string, status?: number) => Response;
};
interface RTCDtlsTransportEventMap {
"dtlsstatechange": RTCDtlsTransportStateChangedEvent;
"error": Event;
}
interface RTCDtlsTransport extends RTCStatsProvider {
ondtlsstatechange: ((this: RTCDtlsTransport, ev: RTCDtlsTransportStateChangedEvent) => any) | null;
onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null;
readonly state: RTCDtlsTransportState;
readonly transport: RTCIceTransport;
getLocalParameters(): RTCDtlsParameters;
getRemoteCertificates(): ArrayBuffer[];
getRemoteParameters(): RTCDtlsParameters | null;
start(remoteParameters: RTCDtlsParameters): void;
stop(): void;
addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var RTCDtlsTransport: {
prototype: RTCDtlsTransport;
new(transport: RTCIceTransport): RTCDtlsTransport;
};
interface RTCDtlsTransportStateChangedEvent extends Event {
readonly state: RTCDtlsTransportState;
}
declare var RTCDtlsTransportStateChangedEvent: {
prototype: RTCDtlsTransportStateChangedEvent;
new(): RTCDtlsTransportStateChangedEvent;
};
interface RTCDtmfSenderEventMap {
"tonechange": RTCDTMFToneChangeEvent;
}
interface RTCDtmfSender extends EventTarget {
readonly canInsertDTMF: boolean;
readonly duration: number;
readonly interToneGap: number;
ontonechange: (this: RTCDtmfSender, ev: RTCDTMFToneChangeEvent) => any;
readonly sender: RTCRtpSender;
readonly toneBuffer: string;
insertDTMF(tones: string, duration?: number, interToneGap?: number): void;
addEventListener<K extends keyof RTCDtmfSenderEventMap>(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCDtmfSenderEventMap>(type: K, listener: (this: RTCDtmfSender, ev: RTCDtmfSenderEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var RTCDtmfSender: {
prototype: RTCDtmfSender;
new(sender: RTCRtpSender): RTCDtmfSender;
};
interface RTCDTMFToneChangeEvent extends Event {
readonly tone: string;
}
declare var RTCDTMFToneChangeEvent: {
prototype: RTCDTMFToneChangeEvent;
new(typeArg: string, eventInitDict: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent;
};
interface RTCIceCandidate {
candidate: string | null;
sdpMid: string | null;
sdpMLineIndex: number | null;
toJSON(): any;
}
declare var RTCIceCandidate: {
prototype: RTCIceCandidate;
new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;
};
interface RTCIceCandidatePairChangedEvent extends Event {
readonly pair: RTCIceCandidatePair;
}
declare var RTCIceCandidatePairChangedEvent: {
prototype: RTCIceCandidatePairChangedEvent;
new(): RTCIceCandidatePairChangedEvent;
};
interface RTCIceGathererEventMap {
"error": Event;
"localcandidate": RTCIceGathererEvent;
}
interface RTCIceGatherer extends RTCStatsProvider {
readonly component: RTCIceComponent;
onerror: ((this: RTCIceGatherer, ev: Event) => any) | null;
onlocalcandidate: ((this: RTCIceGatherer, ev: RTCIceGathererEvent) => any) | null;
createAssociatedGatherer(): RTCIceGatherer;
getLocalCandidates(): RTCIceCandidateDictionary[];
getLocalParameters(): RTCIceParameters;
addEventListener<K extends keyof RTCIceGathererEventMap>(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCIceGathererEventMap>(type: K, listener: (this: RTCIceGatherer, ev: RTCIceGathererEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var RTCIceGatherer: {
prototype: RTCIceGatherer;
new(options: RTCIceGatherOptions): RTCIceGatherer;
};
interface RTCIceGathererEvent extends Event {
readonly candidate: RTCIceCandidateDictionary | RTCIceCandidateComplete;
}
declare var RTCIceGathererEvent: {
prototype: RTCIceGathererEvent;
new(): RTCIceGathererEvent;
};
interface RTCIceTransportEventMap {
"candidatepairchange": RTCIceCandidatePairChangedEvent;
"icestatechange": RTCIceTransportStateChangedEvent;
}
interface RTCIceTransport extends RTCStatsProvider {
readonly component: RTCIceComponent;
readonly iceGatherer: RTCIceGatherer | null;
oncandidatepairchange: ((this: RTCIceTransport, ev: RTCIceCandidatePairChangedEvent) => any) | null;
onicestatechange: ((this: RTCIceTransport, ev: RTCIceTransportStateChangedEvent) => any) | null;
readonly role: RTCIceRole;
readonly state: RTCIceTransportState;
addRemoteCandidate(remoteCandidate: RTCIceCandidateDictionary | RTCIceCandidateComplete): void;
createAssociatedTransport(): RTCIceTransport;
getNominatedCandidatePair(): RTCIceCandidatePair | null;
getRemoteCandidates(): RTCIceCandidateDictionary[];
getRemoteParameters(): RTCIceParameters | null;
setRemoteCandidates(remoteCandidates: RTCIceCandidateDictionary[]): void;
start(gatherer: RTCIceGatherer, remoteParameters: RTCIceParameters, role?: RTCIceRole): void;
stop(): void;
addEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var RTCIceTransport: {
prototype: RTCIceTransport;
new(): RTCIceTransport;
};
interface RTCIceTransportStateChangedEvent extends Event {
readonly state: RTCIceTransportState;
}
declare var RTCIceTransportStateChangedEvent: {
prototype: RTCIceTransportStateChangedEvent;
new(): RTCIceTransportStateChangedEvent;
};
interface RTCPeerConnectionEventMap {
"addstream": MediaStreamEvent;
"icecandidate": RTCPeerConnectionIceEvent;
"iceconnectionstatechange": Event;
"icegatheringstatechange": Event;
"negotiationneeded": Event;
"removestream": MediaStreamEvent;
"signalingstatechange": Event;
}
interface RTCPeerConnection extends EventTarget {
readonly canTrickleIceCandidates: boolean | null;
readonly iceConnectionState: RTCIceConnectionState;
readonly iceGatheringState: RTCIceGatheringState;
readonly localDescription: RTCSessionDescription | null;
onaddstream: (this: RTCPeerConnection, ev: MediaStreamEvent) => any;
onicecandidate: (this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any;
oniceconnectionstatechange: (this: RTCPeerConnection, ev: Event) => any;
onicegatheringstatechange: (this: RTCPeerConnection, ev: Event) => any;
onnegotiationneeded: (this: RTCPeerConnection, ev: Event) => any;
onremovestream: (this: RTCPeerConnection, ev: MediaStreamEvent) => any;
onsignalingstatechange: (this: RTCPeerConnection, ev: Event) => any;
readonly remoteDescription: RTCSessionDescription | null;
readonly signalingState: RTCSignalingState;
addIceCandidate(candidate: RTCIceCandidate, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise<void>;
addStream(stream: MediaStream): void;
close(): void;
createAnswer(successCallback?: RTCSessionDescriptionCallback, failureCallback?: RTCPeerConnectionErrorCallback): Promise<RTCSessionDescription>;
createOffer(successCallback?: RTCSessionDescriptionCallback, failureCallback?: RTCPeerConnectionErrorCallback, options?: RTCOfferOptions): Promise<RTCSessionDescription>;
getConfiguration(): RTCConfiguration;
getLocalStreams(): MediaStream[];
getRemoteStreams(): MediaStream[];
getStats(selector: MediaStreamTrack | null, successCallback?: RTCStatsCallback, failureCallback?: RTCPeerConnectionErrorCallback): Promise<RTCStatsReport>;
getStreamById(streamId: string): MediaStream | null;
removeStream(stream: MediaStream): void;
setLocalDescription(description: RTCSessionDescription, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise<void>;
setRemoteDescription(description: RTCSessionDescription, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise<void>;
addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var RTCPeerConnection: {
prototype: RTCPeerConnection;
new(configuration: RTCConfiguration): RTCPeerConnection;
};
interface RTCPeerConnectionIceEvent extends Event {
readonly candidate: RTCIceCandidate;
}
declare var RTCPeerConnectionIceEvent: {
prototype: RTCPeerConnectionIceEvent;
new(type: string, eventInitDict: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent;
};
interface RTCRtpReceiverEventMap {
"error": Event;
}
interface RTCRtpReceiver extends RTCStatsProvider {
onerror: ((this: RTCRtpReceiver, ev: Event) => any) | null;
readonly rtcpTransport: RTCDtlsTransport;
readonly track: MediaStreamTrack | null;
readonly transport: RTCDtlsTransport | RTCSrtpSdesTransport;
getContributingSources(): RTCRtpContributingSource[];
receive(parameters: RTCRtpParameters): void;
requestSendCSRC(csrc: number): void;
setTransport(transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): void;
stop(): void;
addEventListener<K extends keyof RTCRtpReceiverEventMap>(type: K, listener: (this: RTCRtpReceiver, ev: RTCRtpReceiverEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCRtpReceiverEventMap>(type: K, listener: (this: RTCRtpReceiver, ev: RTCRtpReceiverEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var RTCRtpReceiver: {
prototype: RTCRtpReceiver;
new(transport: RTCDtlsTransport | RTCSrtpSdesTransport, kind: string, rtcpTransport?: RTCDtlsTransport): RTCRtpReceiver;
getCapabilities(kind?: string): RTCRtpCapabilities;
};
interface RTCRtpSenderEventMap {
"error": Event;
"ssrcconflict": RTCSsrcConflictEvent;
}
interface RTCRtpSender extends RTCStatsProvider {
onerror: ((this: RTCRtpSender, ev: Event) => any) | null;
onssrcconflict: ((this: RTCRtpSender, ev: RTCSsrcConflictEvent) => any) | null;
readonly rtcpTransport: RTCDtlsTransport;
readonly track: MediaStreamTrack;
readonly transport: RTCDtlsTransport | RTCSrtpSdesTransport;
send(parameters: RTCRtpParameters): void;
setTrack(track: MediaStreamTrack): void;
setTransport(transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): void;
stop(): void;
addEventListener<K extends keyof RTCRtpSenderEventMap>(type: K, listener: (this: RTCRtpSender, ev: RTCRtpSenderEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCRtpSenderEventMap>(type: K, listener: (this: RTCRtpSender, ev: RTCRtpSenderEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var RTCRtpSender: {
prototype: RTCRtpSender;
new(track: MediaStreamTrack, transport: RTCDtlsTransport | RTCSrtpSdesTransport, rtcpTransport?: RTCDtlsTransport): RTCRtpSender;
getCapabilities(kind?: string): RTCRtpCapabilities;
};
interface RTCSessionDescription {
sdp: string | null;
type: RTCSdpType | null;
toJSON(): any;
}
declare var RTCSessionDescription: {
prototype: RTCSessionDescription;
new(descriptionInitDict?: RTCSessionDescriptionInit): RTCSessionDescription;
};
interface RTCSrtpSdesTransportEventMap {
"error": Event;
}
interface RTCSrtpSdesTransport extends EventTarget {
onerror: ((this: RTCSrtpSdesTransport, ev: Event) => any) | null;
readonly transport: RTCIceTransport;
addEventListener<K extends keyof RTCSrtpSdesTransportEventMap>(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCSrtpSdesTransportEventMap>(type: K, listener: (this: RTCSrtpSdesTransport, ev: RTCSrtpSdesTransportEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var RTCSrtpSdesTransport: {
prototype: RTCSrtpSdesTransport;
new(transport: RTCIceTransport, encryptParameters: RTCSrtpSdesParameters, decryptParameters: RTCSrtpSdesParameters): RTCSrtpSdesTransport;
getLocalParameters(): RTCSrtpSdesParameters[];
};
interface RTCSsrcConflictEvent extends Event {
readonly ssrc: number;
}
declare var RTCSsrcConflictEvent: {
prototype: RTCSsrcConflictEvent;
new(): RTCSsrcConflictEvent;
};
interface RTCStatsProvider extends EventTarget {
getStats(): Promise<RTCStatsReport>;
msGetStats(): Promise<RTCStatsReport>;
}
declare var RTCStatsProvider: {
prototype: RTCStatsProvider;
new(): RTCStatsProvider;
};
interface ScopedCredential {
readonly id: ArrayBuffer;
readonly type: ScopedCredentialType;
}
declare var ScopedCredential: {
prototype: ScopedCredential;
new(): ScopedCredential;
};
interface ScopedCredentialInfo {
readonly credential: ScopedCredential;
readonly publicKey: CryptoKey;
}
declare var ScopedCredentialInfo: {
prototype: ScopedCredentialInfo;
new(): ScopedCredentialInfo;
};
interface ScreenEventMap {
"MSOrientationChange": Event;
}
interface Screen extends EventTarget {
readonly availHeight: number;
readonly availWidth: number;
bufferDepth: number;
readonly colorDepth: number;
readonly deviceXDPI: number;
readonly deviceYDPI: number;
readonly fontSmoothingEnabled: boolean;
readonly height: number;
readonly logicalXDPI: number;
readonly logicalYDPI: number;
readonly msOrientation: string;
onmsorientationchange: (this: Screen, ev: Event) => any;
readonly pixelDepth: number;
readonly systemXDPI: number;
readonly systemYDPI: number;
readonly width: number;
msLockOrientation(orientations: string | string[]): boolean;
msUnlockOrientation(): void;
addEventListener<K extends keyof ScreenEventMap>(type: K, listener: (this: Screen, ev: ScreenEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof ScreenEventMap>(type: K, listener: (this: Screen, ev: ScreenEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var Screen: {
prototype: Screen;
new(): Screen;
};
interface ScriptNotifyEvent extends Event {
readonly callingUri: string;
readonly value: string;
}
declare var ScriptNotifyEvent: {
prototype: ScriptNotifyEvent;
new(): ScriptNotifyEvent;
};
interface ScriptProcessorNodeEventMap {
"audioprocess": AudioProcessingEvent;
}
interface ScriptProcessorNode extends AudioNode {
readonly bufferSize: number;
onaudioprocess: (this: ScriptProcessorNode, ev: AudioProcessingEvent) => any;
addEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof ScriptProcessorNodeEventMap>(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var ScriptProcessorNode: {
prototype: ScriptProcessorNode;
new(): ScriptProcessorNode;
};
interface Selection {
readonly anchorNode: Node;
readonly anchorOffset: number;
readonly baseNode: Node;
readonly baseOffset: number;
readonly extentNode: Node;
readonly extentOffset: number;
readonly focusNode: Node;
readonly focusOffset: number;
readonly isCollapsed: boolean;
readonly rangeCount: number;
readonly type: string;
addRange(range: Range): void;
collapse(parentNode: Node, offset: number): void;
collapseToEnd(): void;
collapseToStart(): void;
containsNode(node: Node, partlyContained: boolean): boolean;
deleteFromDocument(): void;
empty(): void;
extend(newNode: Node, offset: number): void;
getRangeAt(index: number): Range;
removeAllRanges(): void;
removeRange(range: Range): void;
selectAllChildren(parentNode: Node): void;
setBaseAndExtent(baseNode: Node, baseOffset: number, extentNode: Node, extentOffset: number): void;
setPosition(parentNode: Node, offset: number): void;
toString(): string;
}
declare var Selection: {
prototype: Selection;
new(): Selection;
};
interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
"statechange": Event;
}
interface ServiceWorker extends EventTarget, AbstractWorker {
onstatechange: (this: ServiceWorker, ev: Event) => any;
readonly scriptURL: USVString;
readonly state: ServiceWorkerState;
postMessage(message: any, transfer?: any[]): void;
addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var ServiceWorker: {
prototype: ServiceWorker;
new(): ServiceWorker;
};
interface ServiceWorkerContainerEventMap {
"controllerchange": Event;
"message": ServiceWorkerMessageEvent;
}
interface ServiceWorkerContainer extends EventTarget {
readonly controller: ServiceWorker | null;
oncontrollerchange: (this: ServiceWorkerContainer, ev: Event) => any;
onmessage: (this: ServiceWorkerContainer, ev: ServiceWorkerMessageEvent) => any;
readonly ready: Promise<ServiceWorkerRegistration>;
getRegistration(): Promise<ServiceWorkerRegistration | undefined>;
getRegistrations(): Promise<ServiceWorkerRegistration[]>;
register(scriptURL: USVString, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;
addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var ServiceWorkerContainer: {
prototype: ServiceWorkerContainer;
new(): ServiceWorkerContainer;
};
interface ServiceWorkerMessageEvent extends Event {
readonly data: any;
readonly lastEventId: string;
readonly origin: string;
readonly ports: MessagePort[] | null;
readonly source: ServiceWorker | MessagePort | null;
}
declare var ServiceWorkerMessageEvent: {
prototype: ServiceWorkerMessageEvent;
new(type: string, eventInitDict?: ServiceWorkerMessageEventInit): ServiceWorkerMessageEvent;
};
interface ServiceWorkerRegistrationEventMap {
"updatefound": Event;
}
interface ServiceWorkerRegistration extends EventTarget {
readonly active: ServiceWorker | null;
readonly installing: ServiceWorker | null;
onupdatefound: (this: ServiceWorkerRegistration, ev: Event) => any;
readonly pushManager: PushManager;
readonly scope: USVString;
readonly sync: SyncManager;
readonly waiting: ServiceWorker | null;
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
showNotification(title: string, options?: NotificationOptions): Promise<void>;
unregister(): Promise<boolean>;
update(): Promise<void>;
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var ServiceWorkerRegistration: {
prototype: ServiceWorkerRegistration;
new(): ServiceWorkerRegistration;
};
interface SourceBuffer extends EventTarget {
appendWindowEnd: number;
appendWindowStart: number;
readonly audioTracks: AudioTrackList;
readonly buffered: TimeRanges;
mode: AppendMode;
timestampOffset: number;
readonly updating: boolean;
readonly videoTracks: VideoTrackList;
abort(): void;
appendBuffer(data: ArrayBuffer | ArrayBufferView): void;
appendStream(stream: MSStream, maxSize?: number): void;
remove(start: number, end: number): void;
}
declare var SourceBuffer: {
prototype: SourceBuffer;
new(): SourceBuffer;
};
interface SourceBufferList extends EventTarget {
readonly length: number;
item(index: number): SourceBuffer;
[index: number]: SourceBuffer;
}
declare var SourceBufferList: {
prototype: SourceBufferList;
new(): SourceBufferList;
};
interface SpeechSynthesisEventMap {
"voiceschanged": Event;
}
interface SpeechSynthesis extends EventTarget {
onvoiceschanged: (this: SpeechSynthesis, ev: Event) => any;
readonly paused: boolean;
readonly pending: boolean;
readonly speaking: boolean;
cancel(): void;
getVoices(): SpeechSynthesisVoice[];
pause(): void;
resume(): void;
speak(utterance: SpeechSynthesisUtterance): void;
addEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SpeechSynthesisEventMap>(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SpeechSynthesis: {
prototype: SpeechSynthesis;
new(): SpeechSynthesis;
};
interface SpeechSynthesisEvent extends Event {
readonly charIndex: number;
readonly elapsedTime: number;
readonly name: string;
readonly utterance: SpeechSynthesisUtterance | null;
}
declare var SpeechSynthesisEvent: {
prototype: SpeechSynthesisEvent;
new(type: string, eventInitDict?: SpeechSynthesisEventInit): SpeechSynthesisEvent;
};
interface SpeechSynthesisUtteranceEventMap {
"boundary": Event;
"end": Event;
"error": Event;
"mark": Event;
"pause": Event;
"resume": Event;
"start": Event;
}
interface SpeechSynthesisUtterance extends EventTarget {
lang: string;
onboundary: (this: SpeechSynthesisUtterance, ev: Event) => any;
onend: (this: SpeechSynthesisUtterance, ev: Event) => any;
onerror: (this: SpeechSynthesisUtterance, ev: Event) => any;
onmark: (this: SpeechSynthesisUtterance, ev: Event) => any;
onpause: (this: SpeechSynthesisUtterance, ev: Event) => any;
onresume: (this: SpeechSynthesisUtterance, ev: Event) => any;
onstart: (this: SpeechSynthesisUtterance, ev: Event) => any;
pitch: number;
rate: number;
text: string;
voice: SpeechSynthesisVoice;
volume: number;
addEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SpeechSynthesisUtteranceEventMap>(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SpeechSynthesisUtterance: {
prototype: SpeechSynthesisUtterance;
new(text?: string): SpeechSynthesisUtterance;
};
interface SpeechSynthesisVoice {
readonly default: boolean;
readonly lang: string;
readonly localService: boolean;
readonly name: string;
readonly voiceURI: string;
}
declare var SpeechSynthesisVoice: {
prototype: SpeechSynthesisVoice;
new(): SpeechSynthesisVoice;
};
interface StereoPannerNode extends AudioNode {
readonly pan: AudioParam;
}
declare var StereoPannerNode: {
prototype: StereoPannerNode;
new(): StereoPannerNode;
};
interface Storage {
readonly length: number;
clear(): void;
getItem(key: string): string | null;
key(index: number): string | null;
removeItem(key: string): void;
setItem(key: string, data: string): void;
[key: string]: any;
[index: number]: string;
}
declare var Storage: {
prototype: Storage;
new(): Storage;
};
interface StorageEvent extends Event {
readonly url: string;
key?: string;
oldValue?: string;
newValue?: string;
storageArea?: Storage;
}
declare var StorageEvent: {
prototype: StorageEvent;
new (type: string, eventInitDict?: StorageEventInit): StorageEvent;
};
interface StyleMedia {
readonly type: string;
matchMedium(mediaquery: string): boolean;
}
declare var StyleMedia: {
prototype: StyleMedia;
new(): StyleMedia;
};
interface StyleSheet {
disabled: boolean;
readonly href: string;
readonly media: MediaList;
readonly ownerNode: Node;
readonly parentStyleSheet: StyleSheet;
readonly title: string;
readonly type: string;
}
declare var StyleSheet: {
prototype: StyleSheet;
new(): StyleSheet;
};
interface StyleSheetList {
readonly length: number;
item(index?: number): StyleSheet;
[index: number]: StyleSheet;
}
declare var StyleSheetList: {
prototype: StyleSheetList;
new(): StyleSheetList;
};
interface StyleSheetPageList {
readonly length: number;
item(index: number): CSSPageRule;
[index: number]: CSSPageRule;
}
declare var StyleSheetPageList: {
prototype: StyleSheetPageList;
new(): StyleSheetPageList;
};
interface SubtleCrypto {
decrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike<ArrayBuffer>;
deriveBits(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, length: number): PromiseLike<ArrayBuffer>;
deriveKey(algorithm: string | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
digest(algorithm: AlgorithmIdentifier, data: BufferSource): PromiseLike<ArrayBuffer>;
encrypt(algorithm: string | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams, key: CryptoKey, data: BufferSource): PromiseLike<ArrayBuffer>;
exportKey(format: "jwk", key: CryptoKey): PromiseLike<JsonWebKey>;
exportKey(format: "raw" | "pkcs8" | "spki", key: CryptoKey): PromiseLike<ArrayBuffer>;
exportKey(format: string, key: CryptoKey): PromiseLike<JsonWebKey | ArrayBuffer>;
generateKey(algorithm: string, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKeyPair | CryptoKey>;
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKeyPair>;
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
importKey(format: "jwk", keyData: JsonWebKey, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
importKey(format: "raw" | "pkcs8" | "spki", keyData: BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: BufferSource): PromiseLike<ArrayBuffer>;
unwrapKey(format: string, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: BufferSource, data: BufferSource): PromiseLike<boolean>;
wrapKey(format: string, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier): PromiseLike<ArrayBuffer>;
}
declare var SubtleCrypto: {
prototype: SubtleCrypto;
new(): SubtleCrypto;
};
interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
readonly target: SVGAnimatedString;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGAElement: {
prototype: SVGAElement;
new(): SVGAElement;
};
interface SVGAngle {
readonly unitType: number;
value: number;
valueAsString: string;
valueInSpecifiedUnits: number;
convertToSpecifiedUnits(unitType: number): void;
newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;
readonly SVG_ANGLETYPE_DEG: number;
readonly SVG_ANGLETYPE_GRAD: number;
readonly SVG_ANGLETYPE_RAD: number;
readonly SVG_ANGLETYPE_UNKNOWN: number;
readonly SVG_ANGLETYPE_UNSPECIFIED: number;
}
declare var SVGAngle: {
prototype: SVGAngle;
new(): SVGAngle;
readonly SVG_ANGLETYPE_DEG: number;
readonly SVG_ANGLETYPE_GRAD: number;
readonly SVG_ANGLETYPE_RAD: number;
readonly SVG_ANGLETYPE_UNKNOWN: number;
readonly SVG_ANGLETYPE_UNSPECIFIED: number;
};
interface SVGAnimatedAngle {
readonly animVal: SVGAngle;
readonly baseVal: SVGAngle;
}
declare var SVGAnimatedAngle: {
prototype: SVGAnimatedAngle;
new(): SVGAnimatedAngle;
};
interface SVGAnimatedBoolean {
readonly animVal: boolean;
baseVal: boolean;
}
declare var SVGAnimatedBoolean: {
prototype: SVGAnimatedBoolean;
new(): SVGAnimatedBoolean;
};
interface SVGAnimatedEnumeration {
readonly animVal: number;
baseVal: number;
}
declare var SVGAnimatedEnumeration: {
prototype: SVGAnimatedEnumeration;
new(): SVGAnimatedEnumeration;
};
interface SVGAnimatedInteger {
readonly animVal: number;
baseVal: number;
}
declare var SVGAnimatedInteger: {
prototype: SVGAnimatedInteger;
new(): SVGAnimatedInteger;
};
interface SVGAnimatedLength {
readonly animVal: SVGLength;
readonly baseVal: SVGLength;
}
declare var SVGAnimatedLength: {
prototype: SVGAnimatedLength;
new(): SVGAnimatedLength;
};
interface SVGAnimatedLengthList {
readonly animVal: SVGLengthList;
readonly baseVal: SVGLengthList;
}
declare var SVGAnimatedLengthList: {
prototype: SVGAnimatedLengthList;
new(): SVGAnimatedLengthList;
};
interface SVGAnimatedNumber {
readonly animVal: number;
baseVal: number;
}
declare var SVGAnimatedNumber: {
prototype: SVGAnimatedNumber;
new(): SVGAnimatedNumber;
};
interface SVGAnimatedNumberList {
readonly animVal: SVGNumberList;
readonly baseVal: SVGNumberList;
}
declare var SVGAnimatedNumberList: {
prototype: SVGAnimatedNumberList;
new(): SVGAnimatedNumberList;
};
interface SVGAnimatedPreserveAspectRatio {
readonly animVal: SVGPreserveAspectRatio;
readonly baseVal: SVGPreserveAspectRatio;
}
declare var SVGAnimatedPreserveAspectRatio: {
prototype: SVGAnimatedPreserveAspectRatio;
new(): SVGAnimatedPreserveAspectRatio;
};
interface SVGAnimatedRect {
readonly animVal: SVGRect;
readonly baseVal: SVGRect;
}
declare var SVGAnimatedRect: {
prototype: SVGAnimatedRect;
new(): SVGAnimatedRect;
};
interface SVGAnimatedString {
readonly animVal: string;
baseVal: string;
}
declare var SVGAnimatedString: {
prototype: SVGAnimatedString;
new(): SVGAnimatedString;
};
interface SVGAnimatedTransformList {
readonly animVal: SVGTransformList;
readonly baseVal: SVGTransformList;
}
declare var SVGAnimatedTransformList: {
prototype: SVGAnimatedTransformList;
new(): SVGAnimatedTransformList;
};
interface SVGCircleElement extends SVGGraphicsElement {
readonly cx: SVGAnimatedLength;
readonly cy: SVGAnimatedLength;
readonly r: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGCircleElement: {
prototype: SVGCircleElement;
new(): SVGCircleElement;
};
interface SVGClipPathElement extends SVGGraphicsElement, SVGUnitTypes {
readonly clipPathUnits: SVGAnimatedEnumeration;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGClipPathElement: {
prototype: SVGClipPathElement;
new(): SVGClipPathElement;
};
interface SVGComponentTransferFunctionElement extends SVGElement {
readonly amplitude: SVGAnimatedNumber;
readonly exponent: SVGAnimatedNumber;
readonly intercept: SVGAnimatedNumber;
readonly offset: SVGAnimatedNumber;
readonly slope: SVGAnimatedNumber;
readonly tableValues: SVGAnimatedNumberList;
readonly type: SVGAnimatedEnumeration;
readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGComponentTransferFunctionElement: {
prototype: SVGComponentTransferFunctionElement;
new(): SVGComponentTransferFunctionElement;
readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: number;
readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: number;
};
interface SVGDefsElement extends SVGGraphicsElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGDefsElement: {
prototype: SVGDefsElement;
new(): SVGDefsElement;
};
interface SVGDescElement extends SVGElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGDescElement: {
prototype: SVGDescElement;
new(): SVGDescElement;
};
interface SVGElementEventMap extends ElementEventMap {
"click": MouseEvent;
"dblclick": MouseEvent;
"focusin": FocusEvent;
"focusout": FocusEvent;
"load": Event;
"mousedown": MouseEvent;
"mousemove": MouseEvent;
"mouseout": MouseEvent;
"mouseover": MouseEvent;
"mouseup": MouseEvent;
}
interface SVGElement extends Element {
className: any;
onclick: (this: SVGElement, ev: MouseEvent) => any;
ondblclick: (this: SVGElement, ev: MouseEvent) => any;
onfocusin: (this: SVGElement, ev: FocusEvent) => any;
onfocusout: (this: SVGElement, ev: FocusEvent) => any;
onload: (this: SVGElement, ev: Event) => any;
onmousedown: (this: SVGElement, ev: MouseEvent) => any;
onmousemove: (this: SVGElement, ev: MouseEvent) => any;
onmouseout: (this: SVGElement, ev: MouseEvent) => any;
onmouseover: (this: SVGElement, ev: MouseEvent) => any;
onmouseup: (this: SVGElement, ev: MouseEvent) => any;
readonly ownerSVGElement: SVGSVGElement;
readonly style: CSSStyleDeclaration;
readonly viewportElement: SVGElement;
xmlbase: string;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGElement: {
prototype: SVGElement;
new(): SVGElement;
};
interface SVGElementInstance extends EventTarget {
readonly childNodes: SVGElementInstanceList;
readonly correspondingElement: SVGElement;
readonly correspondingUseElement: SVGUseElement;
readonly firstChild: SVGElementInstance;
readonly lastChild: SVGElementInstance;
readonly nextSibling: SVGElementInstance;
readonly parentNode: SVGElementInstance;
readonly previousSibling: SVGElementInstance;
}
declare var SVGElementInstance: {
prototype: SVGElementInstance;
new(): SVGElementInstance;
};
interface SVGElementInstanceList {
readonly length: number;
item(index: number): SVGElementInstance;
}
declare var SVGElementInstanceList: {
prototype: SVGElementInstanceList;
new(): SVGElementInstanceList;
};
interface SVGEllipseElement extends SVGGraphicsElement {
readonly cx: SVGAnimatedLength;
readonly cy: SVGAnimatedLength;
readonly rx: SVGAnimatedLength;
readonly ry: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGEllipseElement: {
prototype: SVGEllipseElement;
new(): SVGEllipseElement;
};
interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
readonly in2: SVGAnimatedString;
readonly mode: SVGAnimatedEnumeration;
readonly SVG_FEBLEND_MODE_COLOR: number;
readonly SVG_FEBLEND_MODE_COLOR_BURN: number;
readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;
readonly SVG_FEBLEND_MODE_DARKEN: number;
readonly SVG_FEBLEND_MODE_DIFFERENCE: number;
readonly SVG_FEBLEND_MODE_EXCLUSION: number;
readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;
readonly SVG_FEBLEND_MODE_HUE: number;
readonly SVG_FEBLEND_MODE_LIGHTEN: number;
readonly SVG_FEBLEND_MODE_LUMINOSITY: number;
readonly SVG_FEBLEND_MODE_MULTIPLY: number;
readonly SVG_FEBLEND_MODE_NORMAL: number;
readonly SVG_FEBLEND_MODE_OVERLAY: number;
readonly SVG_FEBLEND_MODE_SATURATION: number;
readonly SVG_FEBLEND_MODE_SCREEN: number;
readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;
readonly SVG_FEBLEND_MODE_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEBlendElement: {
prototype: SVGFEBlendElement;
new(): SVGFEBlendElement;
readonly SVG_FEBLEND_MODE_COLOR: number;
readonly SVG_FEBLEND_MODE_COLOR_BURN: number;
readonly SVG_FEBLEND_MODE_COLOR_DODGE: number;
readonly SVG_FEBLEND_MODE_DARKEN: number;
readonly SVG_FEBLEND_MODE_DIFFERENCE: number;
readonly SVG_FEBLEND_MODE_EXCLUSION: number;
readonly SVG_FEBLEND_MODE_HARD_LIGHT: number;
readonly SVG_FEBLEND_MODE_HUE: number;
readonly SVG_FEBLEND_MODE_LIGHTEN: number;
readonly SVG_FEBLEND_MODE_LUMINOSITY: number;
readonly SVG_FEBLEND_MODE_MULTIPLY: number;
readonly SVG_FEBLEND_MODE_NORMAL: number;
readonly SVG_FEBLEND_MODE_OVERLAY: number;
readonly SVG_FEBLEND_MODE_SATURATION: number;
readonly SVG_FEBLEND_MODE_SCREEN: number;
readonly SVG_FEBLEND_MODE_SOFT_LIGHT: number;
readonly SVG_FEBLEND_MODE_UNKNOWN: number;
};
interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
readonly type: SVGAnimatedEnumeration;
readonly values: SVGAnimatedNumberList;
readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;
readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;
readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;
readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;
readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEColorMatrixElement: {
prototype: SVGFEColorMatrixElement;
new(): SVGFEColorMatrixElement;
readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: number;
readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: number;
readonly SVG_FECOLORMATRIX_TYPE_MATRIX: number;
readonly SVG_FECOLORMATRIX_TYPE_SATURATE: number;
readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: number;
};
interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEComponentTransferElement: {
prototype: SVGFEComponentTransferElement;
new(): SVGFEComponentTransferElement;
};
interface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
readonly in2: SVGAnimatedString;
readonly k1: SVGAnimatedNumber;
readonly k2: SVGAnimatedNumber;
readonly k3: SVGAnimatedNumber;
readonly k4: SVGAnimatedNumber;
readonly operator: SVGAnimatedEnumeration;
readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;
readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;
readonly SVG_FECOMPOSITE_OPERATOR_IN: number;
readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;
readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;
readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;
readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFECompositeElement: {
prototype: SVGFECompositeElement;
new(): SVGFECompositeElement;
readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: number;
readonly SVG_FECOMPOSITE_OPERATOR_ATOP: number;
readonly SVG_FECOMPOSITE_OPERATOR_IN: number;
readonly SVG_FECOMPOSITE_OPERATOR_OUT: number;
readonly SVG_FECOMPOSITE_OPERATOR_OVER: number;
readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: number;
readonly SVG_FECOMPOSITE_OPERATOR_XOR: number;
};
interface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly bias: SVGAnimatedNumber;
readonly divisor: SVGAnimatedNumber;
readonly edgeMode: SVGAnimatedEnumeration;
readonly in1: SVGAnimatedString;
readonly kernelMatrix: SVGAnimatedNumberList;
readonly kernelUnitLengthX: SVGAnimatedNumber;
readonly kernelUnitLengthY: SVGAnimatedNumber;
readonly orderX: SVGAnimatedInteger;
readonly orderY: SVGAnimatedInteger;
readonly preserveAlpha: SVGAnimatedBoolean;
readonly targetX: SVGAnimatedInteger;
readonly targetY: SVGAnimatedInteger;
readonly SVG_EDGEMODE_DUPLICATE: number;
readonly SVG_EDGEMODE_NONE: number;
readonly SVG_EDGEMODE_UNKNOWN: number;
readonly SVG_EDGEMODE_WRAP: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEConvolveMatrixElement: {
prototype: SVGFEConvolveMatrixElement;
new(): SVGFEConvolveMatrixElement;
readonly SVG_EDGEMODE_DUPLICATE: number;
readonly SVG_EDGEMODE_NONE: number;
readonly SVG_EDGEMODE_UNKNOWN: number;
readonly SVG_EDGEMODE_WRAP: number;
};
interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly diffuseConstant: SVGAnimatedNumber;
readonly in1: SVGAnimatedString;
readonly kernelUnitLengthX: SVGAnimatedNumber;
readonly kernelUnitLengthY: SVGAnimatedNumber;
readonly surfaceScale: SVGAnimatedNumber;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEDiffuseLightingElement: {
prototype: SVGFEDiffuseLightingElement;
new(): SVGFEDiffuseLightingElement;
};
interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
readonly in2: SVGAnimatedString;
readonly scale: SVGAnimatedNumber;
readonly xChannelSelector: SVGAnimatedEnumeration;
readonly yChannelSelector: SVGAnimatedEnumeration;
readonly SVG_CHANNEL_A: number;
readonly SVG_CHANNEL_B: number;
readonly SVG_CHANNEL_G: number;
readonly SVG_CHANNEL_R: number;
readonly SVG_CHANNEL_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEDisplacementMapElement: {
prototype: SVGFEDisplacementMapElement;
new(): SVGFEDisplacementMapElement;
readonly SVG_CHANNEL_A: number;
readonly SVG_CHANNEL_B: number;
readonly SVG_CHANNEL_G: number;
readonly SVG_CHANNEL_R: number;
readonly SVG_CHANNEL_UNKNOWN: number;
};
interface SVGFEDistantLightElement extends SVGElement {
readonly azimuth: SVGAnimatedNumber;
readonly elevation: SVGAnimatedNumber;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEDistantLightElement: {
prototype: SVGFEDistantLightElement;
new(): SVGFEDistantLightElement;
};
interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEFloodElement: {
prototype: SVGFEFloodElement;
new(): SVGFEFloodElement;
};
interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEFuncAElement: {
prototype: SVGFEFuncAElement;
new(): SVGFEFuncAElement;
};
interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEFuncBElement: {
prototype: SVGFEFuncBElement;
new(): SVGFEFuncBElement;
};
interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEFuncGElement: {
prototype: SVGFEFuncGElement;
new(): SVGFEFuncGElement;
};
interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEFuncRElement: {
prototype: SVGFEFuncRElement;
new(): SVGFEFuncRElement;
};
interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
readonly stdDeviationX: SVGAnimatedNumber;
readonly stdDeviationY: SVGAnimatedNumber;
setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEGaussianBlurElement: {
prototype: SVGFEGaussianBlurElement;
new(): SVGFEGaussianBlurElement;
};
interface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference {
readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEImageElement: {
prototype: SVGFEImageElement;
new(): SVGFEImageElement;
};
interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEMergeElement: {
prototype: SVGFEMergeElement;
new(): SVGFEMergeElement;
};
interface SVGFEMergeNodeElement extends SVGElement {
readonly in1: SVGAnimatedString;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEMergeNodeElement: {
prototype: SVGFEMergeNodeElement;
new(): SVGFEMergeNodeElement;
};
interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
readonly operator: SVGAnimatedEnumeration;
readonly radiusX: SVGAnimatedNumber;
readonly radiusY: SVGAnimatedNumber;
readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number;
readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;
readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEMorphologyElement: {
prototype: SVGFEMorphologyElement;
new(): SVGFEMorphologyElement;
readonly SVG_MORPHOLOGY_OPERATOR_DILATE: number;
readonly SVG_MORPHOLOGY_OPERATOR_ERODE: number;
readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: number;
};
interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly dx: SVGAnimatedNumber;
readonly dy: SVGAnimatedNumber;
readonly in1: SVGAnimatedString;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEOffsetElement: {
prototype: SVGFEOffsetElement;
new(): SVGFEOffsetElement;
};
interface SVGFEPointLightElement extends SVGElement {
readonly x: SVGAnimatedNumber;
readonly y: SVGAnimatedNumber;
readonly z: SVGAnimatedNumber;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFEPointLightElement: {
prototype: SVGFEPointLightElement;
new(): SVGFEPointLightElement;
};
interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
readonly kernelUnitLengthX: SVGAnimatedNumber;
readonly kernelUnitLengthY: SVGAnimatedNumber;
readonly specularConstant: SVGAnimatedNumber;
readonly specularExponent: SVGAnimatedNumber;
readonly surfaceScale: SVGAnimatedNumber;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFESpecularLightingElement: {
prototype: SVGFESpecularLightingElement;
new(): SVGFESpecularLightingElement;
};
interface SVGFESpotLightElement extends SVGElement {
readonly limitingConeAngle: SVGAnimatedNumber;
readonly pointsAtX: SVGAnimatedNumber;
readonly pointsAtY: SVGAnimatedNumber;
readonly pointsAtZ: SVGAnimatedNumber;
readonly specularExponent: SVGAnimatedNumber;
readonly x: SVGAnimatedNumber;
readonly y: SVGAnimatedNumber;
readonly z: SVGAnimatedNumber;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFESpotLightElement: {
prototype: SVGFESpotLightElement;
new(): SVGFESpotLightElement;
};
interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly in1: SVGAnimatedString;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFETileElement: {
prototype: SVGFETileElement;
new(): SVGFETileElement;
};
interface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
readonly baseFrequencyX: SVGAnimatedNumber;
readonly baseFrequencyY: SVGAnimatedNumber;
readonly numOctaves: SVGAnimatedInteger;
readonly seed: SVGAnimatedNumber;
readonly stitchTiles: SVGAnimatedEnumeration;
readonly type: SVGAnimatedEnumeration;
readonly SVG_STITCHTYPE_NOSTITCH: number;
readonly SVG_STITCHTYPE_STITCH: number;
readonly SVG_STITCHTYPE_UNKNOWN: number;
readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;
readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;
readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFETurbulenceElement: {
prototype: SVGFETurbulenceElement;
new(): SVGFETurbulenceElement;
readonly SVG_STITCHTYPE_NOSTITCH: number;
readonly SVG_STITCHTYPE_STITCH: number;
readonly SVG_STITCHTYPE_UNKNOWN: number;
readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: number;
readonly SVG_TURBULENCE_TYPE_TURBULENCE: number;
readonly SVG_TURBULENCE_TYPE_UNKNOWN: number;
};
interface SVGFilterElement extends SVGElement, SVGUnitTypes, SVGURIReference {
readonly filterResX: SVGAnimatedInteger;
readonly filterResY: SVGAnimatedInteger;
readonly filterUnits: SVGAnimatedEnumeration;
readonly height: SVGAnimatedLength;
readonly primitiveUnits: SVGAnimatedEnumeration;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
setFilterRes(filterResX: number, filterResY: number): void;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGFilterElement: {
prototype: SVGFilterElement;
new(): SVGFilterElement;
};
interface SVGForeignObjectElement extends SVGGraphicsElement {
readonly height: SVGAnimatedLength;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGForeignObjectElement: {
prototype: SVGForeignObjectElement;
new(): SVGForeignObjectElement;
};
interface SVGGElement extends SVGGraphicsElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGGElement: {
prototype: SVGGElement;
new(): SVGGElement;
};
interface SVGGradientElement extends SVGElement, SVGUnitTypes, SVGURIReference {
readonly gradientTransform: SVGAnimatedTransformList;
readonly gradientUnits: SVGAnimatedEnumeration;
readonly spreadMethod: SVGAnimatedEnumeration;
readonly SVG_SPREADMETHOD_PAD: number;
readonly SVG_SPREADMETHOD_REFLECT: number;
readonly SVG_SPREADMETHOD_REPEAT: number;
readonly SVG_SPREADMETHOD_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGGradientElement: {
prototype: SVGGradientElement;
new(): SVGGradientElement;
readonly SVG_SPREADMETHOD_PAD: number;
readonly SVG_SPREADMETHOD_REFLECT: number;
readonly SVG_SPREADMETHOD_REPEAT: number;
readonly SVG_SPREADMETHOD_UNKNOWN: number;
};
interface SVGGraphicsElement extends SVGElement, SVGTests {
readonly farthestViewportElement: SVGElement;
readonly nearestViewportElement: SVGElement;
readonly transform: SVGAnimatedTransformList;
getBBox(): SVGRect;
getCTM(): SVGMatrix;
getScreenCTM(): SVGMatrix;
getTransformToElement(element: SVGElement): SVGMatrix;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGGraphicsElement: {
prototype: SVGGraphicsElement;
new(): SVGGraphicsElement;
};
interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
readonly height: SVGAnimatedLength;
readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGImageElement: {
prototype: SVGImageElement;
new(): SVGImageElement;
};
interface SVGLength {
readonly unitType: number;
value: number;
valueAsString: string;
valueInSpecifiedUnits: number;
convertToSpecifiedUnits(unitType: number): void;
newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void;
readonly SVG_LENGTHTYPE_CM: number;
readonly SVG_LENGTHTYPE_EMS: number;
readonly SVG_LENGTHTYPE_EXS: number;
readonly SVG_LENGTHTYPE_IN: number;
readonly SVG_LENGTHTYPE_MM: number;
readonly SVG_LENGTHTYPE_NUMBER: number;
readonly SVG_LENGTHTYPE_PC: number;
readonly SVG_LENGTHTYPE_PERCENTAGE: number;
readonly SVG_LENGTHTYPE_PT: number;
readonly SVG_LENGTHTYPE_PX: number;
readonly SVG_LENGTHTYPE_UNKNOWN: number;
}
declare var SVGLength: {
prototype: SVGLength;
new(): SVGLength;
readonly SVG_LENGTHTYPE_CM: number;
readonly SVG_LENGTHTYPE_EMS: number;
readonly SVG_LENGTHTYPE_EXS: number;
readonly SVG_LENGTHTYPE_IN: number;
readonly SVG_LENGTHTYPE_MM: number;
readonly SVG_LENGTHTYPE_NUMBER: number;
readonly SVG_LENGTHTYPE_PC: number;
readonly SVG_LENGTHTYPE_PERCENTAGE: number;
readonly SVG_LENGTHTYPE_PT: number;
readonly SVG_LENGTHTYPE_PX: number;
readonly SVG_LENGTHTYPE_UNKNOWN: number;
};
interface SVGLengthList {
readonly numberOfItems: number;
appendItem(newItem: SVGLength): SVGLength;
clear(): void;
getItem(index: number): SVGLength;
initialize(newItem: SVGLength): SVGLength;
insertItemBefore(newItem: SVGLength, index: number): SVGLength;
removeItem(index: number): SVGLength;
replaceItem(newItem: SVGLength, index: number): SVGLength;
}
declare var SVGLengthList: {
prototype: SVGLengthList;
new(): SVGLengthList;
};
interface SVGLinearGradientElement extends SVGGradientElement {
readonly x1: SVGAnimatedLength;
readonly x2: SVGAnimatedLength;
readonly y1: SVGAnimatedLength;
readonly y2: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGLinearGradientElement: {
prototype: SVGLinearGradientElement;
new(): SVGLinearGradientElement;
};
interface SVGLineElement extends SVGGraphicsElement {
readonly x1: SVGAnimatedLength;
readonly x2: SVGAnimatedLength;
readonly y1: SVGAnimatedLength;
readonly y2: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGLineElement: {
prototype: SVGLineElement;
new(): SVGLineElement;
};
interface SVGMarkerElement extends SVGElement, SVGFitToViewBox {
readonly markerHeight: SVGAnimatedLength;
readonly markerUnits: SVGAnimatedEnumeration;
readonly markerWidth: SVGAnimatedLength;
readonly orientAngle: SVGAnimatedAngle;
readonly orientType: SVGAnimatedEnumeration;
readonly refX: SVGAnimatedLength;
readonly refY: SVGAnimatedLength;
setOrientToAngle(angle: SVGAngle): void;
setOrientToAuto(): void;
readonly SVG_MARKER_ORIENT_ANGLE: number;
readonly SVG_MARKER_ORIENT_AUTO: number;
readonly SVG_MARKER_ORIENT_UNKNOWN: number;
readonly SVG_MARKERUNITS_STROKEWIDTH: number;
readonly SVG_MARKERUNITS_UNKNOWN: number;
readonly SVG_MARKERUNITS_USERSPACEONUSE: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGMarkerElement: {
prototype: SVGMarkerElement;
new(): SVGMarkerElement;
readonly SVG_MARKER_ORIENT_ANGLE: number;
readonly SVG_MARKER_ORIENT_AUTO: number;
readonly SVG_MARKER_ORIENT_UNKNOWN: number;
readonly SVG_MARKERUNITS_STROKEWIDTH: number;
readonly SVG_MARKERUNITS_UNKNOWN: number;
readonly SVG_MARKERUNITS_USERSPACEONUSE: number;
};
interface SVGMaskElement extends SVGElement, SVGTests, SVGUnitTypes {
readonly height: SVGAnimatedLength;
readonly maskContentUnits: SVGAnimatedEnumeration;
readonly maskUnits: SVGAnimatedEnumeration;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGMaskElement: {
prototype: SVGMaskElement;
new(): SVGMaskElement;
};
interface SVGMatrix {
a: number;
b: number;
c: number;
d: number;
e: number;
f: number;
flipX(): SVGMatrix;
flipY(): SVGMatrix;
inverse(): SVGMatrix;
multiply(secondMatrix: SVGMatrix): SVGMatrix;
rotate(angle: number): SVGMatrix;
rotateFromVector(x: number, y: number): SVGMatrix;
scale(scaleFactor: number): SVGMatrix;
scaleNonUniform(scaleFactorX: number, scaleFactorY: number): SVGMatrix;
skewX(angle: number): SVGMatrix;
skewY(angle: number): SVGMatrix;
translate(x: number, y: number): SVGMatrix;
}
declare var SVGMatrix: {
prototype: SVGMatrix;
new(): SVGMatrix;
};
interface SVGMetadataElement extends SVGElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGMetadataElement: {
prototype: SVGMetadataElement;
new(): SVGMetadataElement;
};
interface SVGNumber {
value: number;
}
declare var SVGNumber: {
prototype: SVGNumber;
new(): SVGNumber;
};
interface SVGNumberList {
readonly numberOfItems: number;
appendItem(newItem: SVGNumber): SVGNumber;
clear(): void;
getItem(index: number): SVGNumber;
initialize(newItem: SVGNumber): SVGNumber;
insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;
removeItem(index: number): SVGNumber;
replaceItem(newItem: SVGNumber, index: number): SVGNumber;
}
declare var SVGNumberList: {
prototype: SVGNumberList;
new(): SVGNumberList;
};
interface SVGPathElement extends SVGGraphicsElement {
readonly pathSegList: SVGPathSegList;
createSVGPathSegArcAbs(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcAbs;
createSVGPathSegArcRel(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcRel;
createSVGPathSegClosePath(): SVGPathSegClosePath;
createSVGPathSegCurvetoCubicAbs(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicAbs;
createSVGPathSegCurvetoCubicRel(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicRel;
createSVGPathSegCurvetoCubicSmoothAbs(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothAbs;
createSVGPathSegCurvetoCubicSmoothRel(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothRel;
createSVGPathSegCurvetoQuadraticAbs(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticAbs;
createSVGPathSegCurvetoQuadraticRel(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticRel;
createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs;
createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel;
createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs;
createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs;
createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel;
createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel;
createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs;
createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel;
createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs;
createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel;
getPathSegAtLength(distance: number): number;
getPointAtLength(distance: number): SVGPoint;
getTotalLength(): number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGPathElement: {
prototype: SVGPathElement;
new(): SVGPathElement;
};
interface SVGPathSeg {
readonly pathSegType: number;
readonly pathSegTypeAsLetter: string;
readonly PATHSEG_ARC_ABS: number;
readonly PATHSEG_ARC_REL: number;
readonly PATHSEG_CLOSEPATH: number;
readonly PATHSEG_CURVETO_CUBIC_ABS: number;
readonly PATHSEG_CURVETO_CUBIC_REL: number;
readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number;
readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number;
readonly PATHSEG_CURVETO_QUADRATIC_ABS: number;
readonly PATHSEG_CURVETO_QUADRATIC_REL: number;
readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number;
readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number;
readonly PATHSEG_LINETO_ABS: number;
readonly PATHSEG_LINETO_HORIZONTAL_ABS: number;
readonly PATHSEG_LINETO_HORIZONTAL_REL: number;
readonly PATHSEG_LINETO_REL: number;
readonly PATHSEG_LINETO_VERTICAL_ABS: number;
readonly PATHSEG_LINETO_VERTICAL_REL: number;
readonly PATHSEG_MOVETO_ABS: number;
readonly PATHSEG_MOVETO_REL: number;
readonly PATHSEG_UNKNOWN: number;
}
declare var SVGPathSeg: {
prototype: SVGPathSeg;
new(): SVGPathSeg;
readonly PATHSEG_ARC_ABS: number;
readonly PATHSEG_ARC_REL: number;
readonly PATHSEG_CLOSEPATH: number;
readonly PATHSEG_CURVETO_CUBIC_ABS: number;
readonly PATHSEG_CURVETO_CUBIC_REL: number;
readonly PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: number;
readonly PATHSEG_CURVETO_CUBIC_SMOOTH_REL: number;
readonly PATHSEG_CURVETO_QUADRATIC_ABS: number;
readonly PATHSEG_CURVETO_QUADRATIC_REL: number;
readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: number;
readonly PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: number;
readonly PATHSEG_LINETO_ABS: number;
readonly PATHSEG_LINETO_HORIZONTAL_ABS: number;
readonly PATHSEG_LINETO_HORIZONTAL_REL: number;
readonly PATHSEG_LINETO_REL: number;
readonly PATHSEG_LINETO_VERTICAL_ABS: number;
readonly PATHSEG_LINETO_VERTICAL_REL: number;
readonly PATHSEG_MOVETO_ABS: number;
readonly PATHSEG_MOVETO_REL: number;
readonly PATHSEG_UNKNOWN: number;
};
interface SVGPathSegArcAbs extends SVGPathSeg {
angle: number;
largeArcFlag: boolean;
r1: number;
r2: number;
sweepFlag: boolean;
x: number;
y: number;
}
declare var SVGPathSegArcAbs: {
prototype: SVGPathSegArcAbs;
new(): SVGPathSegArcAbs;
};
interface SVGPathSegArcRel extends SVGPathSeg {
angle: number;
largeArcFlag: boolean;
r1: number;
r2: number;
sweepFlag: boolean;
x: number;
y: number;
}
declare var SVGPathSegArcRel: {
prototype: SVGPathSegArcRel;
new(): SVGPathSegArcRel;
};
interface SVGPathSegClosePath extends SVGPathSeg {
}
declare var SVGPathSegClosePath: {
prototype: SVGPathSegClosePath;
new(): SVGPathSegClosePath;
};
interface SVGPathSegCurvetoCubicAbs extends SVGPathSeg {
x: number;
x1: number;
x2: number;
y: number;
y1: number;
y2: number;
}
declare var SVGPathSegCurvetoCubicAbs: {
prototype: SVGPathSegCurvetoCubicAbs;
new(): SVGPathSegCurvetoCubicAbs;
};
interface SVGPathSegCurvetoCubicRel extends SVGPathSeg {
x: number;
x1: number;
x2: number;
y: number;
y1: number;
y2: number;
}
declare var SVGPathSegCurvetoCubicRel: {
prototype: SVGPathSegCurvetoCubicRel;
new(): SVGPathSegCurvetoCubicRel;
};
interface SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg {
x: number;
x2: number;
y: number;
y2: number;
}
declare var SVGPathSegCurvetoCubicSmoothAbs: {
prototype: SVGPathSegCurvetoCubicSmoothAbs;
new(): SVGPathSegCurvetoCubicSmoothAbs;
};
interface SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg {
x: number;
x2: number;
y: number;
y2: number;
}
declare var SVGPathSegCurvetoCubicSmoothRel: {
prototype: SVGPathSegCurvetoCubicSmoothRel;
new(): SVGPathSegCurvetoCubicSmoothRel;
};
interface SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg {
x: number;
x1: number;
y: number;
y1: number;
}
declare var SVGPathSegCurvetoQuadraticAbs: {
prototype: SVGPathSegCurvetoQuadraticAbs;
new(): SVGPathSegCurvetoQuadraticAbs;
};
interface SVGPathSegCurvetoQuadraticRel extends SVGPathSeg {
x: number;
x1: number;
y: number;
y1: number;
}
declare var SVGPathSegCurvetoQuadraticRel: {
prototype: SVGPathSegCurvetoQuadraticRel;
new(): SVGPathSegCurvetoQuadraticRel;
};
interface SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg {
x: number;
y: number;
}
declare var SVGPathSegCurvetoQuadraticSmoothAbs: {
prototype: SVGPathSegCurvetoQuadraticSmoothAbs;
new(): SVGPathSegCurvetoQuadraticSmoothAbs;
};
interface SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg {
x: number;
y: number;
}
declare var SVGPathSegCurvetoQuadraticSmoothRel: {
prototype: SVGPathSegCurvetoQuadraticSmoothRel;
new(): SVGPathSegCurvetoQuadraticSmoothRel;
};
interface SVGPathSegLinetoAbs extends SVGPathSeg {
x: number;
y: number;
}
declare var SVGPathSegLinetoAbs: {
prototype: SVGPathSegLinetoAbs;
new(): SVGPathSegLinetoAbs;
};
interface SVGPathSegLinetoHorizontalAbs extends SVGPathSeg {
x: number;
}
declare var SVGPathSegLinetoHorizontalAbs: {
prototype: SVGPathSegLinetoHorizontalAbs;
new(): SVGPathSegLinetoHorizontalAbs;
};
interface SVGPathSegLinetoHorizontalRel extends SVGPathSeg {
x: number;
}
declare var SVGPathSegLinetoHorizontalRel: {
prototype: SVGPathSegLinetoHorizontalRel;
new(): SVGPathSegLinetoHorizontalRel;
};
interface SVGPathSegLinetoRel extends SVGPathSeg {
x: number;
y: number;
}
declare var SVGPathSegLinetoRel: {
prototype: SVGPathSegLinetoRel;
new(): SVGPathSegLinetoRel;
};
interface SVGPathSegLinetoVerticalAbs extends SVGPathSeg {
y: number;
}
declare var SVGPathSegLinetoVerticalAbs: {
prototype: SVGPathSegLinetoVerticalAbs;
new(): SVGPathSegLinetoVerticalAbs;
};
interface SVGPathSegLinetoVerticalRel extends SVGPathSeg {
y: number;
}
declare var SVGPathSegLinetoVerticalRel: {
prototype: SVGPathSegLinetoVerticalRel;
new(): SVGPathSegLinetoVerticalRel;
};
interface SVGPathSegList {
readonly numberOfItems: number;
appendItem(newItem: SVGPathSeg): SVGPathSeg;
clear(): void;
getItem(index: number): SVGPathSeg;
initialize(newItem: SVGPathSeg): SVGPathSeg;
insertItemBefore(newItem: SVGPathSeg, index: number): SVGPathSeg;
removeItem(index: number): SVGPathSeg;
replaceItem(newItem: SVGPathSeg, index: number): SVGPathSeg;
}
declare var SVGPathSegList: {
prototype: SVGPathSegList;
new(): SVGPathSegList;
};
interface SVGPathSegMovetoAbs extends SVGPathSeg {
x: number;
y: number;
}
declare var SVGPathSegMovetoAbs: {
prototype: SVGPathSegMovetoAbs;
new(): SVGPathSegMovetoAbs;
};
interface SVGPathSegMovetoRel extends SVGPathSeg {
x: number;
y: number;
}
declare var SVGPathSegMovetoRel: {
prototype: SVGPathSegMovetoRel;
new(): SVGPathSegMovetoRel;
};
interface SVGPatternElement extends SVGElement, SVGTests, SVGUnitTypes, SVGFitToViewBox, SVGURIReference {
readonly height: SVGAnimatedLength;
readonly patternContentUnits: SVGAnimatedEnumeration;
readonly patternTransform: SVGAnimatedTransformList;
readonly patternUnits: SVGAnimatedEnumeration;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGPatternElement: {
prototype: SVGPatternElement;
new(): SVGPatternElement;
};
interface SVGPoint {
x: number;
y: number;
matrixTransform(matrix: SVGMatrix): SVGPoint;
}
declare var SVGPoint: {
prototype: SVGPoint;
new(): SVGPoint;
};
interface SVGPointList {
readonly numberOfItems: number;
appendItem(newItem: SVGPoint): SVGPoint;
clear(): void;
getItem(index: number): SVGPoint;
initialize(newItem: SVGPoint): SVGPoint;
insertItemBefore(newItem: SVGPoint, index: number): SVGPoint;
removeItem(index: number): SVGPoint;
replaceItem(newItem: SVGPoint, index: number): SVGPoint;
}
declare var SVGPointList: {
prototype: SVGPointList;
new(): SVGPointList;
};
interface SVGPolygonElement extends SVGGraphicsElement, SVGAnimatedPoints {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGPolygonElement: {
prototype: SVGPolygonElement;
new(): SVGPolygonElement;
};
interface SVGPolylineElement extends SVGGraphicsElement, SVGAnimatedPoints {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGPolylineElement: {
prototype: SVGPolylineElement;
new(): SVGPolylineElement;
};
interface SVGPreserveAspectRatio {
align: number;
meetOrSlice: number;
readonly SVG_MEETORSLICE_MEET: number;
readonly SVG_MEETORSLICE_SLICE: number;
readonly SVG_MEETORSLICE_UNKNOWN: number;
readonly SVG_PRESERVEASPECTRATIO_NONE: number;
readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;
}
declare var SVGPreserveAspectRatio: {
prototype: SVGPreserveAspectRatio;
new(): SVGPreserveAspectRatio;
readonly SVG_MEETORSLICE_MEET: number;
readonly SVG_MEETORSLICE_SLICE: number;
readonly SVG_MEETORSLICE_UNKNOWN: number;
readonly SVG_PRESERVEASPECTRATIO_NONE: number;
readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;
};
interface SVGRadialGradientElement extends SVGGradientElement {
readonly cx: SVGAnimatedLength;
readonly cy: SVGAnimatedLength;
readonly fx: SVGAnimatedLength;
readonly fy: SVGAnimatedLength;
readonly r: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGRadialGradientElement: {
prototype: SVGRadialGradientElement;
new(): SVGRadialGradientElement;
};
interface SVGRect {
height: number;
width: number;
x: number;
y: number;
}
declare var SVGRect: {
prototype: SVGRect;
new(): SVGRect;
};
interface SVGRectElement extends SVGGraphicsElement {
readonly height: SVGAnimatedLength;
readonly rx: SVGAnimatedLength;
readonly ry: SVGAnimatedLength;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGRectElement: {
prototype: SVGRectElement;
new(): SVGRectElement;
};
interface SVGScriptElement extends SVGElement, SVGURIReference {
type: string;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGScriptElement: {
prototype: SVGScriptElement;
new(): SVGScriptElement;
};
interface SVGStopElement extends SVGElement {
readonly offset: SVGAnimatedNumber;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGStopElement: {
prototype: SVGStopElement;
new(): SVGStopElement;
};
interface SVGStringList {
readonly numberOfItems: number;
appendItem(newItem: string): string;
clear(): void;
getItem(index: number): string;
initialize(newItem: string): string;
insertItemBefore(newItem: string, index: number): string;
removeItem(index: number): string;
replaceItem(newItem: string, index: number): string;
}
declare var SVGStringList: {
prototype: SVGStringList;
new(): SVGStringList;
};
interface SVGStyleElement extends SVGElement {
disabled: boolean;
media: string;
title: string;
type: string;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGStyleElement: {
prototype: SVGStyleElement;
new(): SVGStyleElement;
};
interface SVGSVGElementEventMap extends SVGElementEventMap {
"SVGAbort": Event;
"SVGError": Event;
"resize": UIEvent;
"scroll": UIEvent;
"SVGUnload": Event;
"SVGZoom": SVGZoomEvent;
}
interface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewBox, SVGZoomAndPan {
contentScriptType: string;
contentStyleType: string;
currentScale: number;
readonly currentTranslate: SVGPoint;
readonly height: SVGAnimatedLength;
onabort: (this: SVGSVGElement, ev: Event) => any;
onerror: (this: SVGSVGElement, ev: Event) => any;
onresize: (this: SVGSVGElement, ev: UIEvent) => any;
onscroll: (this: SVGSVGElement, ev: UIEvent) => any;
onunload: (this: SVGSVGElement, ev: Event) => any;
onzoom: (this: SVGSVGElement, ev: SVGZoomEvent) => any;
readonly pixelUnitToMillimeterX: number;
readonly pixelUnitToMillimeterY: number;
readonly screenPixelToMillimeterX: number;
readonly screenPixelToMillimeterY: number;
readonly viewport: SVGRect;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
checkEnclosure(element: SVGElement, rect: SVGRect): boolean;
checkIntersection(element: SVGElement, rect: SVGRect): boolean;
createSVGAngle(): SVGAngle;
createSVGLength(): SVGLength;
createSVGMatrix(): SVGMatrix;
createSVGNumber(): SVGNumber;
createSVGPoint(): SVGPoint;
createSVGRect(): SVGRect;
createSVGTransform(): SVGTransform;
createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;
deselectAll(): void;
forceRedraw(): void;
getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration;
getCurrentTime(): number;
getElementById(elementId: string): Element;
getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
pauseAnimations(): void;
setCurrentTime(seconds: number): void;
suspendRedraw(maxWaitMilliseconds: number): number;
unpauseAnimations(): void;
unsuspendRedraw(suspendHandleID: number): void;
unsuspendRedrawAll(): void;
addEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGSVGElementEventMap>(type: K, listener: (this: SVGSVGElement, ev: SVGSVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGSVGElement: {
prototype: SVGSVGElement;
new(): SVGSVGElement;
};
interface SVGSwitchElement extends SVGGraphicsElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGSwitchElement: {
prototype: SVGSwitchElement;
new(): SVGSwitchElement;
};
interface SVGSymbolElement extends SVGElement, SVGFitToViewBox {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGSymbolElement: {
prototype: SVGSymbolElement;
new(): SVGSymbolElement;
};
interface SVGTextContentElement extends SVGGraphicsElement {
readonly lengthAdjust: SVGAnimatedEnumeration;
readonly textLength: SVGAnimatedLength;
getCharNumAtPosition(point: SVGPoint): number;
getComputedTextLength(): number;
getEndPositionOfChar(charnum: number): SVGPoint;
getExtentOfChar(charnum: number): SVGRect;
getNumberOfChars(): number;
getRotationOfChar(charnum: number): number;
getStartPositionOfChar(charnum: number): SVGPoint;
getSubStringLength(charnum: number, nchars: number): number;
selectSubString(charnum: number, nchars: number): void;
readonly LENGTHADJUST_SPACING: number;
readonly LENGTHADJUST_SPACINGANDGLYPHS: number;
readonly LENGTHADJUST_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGTextContentElement: {
prototype: SVGTextContentElement;
new(): SVGTextContentElement;
readonly LENGTHADJUST_SPACING: number;
readonly LENGTHADJUST_SPACINGANDGLYPHS: number;
readonly LENGTHADJUST_UNKNOWN: number;
};
interface SVGTextElement extends SVGTextPositioningElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGTextElement: {
prototype: SVGTextElement;
new(): SVGTextElement;
};
interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {
readonly method: SVGAnimatedEnumeration;
readonly spacing: SVGAnimatedEnumeration;
readonly startOffset: SVGAnimatedLength;
readonly TEXTPATH_METHODTYPE_ALIGN: number;
readonly TEXTPATH_METHODTYPE_STRETCH: number;
readonly TEXTPATH_METHODTYPE_UNKNOWN: number;
readonly TEXTPATH_SPACINGTYPE_AUTO: number;
readonly TEXTPATH_SPACINGTYPE_EXACT: number;
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGTextPathElement: {
prototype: SVGTextPathElement;
new(): SVGTextPathElement;
readonly TEXTPATH_METHODTYPE_ALIGN: number;
readonly TEXTPATH_METHODTYPE_STRETCH: number;
readonly TEXTPATH_METHODTYPE_UNKNOWN: number;
readonly TEXTPATH_SPACINGTYPE_AUTO: number;
readonly TEXTPATH_SPACINGTYPE_EXACT: number;
readonly TEXTPATH_SPACINGTYPE_UNKNOWN: number;
};
interface SVGTextPositioningElement extends SVGTextContentElement {
readonly dx: SVGAnimatedLengthList;
readonly dy: SVGAnimatedLengthList;
readonly rotate: SVGAnimatedNumberList;
readonly x: SVGAnimatedLengthList;
readonly y: SVGAnimatedLengthList;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGTextPositioningElement: {
prototype: SVGTextPositioningElement;
new(): SVGTextPositioningElement;
};
interface SVGTitleElement extends SVGElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGTitleElement: {
prototype: SVGTitleElement;
new(): SVGTitleElement;
};
interface SVGTransform {
readonly angle: number;
readonly matrix: SVGMatrix;
readonly type: number;
setMatrix(matrix: SVGMatrix): void;
setRotate(angle: number, cx: number, cy: number): void;
setScale(sx: number, sy: number): void;
setSkewX(angle: number): void;
setSkewY(angle: number): void;
setTranslate(tx: number, ty: number): void;
readonly SVG_TRANSFORM_MATRIX: number;
readonly SVG_TRANSFORM_ROTATE: number;
readonly SVG_TRANSFORM_SCALE: number;
readonly SVG_TRANSFORM_SKEWX: number;
readonly SVG_TRANSFORM_SKEWY: number;
readonly SVG_TRANSFORM_TRANSLATE: number;
readonly SVG_TRANSFORM_UNKNOWN: number;
}
declare var SVGTransform: {
prototype: SVGTransform;
new(): SVGTransform;
readonly SVG_TRANSFORM_MATRIX: number;
readonly SVG_TRANSFORM_ROTATE: number;
readonly SVG_TRANSFORM_SCALE: number;
readonly SVG_TRANSFORM_SKEWX: number;
readonly SVG_TRANSFORM_SKEWY: number;
readonly SVG_TRANSFORM_TRANSLATE: number;
readonly SVG_TRANSFORM_UNKNOWN: number;
};
interface SVGTransformList {
readonly numberOfItems: number;
appendItem(newItem: SVGTransform): SVGTransform;
clear(): void;
consolidate(): SVGTransform;
createSVGTransformFromMatrix(matrix: SVGMatrix): SVGTransform;
getItem(index: number): SVGTransform;
initialize(newItem: SVGTransform): SVGTransform;
insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;
removeItem(index: number): SVGTransform;
replaceItem(newItem: SVGTransform, index: number): SVGTransform;
}
declare var SVGTransformList: {
prototype: SVGTransformList;
new(): SVGTransformList;
};
interface SVGTSpanElement extends SVGTextPositioningElement {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGTSpanElement: {
prototype: SVGTSpanElement;
new(): SVGTSpanElement;
};
interface SVGUnitTypes {
readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: number;
readonly SVG_UNIT_TYPE_UNKNOWN: number;
readonly SVG_UNIT_TYPE_USERSPACEONUSE: number;
}
declare var SVGUnitTypes: SVGUnitTypes;
interface SVGUseElement extends SVGGraphicsElement, SVGURIReference {
readonly animatedInstanceRoot: SVGElementInstance;
readonly height: SVGAnimatedLength;
readonly instanceRoot: SVGElementInstance;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGUseElement: {
prototype: SVGUseElement;
new(): SVGUseElement;
};
interface SVGViewElement extends SVGElement, SVGZoomAndPan, SVGFitToViewBox {
readonly viewTarget: SVGStringList;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var SVGViewElement: {
prototype: SVGViewElement;
new(): SVGViewElement;
};
interface SVGZoomAndPan {
readonly zoomAndPan: number;
}
declare var SVGZoomAndPan: {
readonly SVG_ZOOMANDPAN_DISABLE: number;
readonly SVG_ZOOMANDPAN_MAGNIFY: number;
readonly SVG_ZOOMANDPAN_UNKNOWN: number;
};
interface SVGZoomEvent extends UIEvent {
readonly newScale: number;
readonly newTranslate: SVGPoint;
readonly previousScale: number;
readonly previousTranslate: SVGPoint;
readonly zoomRectScreen: SVGRect;
}
declare var SVGZoomEvent: {
prototype: SVGZoomEvent;
new(): SVGZoomEvent;
};
interface SyncManager {
getTags(): Promise<string[]>;
register(tag: string): Promise<void>;
}
declare var SyncManager: {
prototype: SyncManager;
new(): SyncManager;
};
interface Text extends CharacterData {
readonly wholeText: string;
readonly assignedSlot: HTMLSlotElement | null;
splitText(offset: number): Text;
}
declare var Text: {
prototype: Text;
new(data?: string): Text;
};
interface TextEvent extends UIEvent {
readonly data: string;
readonly inputMethod: number;
readonly locale: string;
initTextEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, dataArg: string, inputMethod: number, locale: string): void;
readonly DOM_INPUT_METHOD_DROP: number;
readonly DOM_INPUT_METHOD_HANDWRITING: number;
readonly DOM_INPUT_METHOD_IME: number;
readonly DOM_INPUT_METHOD_KEYBOARD: number;
readonly DOM_INPUT_METHOD_MULTIMODAL: number;
readonly DOM_INPUT_METHOD_OPTION: number;
readonly DOM_INPUT_METHOD_PASTE: number;
readonly DOM_INPUT_METHOD_SCRIPT: number;
readonly DOM_INPUT_METHOD_UNKNOWN: number;
readonly DOM_INPUT_METHOD_VOICE: number;
}
declare var TextEvent: {
prototype: TextEvent;
new(): TextEvent;
readonly DOM_INPUT_METHOD_DROP: number;
readonly DOM_INPUT_METHOD_HANDWRITING: number;
readonly DOM_INPUT_METHOD_IME: number;
readonly DOM_INPUT_METHOD_KEYBOARD: number;
readonly DOM_INPUT_METHOD_MULTIMODAL: number;
readonly DOM_INPUT_METHOD_OPTION: number;
readonly DOM_INPUT_METHOD_PASTE: number;
readonly DOM_INPUT_METHOD_SCRIPT: number;
readonly DOM_INPUT_METHOD_UNKNOWN: number;
readonly DOM_INPUT_METHOD_VOICE: number;
};
interface TextMetrics {
readonly width: number;
}
declare var TextMetrics: {
prototype: TextMetrics;
new(): TextMetrics;
};
interface TextTrackEventMap {
"cuechange": Event;
"error": Event;
"load": Event;
}
interface TextTrack extends EventTarget {
readonly activeCues: TextTrackCueList;
readonly cues: TextTrackCueList;
readonly inBandMetadataTrackDispatchType: string;
readonly kind: string;
readonly label: string;
readonly language: string;
mode: any;
oncuechange: (this: TextTrack, ev: Event) => any;
onerror: (this: TextTrack, ev: Event) => any;
onload: (this: TextTrack, ev: Event) => any;
readonly readyState: number;
addCue(cue: TextTrackCue): void;
removeCue(cue: TextTrackCue): void;
readonly DISABLED: number;
readonly ERROR: number;
readonly HIDDEN: number;
readonly LOADED: number;
readonly LOADING: number;
readonly NONE: number;
readonly SHOWING: number;
addEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var TextTrack: {
prototype: TextTrack;
new(): TextTrack;
readonly DISABLED: number;
readonly ERROR: number;
readonly HIDDEN: number;
readonly LOADED: number;
readonly LOADING: number;
readonly NONE: number;
readonly SHOWING: number;
};
interface TextTrackCueEventMap {
"enter": Event;
"exit": Event;
}
interface TextTrackCue extends EventTarget {
endTime: number;
id: string;
onenter: (this: TextTrackCue, ev: Event) => any;
onexit: (this: TextTrackCue, ev: Event) => any;
pauseOnExit: boolean;
startTime: number;
text: string;
readonly track: TextTrack;
getCueAsHTML(): DocumentFragment;
addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var TextTrackCue: {
prototype: TextTrackCue;
new(startTime: number, endTime: number, text: string): TextTrackCue;
};
interface TextTrackCueList {
readonly length: number;
getCueById(id: string): TextTrackCue;
item(index: number): TextTrackCue;
[index: number]: TextTrackCue;
}
declare var TextTrackCueList: {
prototype: TextTrackCueList;
new(): TextTrackCueList;
};
interface TextTrackListEventMap {
"addtrack": TrackEvent;
}
interface TextTrackList extends EventTarget {
readonly length: number;
onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
item(index: number): TextTrack;
addEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
[index: number]: TextTrack;
}
declare var TextTrackList: {
prototype: TextTrackList;
new(): TextTrackList;
};
interface TimeRanges {
readonly length: number;
end(index: number): number;
start(index: number): number;
}
declare var TimeRanges: {
prototype: TimeRanges;
new(): TimeRanges;
};
interface Touch {
readonly clientX: number;
readonly clientY: number;
readonly identifier: number;
readonly pageX: number;
readonly pageY: number;
readonly screenX: number;
readonly screenY: number;
readonly target: EventTarget;
}
declare var Touch: {
prototype: Touch;
new(): Touch;
};
interface TouchEvent extends UIEvent {
readonly altKey: boolean;
readonly changedTouches: TouchList;
readonly charCode: number;
readonly ctrlKey: boolean;
readonly keyCode: number;
readonly metaKey: boolean;
readonly shiftKey: boolean;
readonly targetTouches: TouchList;
readonly touches: TouchList;
readonly which: number;
}
declare var TouchEvent: {
prototype: TouchEvent;
new(type: string, touchEventInit?: TouchEventInit): TouchEvent;
};
interface TouchList {
readonly length: number;
item(index: number): Touch | null;
[index: number]: Touch;
}
declare var TouchList: {
prototype: TouchList;
new(): TouchList;
};
interface TrackEvent extends Event {
readonly track: VideoTrack | AudioTrack | TextTrack | null;
}
declare var TrackEvent: {
prototype: TrackEvent;
new(typeArg: string, eventInitDict?: TrackEventInit): TrackEvent;
};
interface TransitionEvent extends Event {
readonly elapsedTime: number;
readonly propertyName: string;
initTransitionEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, propertyNameArg: string, elapsedTimeArg: number): void;
}
declare var TransitionEvent: {
prototype: TransitionEvent;
new(typeArg: string, eventInitDict?: TransitionEventInit): TransitionEvent;
};
interface TreeWalker {
currentNode: Node;
readonly expandEntityReferences: boolean;
readonly filter: NodeFilter;
readonly root: Node;
readonly whatToShow: number;
firstChild(): Node;
lastChild(): Node;
nextNode(): Node;
nextSibling(): Node;
parentNode(): Node;
previousNode(): Node;
previousSibling(): Node;
}
declare var TreeWalker: {
prototype: TreeWalker;
new(): TreeWalker;
};
interface UIEvent extends Event {
readonly detail: number;
readonly view: Window;
initUIEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number): void;
}
declare var UIEvent: {
prototype: UIEvent;
new(typeArg: string, eventInitDict?: UIEventInit): UIEvent;
};
interface UnviewableContentIdentifiedEvent extends NavigationEventWithReferrer {
readonly mediaType: string;
}
declare var UnviewableContentIdentifiedEvent: {
prototype: UnviewableContentIdentifiedEvent;
new(): UnviewableContentIdentifiedEvent;
};
interface URL {
hash: string;
host: string;
hostname: string;
href: string;
readonly origin: string;
password: string;
pathname: string;
port: string;
protocol: string;
search: string;
username: string;
readonly searchParams: URLSearchParams;
toString(): string;
}
declare var URL: {
prototype: URL;
new(url: string, base?: string): URL;
createObjectURL(object: any, options?: ObjectURLOptions): string;
revokeObjectURL(url: string): void;
};
interface ValidityState {
readonly badInput: boolean;
readonly customError: boolean;
readonly patternMismatch: boolean;
readonly rangeOverflow: boolean;
readonly rangeUnderflow: boolean;
readonly stepMismatch: boolean;
readonly tooLong: boolean;
readonly typeMismatch: boolean;
readonly valid: boolean;
readonly valueMissing: boolean;
readonly tooShort: boolean;
}
declare var ValidityState: {
prototype: ValidityState;
new(): ValidityState;
};
interface VideoPlaybackQuality {
readonly corruptedVideoFrames: number;
readonly creationTime: number;
readonly droppedVideoFrames: number;
readonly totalFrameDelay: number;
readonly totalVideoFrames: number;
}
declare var VideoPlaybackQuality: {
prototype: VideoPlaybackQuality;
new(): VideoPlaybackQuality;
};
interface VideoTrack {
readonly id: string;
kind: string;
readonly label: string;
language: string;
selected: boolean;
readonly sourceBuffer: SourceBuffer;
}
declare var VideoTrack: {
prototype: VideoTrack;
new(): VideoTrack;
};
interface VideoTrackListEventMap {
"addtrack": TrackEvent;
"change": Event;
"removetrack": TrackEvent;
}
interface VideoTrackList extends EventTarget {
readonly length: number;
onaddtrack: (this: VideoTrackList, ev: TrackEvent) => any;
onchange: (this: VideoTrackList, ev: Event) => any;
onremovetrack: (this: VideoTrackList, ev: TrackEvent) => any;
readonly selectedIndex: number;
getTrackById(id: string): VideoTrack | null;
item(index: number): VideoTrack;
addEventListener<K extends keyof VideoTrackListEventMap>(type: K, listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof VideoTrackListEventMap>(type: K, listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
[index: number]: VideoTrack;
}
declare var VideoTrackList: {
prototype: VideoTrackList;
new(): VideoTrackList;
};
interface WaveShaperNode extends AudioNode {
curve: Float32Array | null;
oversample: OverSampleType;
}
declare var WaveShaperNode: {
prototype: WaveShaperNode;
new(): WaveShaperNode;
};
interface WebAuthentication {
getAssertion(assertionChallenge: any, options?: AssertionOptions): Promise<WebAuthnAssertion>;
makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: any, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;
}
declare var WebAuthentication: {
prototype: WebAuthentication;
new(): WebAuthentication;
};
interface WebAuthnAssertion {
readonly authenticatorData: ArrayBuffer;
readonly clientData: ArrayBuffer;
readonly credential: ScopedCredential;
readonly signature: ArrayBuffer;
}
declare var WebAuthnAssertion: {
prototype: WebAuthnAssertion;
new(): WebAuthnAssertion;
};
interface WEBGL_compressed_texture_s3tc {
readonly COMPRESSED_RGB_S3TC_DXT1_EXT: number;
readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: number;
readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: number;
readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: number;
}
declare var WEBGL_compressed_texture_s3tc: {
prototype: WEBGL_compressed_texture_s3tc;
new(): WEBGL_compressed_texture_s3tc;
readonly COMPRESSED_RGB_S3TC_DXT1_EXT: number;
readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: number;
readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: number;
readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: number;
};
interface WEBGL_debug_renderer_info {
readonly UNMASKED_RENDERER_WEBGL: number;
readonly UNMASKED_VENDOR_WEBGL: number;
}
declare var WEBGL_debug_renderer_info: {
prototype: WEBGL_debug_renderer_info;
new(): WEBGL_debug_renderer_info;
readonly UNMASKED_RENDERER_WEBGL: number;
readonly UNMASKED_VENDOR_WEBGL: number;
};
interface WEBGL_depth_texture {
readonly UNSIGNED_INT_24_8_WEBGL: number;
}
declare var WEBGL_depth_texture: {
prototype: WEBGL_depth_texture;
new(): WEBGL_depth_texture;
readonly UNSIGNED_INT_24_8_WEBGL: number;
};
interface WebGLActiveInfo {
readonly name: string;
readonly size: number;
readonly type: number;
}
declare var WebGLActiveInfo: {
prototype: WebGLActiveInfo;
new(): WebGLActiveInfo;
};
interface WebGLBuffer extends WebGLObject {
}
declare var WebGLBuffer: {
prototype: WebGLBuffer;
new(): WebGLBuffer;
};
interface WebGLContextEvent extends Event {
readonly statusMessage: string;
}
declare var WebGLContextEvent: {
prototype: WebGLContextEvent;
new(typeArg: string, eventInitDict?: WebGLContextEventInit): WebGLContextEvent;
};
interface WebGLFramebuffer extends WebGLObject {
}
declare var WebGLFramebuffer: {
prototype: WebGLFramebuffer;
new(): WebGLFramebuffer;
};
interface WebGLObject {
}
declare var WebGLObject: {
prototype: WebGLObject;
new(): WebGLObject;
};
interface WebGLProgram extends WebGLObject {
}
declare var WebGLProgram: {
prototype: WebGLProgram;
new(): WebGLProgram;
};
interface WebGLRenderbuffer extends WebGLObject {
}
declare var WebGLRenderbuffer: {
prototype: WebGLRenderbuffer;
new(): WebGLRenderbuffer;
};
interface WebGLRenderingContext {
readonly canvas: HTMLCanvasElement;
readonly drawingBufferHeight: number;
readonly drawingBufferWidth: number;
activeTexture(texture: number): void;
attachShader(program: WebGLProgram | null, shader: WebGLShader | null): void;
bindAttribLocation(program: WebGLProgram | null, index: number, name: string): void;
bindBuffer(target: number, buffer: WebGLBuffer | null): void;
bindFramebuffer(target: number, framebuffer: WebGLFramebuffer | null): void;
bindRenderbuffer(target: number, renderbuffer: WebGLRenderbuffer | null): void;
bindTexture(target: number, texture: WebGLTexture | null): void;
blendColor(red: number, green: number, blue: number, alpha: number): void;
blendEquation(mode: number): void;
blendEquationSeparate(modeRGB: number, modeAlpha: number): void;
blendFunc(sfactor: number, dfactor: number): void;
blendFuncSeparate(srcRGB: number, dstRGB: number, srcAlpha: number, dstAlpha: number): void;
bufferData(target: number, size: number | ArrayBufferView | ArrayBuffer, usage: number): void;
bufferSubData(target: number, offset: number, data: ArrayBufferView | ArrayBuffer): void;
checkFramebufferStatus(target: number): number;
clear(mask: number): void;
clearColor(red: number, green: number, blue: number, alpha: number): void;
clearDepth(depth: number): void;
clearStencil(s: number): void;
colorMask(red: boolean, green: boolean, blue: boolean, alpha: boolean): void;
compileShader(shader: WebGLShader | null): void;
compressedTexImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, data: ArrayBufferView): void;
compressedTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, data: ArrayBufferView): void;
copyTexImage2D(target: number, level: number, internalformat: number, x: number, y: number, width: number, height: number, border: number): void;
copyTexSubImage2D(target: number, level: number, xoffset: number, yoffset: number, x: number, y: number, width: number, height: number): void;
createBuffer(): WebGLBuffer | null;
createFramebuffer(): WebGLFramebuffer | null;
createProgram(): WebGLProgram | null;
createRenderbuffer(): WebGLRenderbuffer | null;
createShader(type: number): WebGLShader | null;
createTexture(): WebGLTexture | null;
cullFace(mode: number): void;
deleteBuffer(buffer: WebGLBuffer | null): void;
deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;
deleteProgram(program: WebGLProgram | null): void;
deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;
deleteShader(shader: WebGLShader | null): void;
deleteTexture(texture: WebGLTexture | null): void;
depthFunc(func: number): void;
depthMask(flag: boolean): void;
depthRange(zNear: number, zFar: number): void;
detachShader(program: WebGLProgram | null, shader: WebGLShader | null): void;
disable(cap: number): void;
disableVertexAttribArray(index: number): void;
drawArrays(mode: number, first: number, count: number): void;
drawElements(mode: number, count: number, type: number, offset: number): void;
enable(cap: number): void;
enableVertexAttribArray(index: number): void;
finish(): void;
flush(): void;
framebufferRenderbuffer(target: number, attachment: number, renderbuffertarget: number, renderbuffer: WebGLRenderbuffer | null): void;
framebufferTexture2D(target: number, attachment: number, textarget: number, texture: WebGLTexture | null, level: number): void;
frontFace(mode: number): void;
generateMipmap(target: number): void;
getActiveAttrib(program: WebGLProgram | null, index: number): WebGLActiveInfo | null;
getActiveUniform(program: WebGLProgram | null, index: number): WebGLActiveInfo | null;
getAttachedShaders(program: WebGLProgram | null): WebGLShader[] | null;
getAttribLocation(program: WebGLProgram | null, name: string): number;
getBufferParameter(target: number, pname: number): any;
getContextAttributes(): WebGLContextAttributes;
getError(): number;
getExtension(name: string): any;
getFramebufferAttachmentParameter(target: number, attachment: number, pname: number): any;
getParameter(pname: number): any;
getProgramInfoLog(program: WebGLProgram | null): string | null;
getProgramParameter(program: WebGLProgram | null, pname: number): any;
getRenderbufferParameter(target: number, pname: number): any;
getShaderInfoLog(shader: WebGLShader | null): string | null;
getShaderParameter(shader: WebGLShader | null, pname: number): any;
getShaderPrecisionFormat(shadertype: number, precisiontype: number): WebGLShaderPrecisionFormat | null;
getShaderSource(shader: WebGLShader | null): string | null;
getSupportedExtensions(): string[] | null;
getTexParameter(target: number, pname: number): any;
getUniform(program: WebGLProgram | null, location: WebGLUniformLocation | null): any;
getUniformLocation(program: WebGLProgram | null, name: string): WebGLUniformLocation | null;
getVertexAttrib(index: number, pname: number): any;
getVertexAttribOffset(index: number, pname: number): number;
hint(target: number, mode: number): void;
isBuffer(buffer: WebGLBuffer | null): boolean;
isContextLost(): boolean;
isEnabled(cap: number): boolean;
isFramebuffer(framebuffer: WebGLFramebuffer | null): boolean;
isProgram(program: WebGLProgram | null): boolean;
isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): boolean;
isShader(shader: WebGLShader | null): boolean;
isTexture(texture: WebGLTexture | null): boolean;
lineWidth(width: number): void;
linkProgram(program: WebGLProgram | null): void;
pixelStorei(pname: number, param: number | boolean): void;
polygonOffset(factor: number, units: number): void;
readPixels(x: number, y: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void;
renderbufferStorage(target: number, internalformat: number, width: number, height: number): void;
sampleCoverage(value: number, invert: boolean): void;
scissor(x: number, y: number, width: number, height: number): void;
shaderSource(shader: WebGLShader | null, source: string): void;
stencilFunc(func: number, ref: number, mask: number): void;
stencilFuncSeparate(face: number, func: number, ref: number, mask: number): void;
stencilMask(mask: number): void;
stencilMaskSeparate(face: number, mask: number): void;
stencilOp(fail: number, zfail: number, zpass: number): void;
stencilOpSeparate(face: number, fail: number, zfail: number, zpass: number): void;
texImage2D(target: number, level: number, internalformat: number, width: number, height: number, border: number, format: number, type: number, pixels: ArrayBufferView | null): void;
texImage2D(target: number, level: number, internalformat: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void;
texParameterf(target: number, pname: number, param: number): void;
texParameteri(target: number, pname: number, param: number): void;
texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void;
texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void;
uniform1f(location: WebGLUniformLocation | null, x: number): void;
uniform1fv(location: WebGLUniformLocation, v: Float32Array | number[]): void;
uniform1i(location: WebGLUniformLocation | null, x: number): void;
uniform1iv(location: WebGLUniformLocation, v: Int32Array | number[]): void;
uniform2f(location: WebGLUniformLocation | null, x: number, y: number): void;
uniform2fv(location: WebGLUniformLocation, v: Float32Array | number[]): void;
uniform2i(location: WebGLUniformLocation | null, x: number, y: number): void;
uniform2iv(location: WebGLUniformLocation, v: Int32Array | number[]): void;
uniform3f(location: WebGLUniformLocation | null, x: number, y: number, z: number): void;
uniform3fv(location: WebGLUniformLocation, v: Float32Array | number[]): void;
uniform3i(location: WebGLUniformLocation | null, x: number, y: number, z: number): void;
uniform3iv(location: WebGLUniformLocation, v: Int32Array | number[]): void;
uniform4f(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void;
uniform4fv(location: WebGLUniformLocation, v: Float32Array | number[]): void;
uniform4i(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void;
uniform4iv(location: WebGLUniformLocation, v: Int32Array | number[]): void;
uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | number[]): void;
uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | number[]): void;
uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | number[]): void;
useProgram(program: WebGLProgram | null): void;
validateProgram(program: WebGLProgram | null): void;
vertexAttrib1f(indx: number, x: number): void;
vertexAttrib1fv(indx: number, values: Float32Array | number[]): void;
vertexAttrib2f(indx: number, x: number, y: number): void;
vertexAttrib2fv(indx: number, values: Float32Array | number[]): void;
vertexAttrib3f(indx: number, x: number, y: number, z: number): void;
vertexAttrib3fv(indx: number, values: Float32Array | number[]): void;
vertexAttrib4f(indx: number, x: number, y: number, z: number, w: number): void;
vertexAttrib4fv(indx: number, values: Float32Array | number[]): void;
vertexAttribPointer(indx: number, size: number, type: number, normalized: boolean, stride: number, offset: number): void;
viewport(x: number, y: number, width: number, height: number): void;
readonly ACTIVE_ATTRIBUTES: number;
readonly ACTIVE_TEXTURE: number;
readonly ACTIVE_UNIFORMS: number;
readonly ALIASED_LINE_WIDTH_RANGE: number;
readonly ALIASED_POINT_SIZE_RANGE: number;
readonly ALPHA: number;
readonly ALPHA_BITS: number;
readonly ALWAYS: number;
readonly ARRAY_BUFFER: number;
readonly ARRAY_BUFFER_BINDING: number;
readonly ATTACHED_SHADERS: number;
readonly BACK: number;
readonly BLEND: number;
readonly BLEND_COLOR: number;
readonly BLEND_DST_ALPHA: number;
readonly BLEND_DST_RGB: number;
readonly BLEND_EQUATION: number;
readonly BLEND_EQUATION_ALPHA: number;
readonly BLEND_EQUATION_RGB: number;
readonly BLEND_SRC_ALPHA: number;
readonly BLEND_SRC_RGB: number;
readonly BLUE_BITS: number;
readonly BOOL: number;
readonly BOOL_VEC2: number;
readonly BOOL_VEC3: number;
readonly BOOL_VEC4: number;
readonly BROWSER_DEFAULT_WEBGL: number;
readonly BUFFER_SIZE: number;
readonly BUFFER_USAGE: number;
readonly BYTE: number;
readonly CCW: number;
readonly CLAMP_TO_EDGE: number;
readonly COLOR_ATTACHMENT0: number;
readonly COLOR_BUFFER_BIT: number;
readonly COLOR_CLEAR_VALUE: number;
readonly COLOR_WRITEMASK: number;
readonly COMPILE_STATUS: number;
readonly COMPRESSED_TEXTURE_FORMATS: number;
readonly CONSTANT_ALPHA: number;
readonly CONSTANT_COLOR: number;
readonly CONTEXT_LOST_WEBGL: number;
readonly CULL_FACE: number;
readonly CULL_FACE_MODE: number;
readonly CURRENT_PROGRAM: number;
readonly CURRENT_VERTEX_ATTRIB: number;
readonly CW: number;
readonly DECR: number;
readonly DECR_WRAP: number;
readonly DELETE_STATUS: number;
readonly DEPTH_ATTACHMENT: number;
readonly DEPTH_BITS: number;
readonly DEPTH_BUFFER_BIT: number;
readonly DEPTH_CLEAR_VALUE: number;
readonly DEPTH_COMPONENT: number;
readonly DEPTH_COMPONENT16: number;
readonly DEPTH_FUNC: number;
readonly DEPTH_RANGE: number;
readonly DEPTH_STENCIL: number;
readonly DEPTH_STENCIL_ATTACHMENT: number;
readonly DEPTH_TEST: number;
readonly DEPTH_WRITEMASK: number;
readonly DITHER: number;
readonly DONT_CARE: number;
readonly DST_ALPHA: number;
readonly DST_COLOR: number;
readonly DYNAMIC_DRAW: number;
readonly ELEMENT_ARRAY_BUFFER: number;
readonly ELEMENT_ARRAY_BUFFER_BINDING: number;
readonly EQUAL: number;
readonly FASTEST: number;
readonly FLOAT: number;
readonly FLOAT_MAT2: number;
readonly FLOAT_MAT3: number;
readonly FLOAT_MAT4: number;
readonly FLOAT_VEC2: number;
readonly FLOAT_VEC3: number;
readonly FLOAT_VEC4: number;
readonly FRAGMENT_SHADER: number;
readonly FRAMEBUFFER: number;
readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number;
readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number;
readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number;
readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number;
readonly FRAMEBUFFER_BINDING: number;
readonly FRAMEBUFFER_COMPLETE: number;
readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number;
readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number;
readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number;
readonly FRAMEBUFFER_UNSUPPORTED: number;
readonly FRONT: number;
readonly FRONT_AND_BACK: number;
readonly FRONT_FACE: number;
readonly FUNC_ADD: number;
readonly FUNC_REVERSE_SUBTRACT: number;
readonly FUNC_SUBTRACT: number;
readonly GENERATE_MIPMAP_HINT: number;
readonly GEQUAL: number;
readonly GREATER: number;
readonly GREEN_BITS: number;
readonly HIGH_FLOAT: number;
readonly HIGH_INT: number;
readonly IMPLEMENTATION_COLOR_READ_FORMAT: number;
readonly IMPLEMENTATION_COLOR_READ_TYPE: number;
readonly INCR: number;
readonly INCR_WRAP: number;
readonly INT: number;
readonly INT_VEC2: number;
readonly INT_VEC3: number;
readonly INT_VEC4: number;
readonly INVALID_ENUM: number;
readonly INVALID_FRAMEBUFFER_OPERATION: number;
readonly INVALID_OPERATION: number;
readonly INVALID_VALUE: number;
readonly INVERT: number;
readonly KEEP: number;
readonly LEQUAL: number;
readonly LESS: number;
readonly LINE_LOOP: number;
readonly LINE_STRIP: number;
readonly LINE_WIDTH: number;
readonly LINEAR: number;
readonly LINEAR_MIPMAP_LINEAR: number;
readonly LINEAR_MIPMAP_NEAREST: number;
readonly LINES: number;
readonly LINK_STATUS: number;
readonly LOW_FLOAT: number;
readonly LOW_INT: number;
readonly LUMINANCE: number;
readonly LUMINANCE_ALPHA: number;
readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: number;
readonly MAX_CUBE_MAP_TEXTURE_SIZE: number;
readonly MAX_FRAGMENT_UNIFORM_VECTORS: number;
readonly MAX_RENDERBUFFER_SIZE: number;
readonly MAX_TEXTURE_IMAGE_UNITS: number;
readonly MAX_TEXTURE_SIZE: number;
readonly MAX_VARYING_VECTORS: number;
readonly MAX_VERTEX_ATTRIBS: number;
readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: number;
readonly MAX_VERTEX_UNIFORM_VECTORS: number;
readonly MAX_VIEWPORT_DIMS: number;
readonly MEDIUM_FLOAT: number;
readonly MEDIUM_INT: number;
readonly MIRRORED_REPEAT: number;
readonly NEAREST: number;
readonly NEAREST_MIPMAP_LINEAR: number;
readonly NEAREST_MIPMAP_NEAREST: number;
readonly NEVER: number;
readonly NICEST: number;
readonly NO_ERROR: number;
readonly NONE: number;
readonly NOTEQUAL: number;
readonly ONE: number;
readonly ONE_MINUS_CONSTANT_ALPHA: number;
readonly ONE_MINUS_CONSTANT_COLOR: number;
readonly ONE_MINUS_DST_ALPHA: number;
readonly ONE_MINUS_DST_COLOR: number;
readonly ONE_MINUS_SRC_ALPHA: number;
readonly ONE_MINUS_SRC_COLOR: number;
readonly OUT_OF_MEMORY: number;
readonly PACK_ALIGNMENT: number;
readonly POINTS: number;
readonly POLYGON_OFFSET_FACTOR: number;
readonly POLYGON_OFFSET_FILL: number;
readonly POLYGON_OFFSET_UNITS: number;
readonly RED_BITS: number;
readonly RENDERBUFFER: number;
readonly RENDERBUFFER_ALPHA_SIZE: number;
readonly RENDERBUFFER_BINDING: number;
readonly RENDERBUFFER_BLUE_SIZE: number;
readonly RENDERBUFFER_DEPTH_SIZE: number;
readonly RENDERBUFFER_GREEN_SIZE: number;
readonly RENDERBUFFER_HEIGHT: number;
readonly RENDERBUFFER_INTERNAL_FORMAT: number;
readonly RENDERBUFFER_RED_SIZE: number;
readonly RENDERBUFFER_STENCIL_SIZE: number;
readonly RENDERBUFFER_WIDTH: number;
readonly RENDERER: number;
readonly REPEAT: number;
readonly REPLACE: number;
readonly RGB: number;
readonly RGB5_A1: number;
readonly RGB565: number;
readonly RGBA: number;
readonly RGBA4: number;
readonly SAMPLE_ALPHA_TO_COVERAGE: number;
readonly SAMPLE_BUFFERS: number;
readonly SAMPLE_COVERAGE: number;
readonly SAMPLE_COVERAGE_INVERT: number;
readonly SAMPLE_COVERAGE_VALUE: number;
readonly SAMPLER_2D: number;
readonly SAMPLER_CUBE: number;
readonly SAMPLES: number;
readonly SCISSOR_BOX: number;
readonly SCISSOR_TEST: number;
readonly SHADER_TYPE: number;
readonly SHADING_LANGUAGE_VERSION: number;
readonly SHORT: number;
readonly SRC_ALPHA: number;
readonly SRC_ALPHA_SATURATE: number;
readonly SRC_COLOR: number;
readonly STATIC_DRAW: number;
readonly STENCIL_ATTACHMENT: number;
readonly STENCIL_BACK_FAIL: number;
readonly STENCIL_BACK_FUNC: number;
readonly STENCIL_BACK_PASS_DEPTH_FAIL: number;
readonly STENCIL_BACK_PASS_DEPTH_PASS: number;
readonly STENCIL_BACK_REF: number;
readonly STENCIL_BACK_VALUE_MASK: number;
readonly STENCIL_BACK_WRITEMASK: number;
readonly STENCIL_BITS: number;
readonly STENCIL_BUFFER_BIT: number;
readonly STENCIL_CLEAR_VALUE: number;
readonly STENCIL_FAIL: number;
readonly STENCIL_FUNC: number;
readonly STENCIL_INDEX: number;
readonly STENCIL_INDEX8: number;
readonly STENCIL_PASS_DEPTH_FAIL: number;
readonly STENCIL_PASS_DEPTH_PASS: number;
readonly STENCIL_REF: number;
readonly STENCIL_TEST: number;
readonly STENCIL_VALUE_MASK: number;
readonly STENCIL_WRITEMASK: number;
readonly STREAM_DRAW: number;
readonly SUBPIXEL_BITS: number;
readonly TEXTURE: number;
readonly TEXTURE_2D: number;
readonly TEXTURE_BINDING_2D: number;
readonly TEXTURE_BINDING_CUBE_MAP: number;
readonly TEXTURE_CUBE_MAP: number;
readonly TEXTURE_CUBE_MAP_NEGATIVE_X: number;
readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: number;
readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: number;
readonly TEXTURE_CUBE_MAP_POSITIVE_X: number;
readonly TEXTURE_CUBE_MAP_POSITIVE_Y: number;
readonly TEXTURE_CUBE_MAP_POSITIVE_Z: number;
readonly TEXTURE_MAG_FILTER: number;
readonly TEXTURE_MIN_FILTER: number;
readonly TEXTURE_WRAP_S: number;
readonly TEXTURE_WRAP_T: number;
readonly TEXTURE0: number;
readonly TEXTURE1: number;
readonly TEXTURE10: number;
readonly TEXTURE11: number;
readonly TEXTURE12: number;
readonly TEXTURE13: number;
readonly TEXTURE14: number;
readonly TEXTURE15: number;
readonly TEXTURE16: number;
readonly TEXTURE17: number;
readonly TEXTURE18: number;
readonly TEXTURE19: number;
readonly TEXTURE2: number;
readonly TEXTURE20: number;
readonly TEXTURE21: number;
readonly TEXTURE22: number;
readonly TEXTURE23: number;
readonly TEXTURE24: number;
readonly TEXTURE25: number;
readonly TEXTURE26: number;
readonly TEXTURE27: number;
readonly TEXTURE28: number;
readonly TEXTURE29: number;
readonly TEXTURE3: number;
readonly TEXTURE30: number;
readonly TEXTURE31: number;
readonly TEXTURE4: number;
readonly TEXTURE5: number;
readonly TEXTURE6: number;
readonly TEXTURE7: number;
readonly TEXTURE8: number;
readonly TEXTURE9: number;
readonly TRIANGLE_FAN: number;
readonly TRIANGLE_STRIP: number;
readonly TRIANGLES: number;
readonly UNPACK_ALIGNMENT: number;
readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: number;
readonly UNPACK_FLIP_Y_WEBGL: number;
readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: number;
readonly UNSIGNED_BYTE: number;
readonly UNSIGNED_INT: number;
readonly UNSIGNED_SHORT: number;
readonly UNSIGNED_SHORT_4_4_4_4: number;
readonly UNSIGNED_SHORT_5_5_5_1: number;
readonly UNSIGNED_SHORT_5_6_5: number;
readonly VALIDATE_STATUS: number;
readonly VENDOR: number;
readonly VERSION: number;
readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number;
readonly VERTEX_ATTRIB_ARRAY_ENABLED: number;
readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: number;
readonly VERTEX_ATTRIB_ARRAY_POINTER: number;
readonly VERTEX_ATTRIB_ARRAY_SIZE: number;
readonly VERTEX_ATTRIB_ARRAY_STRIDE: number;
readonly VERTEX_ATTRIB_ARRAY_TYPE: number;
readonly VERTEX_SHADER: number;
readonly VIEWPORT: number;
readonly ZERO: number;
}
declare var WebGLRenderingContext: {
prototype: WebGLRenderingContext;
new(): WebGLRenderingContext;
readonly ACTIVE_ATTRIBUTES: number;
readonly ACTIVE_TEXTURE: number;
readonly ACTIVE_UNIFORMS: number;
readonly ALIASED_LINE_WIDTH_RANGE: number;
readonly ALIASED_POINT_SIZE_RANGE: number;
readonly ALPHA: number;
readonly ALPHA_BITS: number;
readonly ALWAYS: number;
readonly ARRAY_BUFFER: number;
readonly ARRAY_BUFFER_BINDING: number;
readonly ATTACHED_SHADERS: number;
readonly BACK: number;
readonly BLEND: number;
readonly BLEND_COLOR: number;
readonly BLEND_DST_ALPHA: number;
readonly BLEND_DST_RGB: number;
readonly BLEND_EQUATION: number;
readonly BLEND_EQUATION_ALPHA: number;
readonly BLEND_EQUATION_RGB: number;
readonly BLEND_SRC_ALPHA: number;
readonly BLEND_SRC_RGB: number;
readonly BLUE_BITS: number;
readonly BOOL: number;
readonly BOOL_VEC2: number;
readonly BOOL_VEC3: number;
readonly BOOL_VEC4: number;
readonly BROWSER_DEFAULT_WEBGL: number;
readonly BUFFER_SIZE: number;
readonly BUFFER_USAGE: number;
readonly BYTE: number;
readonly CCW: number;
readonly CLAMP_TO_EDGE: number;
readonly COLOR_ATTACHMENT0: number;
readonly COLOR_BUFFER_BIT: number;
readonly COLOR_CLEAR_VALUE: number;
readonly COLOR_WRITEMASK: number;
readonly COMPILE_STATUS: number;
readonly COMPRESSED_TEXTURE_FORMATS: number;
readonly CONSTANT_ALPHA: number;
readonly CONSTANT_COLOR: number;
readonly CONTEXT_LOST_WEBGL: number;
readonly CULL_FACE: number;
readonly CULL_FACE_MODE: number;
readonly CURRENT_PROGRAM: number;
readonly CURRENT_VERTEX_ATTRIB: number;
readonly CW: number;
readonly DECR: number;
readonly DECR_WRAP: number;
readonly DELETE_STATUS: number;
readonly DEPTH_ATTACHMENT: number;
readonly DEPTH_BITS: number;
readonly DEPTH_BUFFER_BIT: number;
readonly DEPTH_CLEAR_VALUE: number;
readonly DEPTH_COMPONENT: number;
readonly DEPTH_COMPONENT16: number;
readonly DEPTH_FUNC: number;
readonly DEPTH_RANGE: number;
readonly DEPTH_STENCIL: number;
readonly DEPTH_STENCIL_ATTACHMENT: number;
readonly DEPTH_TEST: number;
readonly DEPTH_WRITEMASK: number;
readonly DITHER: number;
readonly DONT_CARE: number;
readonly DST_ALPHA: number;
readonly DST_COLOR: number;
readonly DYNAMIC_DRAW: number;
readonly ELEMENT_ARRAY_BUFFER: number;
readonly ELEMENT_ARRAY_BUFFER_BINDING: number;
readonly EQUAL: number;
readonly FASTEST: number;
readonly FLOAT: number;
readonly FLOAT_MAT2: number;
readonly FLOAT_MAT3: number;
readonly FLOAT_MAT4: number;
readonly FLOAT_VEC2: number;
readonly FLOAT_VEC3: number;
readonly FLOAT_VEC4: number;
readonly FRAGMENT_SHADER: number;
readonly FRAMEBUFFER: number;
readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: number;
readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: number;
readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: number;
readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: number;
readonly FRAMEBUFFER_BINDING: number;
readonly FRAMEBUFFER_COMPLETE: number;
readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: number;
readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: number;
readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: number;
readonly FRAMEBUFFER_UNSUPPORTED: number;
readonly FRONT: number;
readonly FRONT_AND_BACK: number;
readonly FRONT_FACE: number;
readonly FUNC_ADD: number;
readonly FUNC_REVERSE_SUBTRACT: number;
readonly FUNC_SUBTRACT: number;
readonly GENERATE_MIPMAP_HINT: number;
readonly GEQUAL: number;
readonly GREATER: number;
readonly GREEN_BITS: number;
readonly HIGH_FLOAT: number;
readonly HIGH_INT: number;
readonly IMPLEMENTATION_COLOR_READ_FORMAT: number;
readonly IMPLEMENTATION_COLOR_READ_TYPE: number;
readonly INCR: number;
readonly INCR_WRAP: number;
readonly INT: number;
readonly INT_VEC2: number;
readonly INT_VEC3: number;
readonly INT_VEC4: number;
readonly INVALID_ENUM: number;
readonly INVALID_FRAMEBUFFER_OPERATION: number;
readonly INVALID_OPERATION: number;
readonly INVALID_VALUE: number;
readonly INVERT: number;
readonly KEEP: number;
readonly LEQUAL: number;
readonly LESS: number;
readonly LINE_LOOP: number;
readonly LINE_STRIP: number;
readonly LINE_WIDTH: number;
readonly LINEAR: number;
readonly LINEAR_MIPMAP_LINEAR: number;
readonly LINEAR_MIPMAP_NEAREST: number;
readonly LINES: number;
readonly LINK_STATUS: number;
readonly LOW_FLOAT: number;
readonly LOW_INT: number;
readonly LUMINANCE: number;
readonly LUMINANCE_ALPHA: number;
readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: number;
readonly MAX_CUBE_MAP_TEXTURE_SIZE: number;
readonly MAX_FRAGMENT_UNIFORM_VECTORS: number;
readonly MAX_RENDERBUFFER_SIZE: number;
readonly MAX_TEXTURE_IMAGE_UNITS: number;
readonly MAX_TEXTURE_SIZE: number;
readonly MAX_VARYING_VECTORS: number;
readonly MAX_VERTEX_ATTRIBS: number;
readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: number;
readonly MAX_VERTEX_UNIFORM_VECTORS: number;
readonly MAX_VIEWPORT_DIMS: number;
readonly MEDIUM_FLOAT: number;
readonly MEDIUM_INT: number;
readonly MIRRORED_REPEAT: number;
readonly NEAREST: number;
readonly NEAREST_MIPMAP_LINEAR: number;
readonly NEAREST_MIPMAP_NEAREST: number;
readonly NEVER: number;
readonly NICEST: number;
readonly NO_ERROR: number;
readonly NONE: number;
readonly NOTEQUAL: number;
readonly ONE: number;
readonly ONE_MINUS_CONSTANT_ALPHA: number;
readonly ONE_MINUS_CONSTANT_COLOR: number;
readonly ONE_MINUS_DST_ALPHA: number;
readonly ONE_MINUS_DST_COLOR: number;
readonly ONE_MINUS_SRC_ALPHA: number;
readonly ONE_MINUS_SRC_COLOR: number;
readonly OUT_OF_MEMORY: number;
readonly PACK_ALIGNMENT: number;
readonly POINTS: number;
readonly POLYGON_OFFSET_FACTOR: number;
readonly POLYGON_OFFSET_FILL: number;
readonly POLYGON_OFFSET_UNITS: number;
readonly RED_BITS: number;
readonly RENDERBUFFER: number;
readonly RENDERBUFFER_ALPHA_SIZE: number;
readonly RENDERBUFFER_BINDING: number;
readonly RENDERBUFFER_BLUE_SIZE: number;
readonly RENDERBUFFER_DEPTH_SIZE: number;
readonly RENDERBUFFER_GREEN_SIZE: number;
readonly RENDERBUFFER_HEIGHT: number;
readonly RENDERBUFFER_INTERNAL_FORMAT: number;
readonly RENDERBUFFER_RED_SIZE: number;
readonly RENDERBUFFER_STENCIL_SIZE: number;
readonly RENDERBUFFER_WIDTH: number;
readonly RENDERER: number;
readonly REPEAT: number;
readonly REPLACE: number;
readonly RGB: number;
readonly RGB5_A1: number;
readonly RGB565: number;
readonly RGBA: number;
readonly RGBA4: number;
readonly SAMPLE_ALPHA_TO_COVERAGE: number;
readonly SAMPLE_BUFFERS: number;
readonly SAMPLE_COVERAGE: number;
readonly SAMPLE_COVERAGE_INVERT: number;
readonly SAMPLE_COVERAGE_VALUE: number;
readonly SAMPLER_2D: number;
readonly SAMPLER_CUBE: number;
readonly SAMPLES: number;
readonly SCISSOR_BOX: number;
readonly SCISSOR_TEST: number;
readonly SHADER_TYPE: number;
readonly SHADING_LANGUAGE_VERSION: number;
readonly SHORT: number;
readonly SRC_ALPHA: number;
readonly SRC_ALPHA_SATURATE: number;
readonly SRC_COLOR: number;
readonly STATIC_DRAW: number;
readonly STENCIL_ATTACHMENT: number;
readonly STENCIL_BACK_FAIL: number;
readonly STENCIL_BACK_FUNC: number;
readonly STENCIL_BACK_PASS_DEPTH_FAIL: number;
readonly STENCIL_BACK_PASS_DEPTH_PASS: number;
readonly STENCIL_BACK_REF: number;
readonly STENCIL_BACK_VALUE_MASK: number;
readonly STENCIL_BACK_WRITEMASK: number;
readonly STENCIL_BITS: number;
readonly STENCIL_BUFFER_BIT: number;
readonly STENCIL_CLEAR_VALUE: number;
readonly STENCIL_FAIL: number;
readonly STENCIL_FUNC: number;
readonly STENCIL_INDEX: number;
readonly STENCIL_INDEX8: number;
readonly STENCIL_PASS_DEPTH_FAIL: number;
readonly STENCIL_PASS_DEPTH_PASS: number;
readonly STENCIL_REF: number;
readonly STENCIL_TEST: number;
readonly STENCIL_VALUE_MASK: number;
readonly STENCIL_WRITEMASK: number;
readonly STREAM_DRAW: number;
readonly SUBPIXEL_BITS: number;
readonly TEXTURE: number;
readonly TEXTURE_2D: number;
readonly TEXTURE_BINDING_2D: number;
readonly TEXTURE_BINDING_CUBE_MAP: number;
readonly TEXTURE_CUBE_MAP: number;
readonly TEXTURE_CUBE_MAP_NEGATIVE_X: number;
readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: number;
readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: number;
readonly TEXTURE_CUBE_MAP_POSITIVE_X: number;
readonly TEXTURE_CUBE_MAP_POSITIVE_Y: number;
readonly TEXTURE_CUBE_MAP_POSITIVE_Z: number;
readonly TEXTURE_MAG_FILTER: number;
readonly TEXTURE_MIN_FILTER: number;
readonly TEXTURE_WRAP_S: number;
readonly TEXTURE_WRAP_T: number;
readonly TEXTURE0: number;
readonly TEXTURE1: number;
readonly TEXTURE10: number;
readonly TEXTURE11: number;
readonly TEXTURE12: number;
readonly TEXTURE13: number;
readonly TEXTURE14: number;
readonly TEXTURE15: number;
readonly TEXTURE16: number;
readonly TEXTURE17: number;
readonly TEXTURE18: number;
readonly TEXTURE19: number;
readonly TEXTURE2: number;
readonly TEXTURE20: number;
readonly TEXTURE21: number;
readonly TEXTURE22: number;
readonly TEXTURE23: number;
readonly TEXTURE24: number;
readonly TEXTURE25: number;
readonly TEXTURE26: number;
readonly TEXTURE27: number;
readonly TEXTURE28: number;
readonly TEXTURE29: number;
readonly TEXTURE3: number;
readonly TEXTURE30: number;
readonly TEXTURE31: number;
readonly TEXTURE4: number;
readonly TEXTURE5: number;
readonly TEXTURE6: number;
readonly TEXTURE7: number;
readonly TEXTURE8: number;
readonly TEXTURE9: number;
readonly TRIANGLE_FAN: number;
readonly TRIANGLE_STRIP: number;
readonly TRIANGLES: number;
readonly UNPACK_ALIGNMENT: number;
readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: number;
readonly UNPACK_FLIP_Y_WEBGL: number;
readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: number;
readonly UNSIGNED_BYTE: number;
readonly UNSIGNED_INT: number;
readonly UNSIGNED_SHORT: number;
readonly UNSIGNED_SHORT_4_4_4_4: number;
readonly UNSIGNED_SHORT_5_5_5_1: number;
readonly UNSIGNED_SHORT_5_6_5: number;
readonly VALIDATE_STATUS: number;
readonly VENDOR: number;
readonly VERSION: number;
readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: number;
readonly VERTEX_ATTRIB_ARRAY_ENABLED: number;
readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: number;
readonly VERTEX_ATTRIB_ARRAY_POINTER: number;
readonly VERTEX_ATTRIB_ARRAY_SIZE: number;
readonly VERTEX_ATTRIB_ARRAY_STRIDE: number;
readonly VERTEX_ATTRIB_ARRAY_TYPE: number;
readonly VERTEX_SHADER: number;
readonly VIEWPORT: number;
readonly ZERO: number;
};
interface WebGLShader extends WebGLObject {
}
declare var WebGLShader: {
prototype: WebGLShader;
new(): WebGLShader;
};
interface WebGLShaderPrecisionFormat {
readonly precision: number;
readonly rangeMax: number;
readonly rangeMin: number;
}
declare var WebGLShaderPrecisionFormat: {
prototype: WebGLShaderPrecisionFormat;
new(): WebGLShaderPrecisionFormat;
};
interface WebGLTexture extends WebGLObject {
}
declare var WebGLTexture: {
prototype: WebGLTexture;
new(): WebGLTexture;
};
interface WebGLUniformLocation {
}
declare var WebGLUniformLocation: {
prototype: WebGLUniformLocation;
new(): WebGLUniformLocation;
};
interface WebKitCSSMatrix {
a: number;
b: number;
c: number;
d: number;
e: number;
f: number;
m11: number;
m12: number;
m13: number;
m14: number;
m21: number;
m22: number;
m23: number;
m24: number;
m31: number;
m32: number;
m33: number;
m34: number;
m41: number;
m42: number;
m43: number;
m44: number;
inverse(): WebKitCSSMatrix;
multiply(secondMatrix: WebKitCSSMatrix): WebKitCSSMatrix;
rotate(angleX: number, angleY?: number, angleZ?: number): WebKitCSSMatrix;
rotateAxisAngle(x: number, y: number, z: number, angle: number): WebKitCSSMatrix;
scale(scaleX: number, scaleY?: number, scaleZ?: number): WebKitCSSMatrix;
setMatrixValue(value: string): void;
skewX(angle: number): WebKitCSSMatrix;
skewY(angle: number): WebKitCSSMatrix;
toString(): string;
translate(x: number, y: number, z?: number): WebKitCSSMatrix;
}
declare var WebKitCSSMatrix: {
prototype: WebKitCSSMatrix;
new(text?: string): WebKitCSSMatrix;
};
interface WebKitDirectoryEntry extends WebKitEntry {
createReader(): WebKitDirectoryReader;
}
declare var WebKitDirectoryEntry: {
prototype: WebKitDirectoryEntry;
new(): WebKitDirectoryEntry;
};
interface WebKitDirectoryReader {
readEntries(successCallback: WebKitEntriesCallback, errorCallback?: WebKitErrorCallback): void;
}
declare var WebKitDirectoryReader: {
prototype: WebKitDirectoryReader;
new(): WebKitDirectoryReader;
};
interface WebKitEntry {
readonly filesystem: WebKitFileSystem;
readonly fullPath: string;
readonly isDirectory: boolean;
readonly isFile: boolean;
readonly name: string;
}
declare var WebKitEntry: {
prototype: WebKitEntry;
new(): WebKitEntry;
};
interface WebKitFileEntry extends WebKitEntry {
file(successCallback: WebKitFileCallback, errorCallback?: WebKitErrorCallback): void;
}
declare var WebKitFileEntry: {
prototype: WebKitFileEntry;
new(): WebKitFileEntry;
};
interface WebKitFileSystem {
readonly name: string;
readonly root: WebKitDirectoryEntry;
}
declare var WebKitFileSystem: {
prototype: WebKitFileSystem;
new(): WebKitFileSystem;
};
interface WebKitPoint {
x: number;
y: number;
}
declare var WebKitPoint: {
prototype: WebKitPoint;
new(x?: number, y?: number): WebKitPoint;
};
interface webkitRTCPeerConnection extends RTCPeerConnection {
addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: webkitRTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var webkitRTCPeerConnection: {
prototype: webkitRTCPeerConnection;
new(configuration: RTCConfiguration): webkitRTCPeerConnection;
};
interface WebSocketEventMap {
"close": CloseEvent;
"error": Event;
"message": MessageEvent;
"open": Event;
}
interface WebSocket extends EventTarget {
binaryType: string;
readonly bufferedAmount: number;
readonly extensions: string;
onclose: (this: WebSocket, ev: CloseEvent) => any;
onerror: (this: WebSocket, ev: Event) => any;
onmessage: (this: WebSocket, ev: MessageEvent) => any;
onopen: (this: WebSocket, ev: Event) => any;
readonly protocol: string;
readonly readyState: number;
readonly url: string;
close(code?: number, reason?: string): void;
send(data: any): void;
readonly CLOSED: number;
readonly CLOSING: number;
readonly CONNECTING: number;
readonly OPEN: number;
addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var WebSocket: {
prototype: WebSocket;
new(url: string, protocols?: string | string[]): WebSocket;
readonly CLOSED: number;
readonly CLOSING: number;
readonly CONNECTING: number;
readonly OPEN: number;
};
interface WheelEvent extends MouseEvent {
readonly deltaMode: number;
readonly deltaX: number;
readonly deltaY: number;
readonly deltaZ: number;
readonly wheelDelta: number;
readonly wheelDeltaX: number;
readonly wheelDeltaY: number;
getCurrentPoint(element: Element): void;
initWheelEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, buttonArg: number, relatedTargetArg: EventTarget, modifiersListArg: string, deltaXArg: number, deltaYArg: number, deltaZArg: number, deltaMode: number): void;
readonly DOM_DELTA_LINE: number;
readonly DOM_DELTA_PAGE: number;
readonly DOM_DELTA_PIXEL: number;
}
declare var WheelEvent: {
prototype: WheelEvent;
new(typeArg: string, eventInitDict?: WheelEventInit): WheelEvent;
readonly DOM_DELTA_LINE: number;
readonly DOM_DELTA_PAGE: number;
readonly DOM_DELTA_PIXEL: number;
};
interface WindowEventMap extends GlobalEventHandlersEventMap {
"abort": UIEvent;
"afterprint": Event;
"beforeprint": Event;
"beforeunload": BeforeUnloadEvent;
"blur": FocusEvent;
"canplay": Event;
"canplaythrough": Event;
"change": Event;
"click": MouseEvent;
"compassneedscalibration": Event;
"contextmenu": PointerEvent;
"dblclick": MouseEvent;
"devicelight": DeviceLightEvent;
"devicemotion": DeviceMotionEvent;
"deviceorientation": DeviceOrientationEvent;
"drag": DragEvent;
"dragend": DragEvent;
"dragenter": DragEvent;
"dragleave": DragEvent;
"dragover": DragEvent;
"dragstart": DragEvent;
"drop": DragEvent;
"durationchange": Event;
"emptied": Event;
"ended": MediaStreamErrorEvent;
"error": ErrorEvent;
"focus": FocusEvent;
"hashchange": HashChangeEvent;
"input": Event;
"invalid": Event;
"keydown": KeyboardEvent;
"keypress": KeyboardEvent;
"keyup": KeyboardEvent;
"load": Event;
"loadeddata": Event;
"loadedmetadata": Event;
"loadstart": Event;
"message": MessageEvent;
"mousedown": MouseEvent;
"mouseenter": MouseEvent;
"mouseleave": MouseEvent;
"mousemove": MouseEvent;
"mouseout": MouseEvent;
"mouseover": MouseEvent;
"mouseup": MouseEvent;
"mousewheel": WheelEvent;
"MSGestureChange": MSGestureEvent;
"MSGestureDoubleTap": MSGestureEvent;
"MSGestureEnd": MSGestureEvent;
"MSGestureHold": MSGestureEvent;
"MSGestureStart": MSGestureEvent;
"MSGestureTap": MSGestureEvent;
"MSInertiaStart": MSGestureEvent;
"MSPointerCancel": MSPointerEvent;
"MSPointerDown": MSPointerEvent;
"MSPointerEnter": MSPointerEvent;
"MSPointerLeave": MSPointerEvent;
"MSPointerMove": MSPointerEvent;
"MSPointerOut": MSPointerEvent;
"MSPointerOver": MSPointerEvent;
"MSPointerUp": MSPointerEvent;
"offline": Event;
"online": Event;
"orientationchange": Event;
"pagehide": PageTransitionEvent;
"pageshow": PageTransitionEvent;
"pause": Event;
"play": Event;
"playing": Event;
"popstate": PopStateEvent;
"progress": ProgressEvent;
"ratechange": Event;
"readystatechange": ProgressEvent;
"reset": Event;
"resize": UIEvent;
"scroll": UIEvent;
"seeked": Event;
"seeking": Event;
"select": UIEvent;
"stalled": Event;
"storage": StorageEvent;
"submit": Event;
"suspend": Event;
"timeupdate": Event;
"touchcancel": TouchEvent;
"touchend": TouchEvent;
"touchmove": TouchEvent;
"touchstart": TouchEvent;
"unload": Event;
"volumechange": Event;
"waiting": Event;
}
interface Window extends EventTarget, WindowTimers, WindowSessionStorage, WindowLocalStorage, WindowConsole, GlobalEventHandlers, IDBEnvironment, WindowBase64, GlobalFetch {
readonly applicationCache: ApplicationCache;
readonly caches: CacheStorage;
readonly clientInformation: Navigator;
readonly closed: boolean;
readonly crypto: Crypto;
defaultStatus: string;
readonly devicePixelRatio: number;
readonly document: Document;
readonly doNotTrack: string;
event: Event | undefined;
readonly external: External;
readonly frameElement: Element;
readonly frames: Window;
readonly history: History;
readonly innerHeight: number;
readonly innerWidth: number;
readonly isSecureContext: boolean;
readonly length: number;
readonly location: Location;
readonly locationbar: BarProp;
readonly menubar: BarProp;
readonly msContentScript: ExtensionScriptApis;
readonly msCredentials: MSCredentials;
name: string;
readonly navigator: Navigator;
offscreenBuffering: string | boolean;
onabort: (this: Window, ev: UIEvent) => any;
onafterprint: (this: Window, ev: Event) => any;
onbeforeprint: (this: Window, ev: Event) => any;
onbeforeunload: (this: Window, ev: BeforeUnloadEvent) => any;
onblur: (this: Window, ev: FocusEvent) => any;
oncanplay: (this: Window, ev: Event) => any;
oncanplaythrough: (this: Window, ev: Event) => any;
onchange: (this: Window, ev: Event) => any;
onclick: (this: Window, ev: MouseEvent) => any;
oncompassneedscalibration: (this: Window, ev: Event) => any;
oncontextmenu: (this: Window, ev: PointerEvent) => any;
ondblclick: (this: Window, ev: MouseEvent) => any;
ondevicelight: (this: Window, ev: DeviceLightEvent) => any;
ondevicemotion: (this: Window, ev: DeviceMotionEvent) => any;
ondeviceorientation: (this: Window, ev: DeviceOrientationEvent) => any;
ondrag: (this: Window, ev: DragEvent) => any;
ondragend: (this: Window, ev: DragEvent) => any;
ondragenter: (this: Window, ev: DragEvent) => any;
ondragleave: (this: Window, ev: DragEvent) => any;
ondragover: (this: Window, ev: DragEvent) => any;
ondragstart: (this: Window, ev: DragEvent) => any;
ondrop: (this: Window, ev: DragEvent) => any;
ondurationchange: (this: Window, ev: Event) => any;
onemptied: (this: Window, ev: Event) => any;
onended: (this: Window, ev: MediaStreamErrorEvent) => any;
onerror: ErrorEventHandler;
onfocus: (this: Window, ev: FocusEvent) => any;
onhashchange: (this: Window, ev: HashChangeEvent) => any;
oninput: (this: Window, ev: Event) => any;
oninvalid: (this: Window, ev: Event) => any;
onkeydown: (this: Window, ev: KeyboardEvent) => any;
onkeypress: (this: Window, ev: KeyboardEvent) => any;
onkeyup: (this: Window, ev: KeyboardEvent) => any;
onload: (this: Window, ev: Event) => any;
onloadeddata: (this: Window, ev: Event) => any;
onloadedmetadata: (this: Window, ev: Event) => any;
onloadstart: (this: Window, ev: Event) => any;
onmessage: (this: Window, ev: MessageEvent) => any;
onmousedown: (this: Window, ev: MouseEvent) => any;
onmouseenter: (this: Window, ev: MouseEvent) => any;
onmouseleave: (this: Window, ev: MouseEvent) => any;
onmousemove: (this: Window, ev: MouseEvent) => any;
onmouseout: (this: Window, ev: MouseEvent) => any;
onmouseover: (this: Window, ev: MouseEvent) => any;
onmouseup: (this: Window, ev: MouseEvent) => any;
onmousewheel: (this: Window, ev: WheelEvent) => any;
onmsgesturechange: (this: Window, ev: MSGestureEvent) => any;
onmsgesturedoubletap: (this: Window, ev: MSGestureEvent) => any;
onmsgestureend: (this: Window, ev: MSGestureEvent) => any;
onmsgesturehold: (this: Window, ev: MSGestureEvent) => any;
onmsgesturestart: (this: Window, ev: MSGestureEvent) => any;
onmsgesturetap: (this: Window, ev: MSGestureEvent) => any;
onmsinertiastart: (this: Window, ev: MSGestureEvent) => any;
onmspointercancel: (this: Window, ev: MSPointerEvent) => any;
onmspointerdown: (this: Window, ev: MSPointerEvent) => any;
onmspointerenter: (this: Window, ev: MSPointerEvent) => any;
onmspointerleave: (this: Window, ev: MSPointerEvent) => any;
onmspointermove: (this: Window, ev: MSPointerEvent) => any;
onmspointerout: (this: Window, ev: MSPointerEvent) => any;
onmspointerover: (this: Window, ev: MSPointerEvent) => any;
onmspointerup: (this: Window, ev: MSPointerEvent) => any;
onoffline: (this: Window, ev: Event) => any;
ononline: (this: Window, ev: Event) => any;
onorientationchange: (this: Window, ev: Event) => any;
onpagehide: (this: Window, ev: PageTransitionEvent) => any;
onpageshow: (this: Window, ev: PageTransitionEvent) => any;
onpause: (this: Window, ev: Event) => any;
onplay: (this: Window, ev: Event) => any;
onplaying: (this: Window, ev: Event) => any;
onpopstate: (this: Window, ev: PopStateEvent) => any;
onprogress: (this: Window, ev: ProgressEvent) => any;
onratechange: (this: Window, ev: Event) => any;
onreadystatechange: (this: Window, ev: ProgressEvent) => any;
onreset: (this: Window, ev: Event) => any;
onresize: (this: Window, ev: UIEvent) => any;
onscroll: (this: Window, ev: UIEvent) => any;
onseeked: (this: Window, ev: Event) => any;
onseeking: (this: Window, ev: Event) => any;
onselect: (this: Window, ev: UIEvent) => any;
onstalled: (this: Window, ev: Event) => any;
onstorage: (this: Window, ev: StorageEvent) => any;
onsubmit: (this: Window, ev: Event) => any;
onsuspend: (this: Window, ev: Event) => any;
ontimeupdate: (this: Window, ev: Event) => any;
ontouchcancel: (ev: TouchEvent) => any;
ontouchend: (ev: TouchEvent) => any;
ontouchmove: (ev: TouchEvent) => any;
ontouchstart: (ev: TouchEvent) => any;
onunload: (this: Window, ev: Event) => any;
onvolumechange: (this: Window, ev: Event) => any;
onwaiting: (this: Window, ev: Event) => any;
opener: any;
orientation: string | number;
readonly outerHeight: number;
readonly outerWidth: number;
readonly pageXOffset: number;
readonly pageYOffset: number;
readonly parent: Window;
readonly performance: Performance;
readonly personalbar: BarProp;
readonly screen: Screen;
readonly screenLeft: number;
readonly screenTop: number;
readonly screenX: number;
readonly screenY: number;
readonly scrollbars: BarProp;
readonly scrollX: number;
readonly scrollY: number;
readonly self: Window;
readonly speechSynthesis: SpeechSynthesis;
status: string;
readonly statusbar: BarProp;
readonly styleMedia: StyleMedia;
readonly toolbar: BarProp;
readonly top: Window;
readonly window: Window;
URL: typeof URL;
URLSearchParams: typeof URLSearchParams;
Blob: typeof Blob;
customElements: CustomElementRegistry;
alert(message?: any): void;
blur(): void;
cancelAnimationFrame(handle: number): void;
captureEvents(): void;
close(): void;
confirm(message?: string): boolean;
departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void;
focus(): void;
getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration;
getMatchedCSSRules(elt: Element, pseudoElt?: string): CSSRuleList;
getSelection(): Selection;
matchMedia(mediaQuery: string): MediaQueryList;
moveBy(x?: number, y?: number): void;
moveTo(x?: number, y?: number): void;
msWriteProfilerMark(profilerMarkName: string): void;
open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;
postMessage(message: any, targetOrigin: string, transfer?: any[]): void;
print(): void;
prompt(message?: string, _default?: string): string | null;
releaseEvents(): void;
requestAnimationFrame(callback: FrameRequestCallback): number;
resizeBy(x?: number, y?: number): void;
resizeTo(x?: number, y?: number): void;
scroll(x?: number, y?: number): void;
scrollBy(x?: number, y?: number): void;
scrollTo(x?: number, y?: number): void;
stop(): void;
webkitCancelAnimationFrame(handle: number): void;
webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint;
webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint;
webkitRequestAnimationFrame(callback: FrameRequestCallback): number;
createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise<ImageBitmap>;
createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
scroll(options?: ScrollToOptions): void;
scrollTo(options?: ScrollToOptions): void;
scrollBy(options?: ScrollToOptions): void;
addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var Window: {
prototype: Window;
new(): Window;
};
interface WorkerEventMap extends AbstractWorkerEventMap {
"message": MessageEvent;
}
interface Worker extends EventTarget, AbstractWorker {
onmessage: (this: Worker, ev: MessageEvent) => any;
postMessage(message: any, transfer?: any[]): void;
terminate(): void;
addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var Worker: {
prototype: Worker;
new(stringUrl: string): Worker;
};
interface XMLDocument extends Document {
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var XMLDocument: {
prototype: XMLDocument;
new(): XMLDocument;
};
interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {
"readystatechange": Event;
}
interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget {
onreadystatechange: (this: XMLHttpRequest, ev: Event) => any;
readonly readyState: number;
readonly response: any;
readonly responseText: string;
responseType: XMLHttpRequestResponseType;
readonly responseURL: string;
readonly responseXML: Document | null;
readonly status: number;
readonly statusText: string;
timeout: number;
readonly upload: XMLHttpRequestUpload;
withCredentials: boolean;
msCaching?: string;
abort(): void;
getAllResponseHeaders(): string;
getResponseHeader(header: string): string | null;
msCachingEnabled(): boolean;
open(method: string, url: string, async?: boolean, user?: string, password?: string): void;
overrideMimeType(mime: string): void;
send(data?: Document): void;
send(data?: string): void;
send(data?: any): void;
setRequestHeader(header: string, value: string): void;
readonly DONE: number;
readonly HEADERS_RECEIVED: number;
readonly LOADING: number;
readonly OPENED: number;
readonly UNSENT: number;
addEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof XMLHttpRequestEventMap>(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var XMLHttpRequest: {
prototype: XMLHttpRequest;
new(): XMLHttpRequest;
readonly DONE: number;
readonly HEADERS_RECEIVED: number;
readonly LOADING: number;
readonly OPENED: number;
readonly UNSENT: number;
};
interface XMLHttpRequestUpload extends EventTarget, XMLHttpRequestEventTarget {
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var XMLHttpRequestUpload: {
prototype: XMLHttpRequestUpload;
new(): XMLHttpRequestUpload;
};
interface XMLSerializer {
serializeToString(target: Node): string;
}
declare var XMLSerializer: {
prototype: XMLSerializer;
new(): XMLSerializer;
};
interface XPathEvaluator {
createExpression(expression: string, resolver: XPathNSResolver): XPathExpression;
createNSResolver(nodeResolver?: Node): XPathNSResolver;
evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult;
}
declare var XPathEvaluator: {
prototype: XPathEvaluator;
new(): XPathEvaluator;
};
interface XPathExpression {
evaluate(contextNode: Node, type: number, result: XPathResult | null): XPathResult;
}
declare var XPathExpression: {
prototype: XPathExpression;
new(): XPathExpression;
};
interface XPathNSResolver {
lookupNamespaceURI(prefix: string): string;
}
declare var XPathNSResolver: {
prototype: XPathNSResolver;
new(): XPathNSResolver;
};
interface XPathResult {
readonly booleanValue: boolean;
readonly invalidIteratorState: boolean;
readonly numberValue: number;
readonly resultType: number;
readonly singleNodeValue: Node;
readonly snapshotLength: number;
readonly stringValue: string;
iterateNext(): Node;
snapshotItem(index: number): Node;
readonly ANY_TYPE: number;
readonly ANY_UNORDERED_NODE_TYPE: number;
readonly BOOLEAN_TYPE: number;
readonly FIRST_ORDERED_NODE_TYPE: number;
readonly NUMBER_TYPE: number;
readonly ORDERED_NODE_ITERATOR_TYPE: number;
readonly ORDERED_NODE_SNAPSHOT_TYPE: number;
readonly STRING_TYPE: number;
readonly UNORDERED_NODE_ITERATOR_TYPE: number;
readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;
}
declare var XPathResult: {
prototype: XPathResult;
new(): XPathResult;
readonly ANY_TYPE: number;
readonly ANY_UNORDERED_NODE_TYPE: number;
readonly BOOLEAN_TYPE: number;
readonly FIRST_ORDERED_NODE_TYPE: number;
readonly NUMBER_TYPE: number;
readonly ORDERED_NODE_ITERATOR_TYPE: number;
readonly ORDERED_NODE_SNAPSHOT_TYPE: number;
readonly STRING_TYPE: number;
readonly UNORDERED_NODE_ITERATOR_TYPE: number;
readonly UNORDERED_NODE_SNAPSHOT_TYPE: number;
};
interface XSLTProcessor {
clearParameters(): void;
getParameter(namespaceURI: string, localName: string): any;
importStylesheet(style: Node): void;
removeParameter(namespaceURI: string, localName: string): void;
reset(): void;
setParameter(namespaceURI: string, localName: string, value: any): void;
transformToDocument(source: Node): Document;
transformToFragment(source: Node, document: Document): DocumentFragment;
}
declare var XSLTProcessor: {
prototype: XSLTProcessor;
new(): XSLTProcessor;
};
interface AbstractWorkerEventMap {
"error": ErrorEvent;
}
interface AbstractWorker {
onerror: (this: AbstractWorker, ev: ErrorEvent) => any;
addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
interface Body {
readonly bodyUsed: boolean;
arrayBuffer(): Promise<ArrayBuffer>;
blob(): Promise<Blob>;
json(): Promise<any>;
text(): Promise<string>;
formData(): Promise<FormData>;
}
interface CanvasPathMethods {
arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;
arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;
bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;
closePath(): void;
ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, anticlockwise?: boolean): void;
lineTo(x: number, y: number): void;
moveTo(x: number, y: number): void;
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
rect(x: number, y: number, w: number, h: number): void;
}
interface ChildNode {
remove(): void;
}
interface DocumentEvent {
createEvent(eventInterface: "AnimationEvent"): AnimationEvent;
createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;
createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent;
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
createEvent(eventInterface: "CloseEvent"): CloseEvent;
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
createEvent(eventInterface: "CustomEvent"): CustomEvent;
createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
createEvent(eventInterface: "DragEvent"): DragEvent;
createEvent(eventInterface: "ErrorEvent"): ErrorEvent;
createEvent(eventInterface: "Event"): Event;
createEvent(eventInterface: "Events"): Event;
createEvent(eventInterface: "FocusEvent"): FocusEvent;
createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent;
createEvent(eventInterface: "GamepadEvent"): GamepadEvent;
createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;
createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent;
createEvent(eventInterface: "LongRunningScriptDetectedEvent"): LongRunningScriptDetectedEvent;
createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent;
createEvent(eventInterface: "MSManipulationEvent"): MSManipulationEvent;
createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent;
createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent;
createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent;
createEvent(eventInterface: "MSSiteModeEvent"): MSSiteModeEvent;
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent;
createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent;
createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;
createEvent(eventInterface: "MessageEvent"): MessageEvent;
createEvent(eventInterface: "MouseEvent"): MouseEvent;
createEvent(eventInterface: "MouseEvents"): MouseEvent;
createEvent(eventInterface: "MutationEvent"): MutationEvent;
createEvent(eventInterface: "MutationEvents"): MutationEvent;
createEvent(eventInterface: "NavigationCompletedEvent"): NavigationCompletedEvent;
createEvent(eventInterface: "NavigationEvent"): NavigationEvent;
createEvent(eventInterface: "NavigationEventWithReferrer"): NavigationEventWithReferrer;
createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
createEvent(eventInterface: "OverflowEvent"): OverflowEvent;
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;
createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent;
createEvent(eventInterface: "PointerEvent"): PointerEvent;
createEvent(eventInterface: "PopStateEvent"): PopStateEvent;
createEvent(eventInterface: "ProgressEvent"): ProgressEvent;
createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent;
createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent;
createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent;
createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent;
createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent;
createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;
createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent;
createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;
createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;
createEvent(eventInterface: "ScriptNotifyEvent"): ScriptNotifyEvent;
createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;
createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
createEvent(eventInterface: "StorageEvent"): StorageEvent;
createEvent(eventInterface: "TextEvent"): TextEvent;
createEvent(eventInterface: "TouchEvent"): TouchEvent;
createEvent(eventInterface: "TrackEvent"): TrackEvent;
createEvent(eventInterface: "TransitionEvent"): TransitionEvent;
createEvent(eventInterface: "UIEvent"): UIEvent;
createEvent(eventInterface: "UIEvents"): UIEvent;
createEvent(eventInterface: "UnviewableContentIdentifiedEvent"): UnviewableContentIdentifiedEvent;
createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent;
createEvent(eventInterface: "WheelEvent"): WheelEvent;
createEvent(eventInterface: string): Event;
}
interface DOML2DeprecatedColorProperty {
color: string;
}
interface DOML2DeprecatedSizeProperty {
size: number;
}
interface ElementTraversal {
readonly childElementCount: number;
readonly firstElementChild: Element | null;
readonly lastElementChild: Element | null;
readonly nextElementSibling: Element | null;
readonly previousElementSibling: Element | null;
}
interface GetSVGDocument {
getSVGDocument(): Document;
}
interface GlobalEventHandlersEventMap {
"pointercancel": PointerEvent;
"pointerdown": PointerEvent;
"pointerenter": PointerEvent;
"pointerleave": PointerEvent;
"pointermove": PointerEvent;
"pointerout": PointerEvent;
"pointerover": PointerEvent;
"pointerup": PointerEvent;
"wheel": WheelEvent;
}
interface GlobalEventHandlers {
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
addEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
interface GlobalFetch {
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
}
interface HTMLTableAlignment {
/**
* Sets or retrieves a value that you can use to implement your own ch functionality for the object.
*/
ch: string;
/**
* Sets or retrieves a value that you can use to implement your own chOff functionality for the object.
*/
chOff: string;
/**
* Sets or retrieves how text and other content are vertically aligned within the object that contains them.
*/
vAlign: string;
}
interface IDBEnvironment {
readonly indexedDB: IDBFactory;
}
interface LinkStyle {
readonly sheet: StyleSheet;
}
interface MSBaseReaderEventMap {
"abort": Event;
"error": ErrorEvent;
"load": Event;
"loadend": ProgressEvent;
"loadstart": Event;
"progress": ProgressEvent;
}
interface MSBaseReader {
onabort: (this: MSBaseReader, ev: Event) => any;
onerror: (this: MSBaseReader, ev: ErrorEvent) => any;
onload: (this: MSBaseReader, ev: Event) => any;
onloadend: (this: MSBaseReader, ev: ProgressEvent) => any;
onloadstart: (this: MSBaseReader, ev: Event) => any;
onprogress: (this: MSBaseReader, ev: ProgressEvent) => any;
readonly readyState: number;
readonly result: any;
abort(): void;
readonly DONE: number;
readonly EMPTY: number;
readonly LOADING: number;
addEventListener<K extends keyof MSBaseReaderEventMap>(type: K, listener: (this: MSBaseReader, ev: MSBaseReaderEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof MSBaseReaderEventMap>(type: K, listener: (this: MSBaseReader, ev: MSBaseReaderEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
interface MSFileSaver {
msSaveBlob(blob: any, defaultName?: string): boolean;
msSaveOrOpenBlob(blob: any, defaultName?: string): boolean;
}
interface MSNavigatorDoNotTrack {
confirmSiteSpecificTrackingException(args: ConfirmSiteSpecificExceptionsInformation): boolean;
confirmWebWideTrackingException(args: ExceptionInformation): boolean;
removeSiteSpecificTrackingException(args: ExceptionInformation): void;
removeWebWideTrackingException(args: ExceptionInformation): void;
storeSiteSpecificTrackingException(args: StoreSiteSpecificExceptionsInformation): void;
storeWebWideTrackingException(args: StoreExceptionsInformation): void;
}
interface NavigatorBeacon {
sendBeacon(url: USVString, data?: BodyInit): boolean;
}
interface NavigatorConcurrentHardware {
readonly hardwareConcurrency: number;
}
interface NavigatorContentUtils {
}
interface NavigatorGeolocation {
readonly geolocation: Geolocation;
}
interface NavigatorID {
readonly appCodeName: string;
readonly appName: string;
readonly appVersion: string;
readonly platform: string;
readonly product: string;
readonly productSub: string;
readonly userAgent: string;
readonly vendor: string;
readonly vendorSub: string;
}
interface NavigatorOnLine {
readonly onLine: boolean;
}
interface NavigatorStorageUtils {
}
interface NavigatorUserMedia {
readonly mediaDevices: MediaDevices;
getUserMedia(constraints: MediaStreamConstraints, successCallback: NavigatorUserMediaSuccessCallback, errorCallback: NavigatorUserMediaErrorCallback): void;
}
interface NodeSelector {
querySelector<K extends keyof ElementTagNameMap>(selectors: K): ElementTagNameMap[K] | null;
querySelector<E extends Element = Element>(selectors: string): E | null;
querySelectorAll<K extends keyof ElementListTagNameMap>(selectors: K): ElementListTagNameMap[K];
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
}
interface RandomSource {
getRandomValues<T extends Int8Array | Uint8ClampedArray | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array>(array: T): T;
}
interface SVGAnimatedPoints {
readonly animatedPoints: SVGPointList;
readonly points: SVGPointList;
}
interface SVGFilterPrimitiveStandardAttributes {
readonly height: SVGAnimatedLength;
readonly result: SVGAnimatedString;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
}
interface SVGFitToViewBox {
readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;
readonly viewBox: SVGAnimatedRect;
}
interface SVGTests {
readonly requiredExtensions: SVGStringList;
readonly requiredFeatures: SVGStringList;
readonly systemLanguage: SVGStringList;
hasExtension(extension: string): boolean;
}
interface SVGURIReference {
readonly href: SVGAnimatedString;
}
interface WindowBase64 {
atob(encodedString: string): string;
btoa(rawString: string): string;
}
interface WindowConsole {
readonly console: Console;
}
interface WindowLocalStorage {
readonly localStorage: Storage;
}
interface WindowSessionStorage {
readonly sessionStorage: Storage;
}
interface WindowTimers extends Object, WindowTimersExtension {
clearInterval(handle: number): void;
clearTimeout(handle: number): void;
setInterval(handler: (...args: any[]) => void, timeout: number): number;
setInterval(handler: any, timeout?: any, ...args: any[]): number;
setTimeout(handler: (...args: any[]) => void, timeout: number): number;
setTimeout(handler: any, timeout?: any, ...args: any[]): number;
}
interface WindowTimersExtension {
clearImmediate(handle: number): void;
setImmediate(handler: (...args: any[]) => void): number;
setImmediate(handler: any, ...args: any[]): number;
}
interface XMLHttpRequestEventTargetEventMap {
"abort": Event;
"error": ErrorEvent;
"load": Event;
"loadend": ProgressEvent;
"loadstart": Event;
"progress": ProgressEvent;
"timeout": ProgressEvent;
}
interface XMLHttpRequestEventTarget {
onabort: (this: XMLHttpRequest, ev: Event) => any;
onerror: (this: XMLHttpRequest, ev: ErrorEvent) => any;
onload: (this: XMLHttpRequest, ev: Event) => any;
onloadend: (this: XMLHttpRequest, ev: ProgressEvent) => any;
onloadstart: (this: XMLHttpRequest, ev: Event) => any;
onprogress: (this: XMLHttpRequest, ev: ProgressEvent) => any;
ontimeout: (this: XMLHttpRequest, ev: ProgressEvent) => any;
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
removeEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, useCapture?: boolean): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
interface BroadcastChannel extends EventTarget {
readonly name: string;
onmessage: (ev: MessageEvent) => any;
onmessageerror: (ev: MessageEvent) => any;
close(): void;
postMessage(message: any): void;
addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, useCapture?: boolean): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
}
declare var BroadcastChannel: {
prototype: BroadcastChannel;
new(name: string): BroadcastChannel;
};
interface BroadcastChannelEventMap {
message: MessageEvent;
messageerror: MessageEvent;
}
interface ErrorEventInit {
message?: string;
filename?: string;
lineno?: number;
conlno?: number;
error?: any;
}
interface StorageEventInit extends EventInit {
key?: string;
oldValue?: string;
newValue?: string;
url: string;
storageArea?: Storage;
}
interface Canvas2DContextAttributes {
alpha?: boolean;
willReadFrequently?: boolean;
storage?: boolean;
[attribute: string]: boolean | string | undefined;
}
interface ImageBitmapOptions {
imageOrientation?: "none" | "flipY";
premultiplyAlpha?: "none" | "premultiply" | "default";
colorSpaceConversion?: "none" | "default";
resizeWidth?: number;
resizeHeight?: number;
resizeQuality?: "pixelated" | "low" | "medium" | "high";
}
interface ImageBitmap {
readonly width: number;
readonly height: number;
close(): void;
}
interface URLSearchParams {
/**
* Appends a specified key/value pair as a new search parameter.
*/
append(name: string, value: string): void;
/**
* Deletes the given search parameter, and its associated value, from the list of all search parameters.
*/
delete(name: string): void;
/**
* Returns the first value associated to the given search parameter.
*/
get(name: string): string | null;
/**
* Returns all the values association with a given search parameter.
*/
getAll(name: string): string[];
/**
* Returns a Boolean indicating if such a search parameter exists.
*/
has(name: string): boolean;
/**
* Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
*/
set(name: string, value: string): void;
}
declare var URLSearchParams: {
prototype: URLSearchParams;
/**
* Constructor returning a URLSearchParams object.
*/
new (init?: string | URLSearchParams): URLSearchParams;
};
interface NodeListOf<TNode extends Node> extends NodeList {
length: number;
item(index: number): TNode;
[index: number]: TNode;
}
interface HTMLCollectionOf<T extends Element> extends HTMLCollection {
item(index: number): T;
namedItem(name: string): T;
[index: number]: T;
}
interface BlobPropertyBag {
type?: string;
endings?: string;
}
interface FilePropertyBag extends BlobPropertyBag {
lastModified?: number;
}
interface EventListenerObject {
handleEvent(evt: Event): void;
}
interface ProgressEventInit extends EventInit {
lengthComputable?: boolean;
loaded?: number;
total?: number;
}
interface ScrollOptions {
behavior?: ScrollBehavior;
}
interface ScrollToOptions extends ScrollOptions {
left?: number;
top?: number;
}
interface ScrollIntoViewOptions extends ScrollOptions {
block?: ScrollLogicalPosition;
inline?: ScrollLogicalPosition;
}
interface ClipboardEventInit extends EventInit {
data?: string;
dataType?: string;
}
interface IDBArrayKey extends Array<IDBValidKey> {
}
interface RsaKeyGenParams extends Algorithm {
modulusLength: number;
publicExponent: Uint8Array;
}
interface RsaHashedKeyGenParams extends RsaKeyGenParams {
hash: AlgorithmIdentifier;
}
interface RsaKeyAlgorithm extends KeyAlgorithm {
modulusLength: number;
publicExponent: Uint8Array;
}
interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {
hash: AlgorithmIdentifier;
}
interface RsaHashedImportParams {
hash: AlgorithmIdentifier;
}
interface RsaPssParams {
saltLength: number;
}
interface RsaOaepParams extends Algorithm {
label?: BufferSource;
}
interface EcdsaParams extends Algorithm {
hash: AlgorithmIdentifier;
}
interface EcKeyGenParams extends Algorithm {
namedCurve: string;
}
interface EcKeyAlgorithm extends KeyAlgorithm {
typedCurve: string;
}
interface EcKeyImportParams extends Algorithm {
namedCurve: string;
}
interface EcdhKeyDeriveParams extends Algorithm {
public: CryptoKey;
}
interface AesCtrParams extends Algorithm {
counter: BufferSource;
length: number;
}
interface AesKeyAlgorithm extends KeyAlgorithm {
length: number;
}
interface AesKeyGenParams extends Algorithm {
length: number;
}
interface AesDerivedKeyParams extends Algorithm {
length: number;
}
interface AesCbcParams extends Algorithm {
iv: BufferSource;
}
interface AesCmacParams extends Algorithm {
length: number;
}
interface AesGcmParams extends Algorithm {
iv: BufferSource;
additionalData?: BufferSource;
tagLength?: number;
}
interface AesCfbParams extends Algorithm {
iv: BufferSource;
}
interface HmacImportParams extends Algorithm {
hash?: AlgorithmIdentifier;
length?: number;
}
interface HmacKeyAlgorithm extends KeyAlgorithm {
hash: AlgorithmIdentifier;
length: number;
}
interface HmacKeyGenParams extends Algorithm {
hash: AlgorithmIdentifier;
length?: number;
}
interface DhKeyGenParams extends Algorithm {
prime: Uint8Array;
generator: Uint8Array;
}
interface DhKeyAlgorithm extends KeyAlgorithm {
prime: Uint8Array;
generator: Uint8Array;
}
interface DhKeyDeriveParams extends Algorithm {
public: CryptoKey;
}
interface DhImportKeyParams extends Algorithm {
prime: Uint8Array;
generator: Uint8Array;
}
interface ConcatParams extends Algorithm {
hash?: AlgorithmIdentifier;
algorithmId: Uint8Array;
partyUInfo: Uint8Array;
partyVInfo: Uint8Array;
publicInfo?: Uint8Array;
privateInfo?: Uint8Array;
}
interface HkdfCtrParams extends Algorithm {
hash: AlgorithmIdentifier;
label: BufferSource;
context: BufferSource;
}
interface Pbkdf2Params extends Algorithm {
salt: BufferSource;
iterations: number;
hash: AlgorithmIdentifier;
}
interface RsaOtherPrimesInfo {
r: string;
d: string;
t: string;
}
interface JsonWebKey {
kty: string;
use?: string;
key_ops?: string[];
alg?: string;
kid?: string;
x5u?: string;
x5c?: string;
x5t?: string;
ext?: boolean;
crv?: string;
x?: string;
y?: string;
d?: string;
n?: string;
e?: string;
p?: string;
q?: string;
dp?: string;
dq?: string;
qi?: string;
oth?: RsaOtherPrimesInfo[];
k?: string;
}
interface ParentNode {
readonly children: HTMLCollection;
readonly firstElementChild: Element | null;
readonly lastElementChild: Element | null;
readonly childElementCount: number;
}
interface DocumentOrShadowRoot {
readonly activeElement: Element | null;
readonly stylesheets: StyleSheetList;
getSelection(): Selection | null;
elementFromPoint(x: number, y: number): Element | null;
elementsFromPoint(x: number, y: number): Element[];
}
interface ShadowRoot extends DocumentOrShadowRoot, DocumentFragment {
readonly host: Element;
innerHTML: string;
}
interface ShadowRootInit {
mode: "open" | "closed";
delegatesFocus?: boolean;
}
interface HTMLSlotElement extends HTMLElement {
name: string;
assignedNodes(options?: AssignedNodesOptions): Node[];
}
interface AssignedNodesOptions {
flatten?: boolean;
}
interface ElementDefinitionOptions {
extends: string;
}
interface CustomElementRegistry {
define(name: string, constructor: Function, options?: ElementDefinitionOptions): void;
get(name: string): any;
whenDefined(name: string): PromiseLike<void>;
}
interface PromiseRejectionEvent extends Event {
readonly promise: PromiseLike<any>;
readonly reason: any;
}
interface PromiseRejectionEventInit extends EventInit {
promise: PromiseLike<any>;
reason?: any;
}
interface EventListenerOptions {
capture?: boolean;
}
interface AddEventListenerOptions extends EventListenerOptions {
passive?: boolean;
once?: boolean;
}
interface TouchEventInit extends EventModifierInit {
touches?: Touch[];
targetTouches?: Touch[];
changedTouches?: Touch[];
}
interface HTMLDialogElement extends HTMLElement {
open: boolean;
returnValue: string;
close(returnValue?: string): void;
show(): void;
showModal(): void;
}
declare var HTMLDialogElement: {
prototype: HTMLDialogElement;
new(): HTMLDialogElement;
};
interface HTMLMainElement extends HTMLElement {
}
declare var HTMLMainElement: {
prototype: HTMLMainElement;
new(): HTMLMainElement;
};
interface HTMLDetailsElement extends HTMLElement {
open: boolean;
}
declare var HTMLDetailsElement: {
prototype: HTMLDetailsElement;
new(): HTMLDetailsElement;
};
interface HTMLSummaryElement extends HTMLElement {
}
declare var HTMLSummaryElement: {
prototype: HTMLSummaryElement;
new(): HTMLSummaryElement;
};
declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
interface DecodeErrorCallback {
(error: DOMException): void;
}
interface DecodeSuccessCallback {
(decodedData: AudioBuffer): void;
}
interface ErrorEventHandler {
(message: string, filename?: string, lineno?: number, colno?: number, error?: Error): void;
}
interface ForEachCallback {
(keyId: any, status: MediaKeyStatus): void;
}
interface FrameRequestCallback {
(time: number): void;
}
interface FunctionStringCallback {
(data: string): void;
}
interface IntersectionObserverCallback {
(entries: IntersectionObserverEntry[], observer: IntersectionObserver): void;
}
interface MediaQueryListListener {
(mql: MediaQueryList): void;
}
interface MSExecAtPriorityFunctionCallback {
(...args: any[]): any;
}
interface MSLaunchUriCallback {
(): void;
}
interface MSUnsafeFunctionCallback {
(): any;
}
interface MutationCallback {
(mutations: MutationRecord[], observer: MutationObserver): void;
}
interface NavigatorUserMediaErrorCallback {
(error: MediaStreamError): void;
}
interface NavigatorUserMediaSuccessCallback {
(stream: MediaStream): void;
}
interface NotificationPermissionCallback {
(permission: NotificationPermission): void;
}
interface PositionCallback {
(position: Position): void;
}
interface PositionErrorCallback {
(error: PositionError): void;
}
interface RTCPeerConnectionErrorCallback {
(error: DOMError): void;
}
interface RTCSessionDescriptionCallback {
(sdp: RTCSessionDescription): void;
}
interface RTCStatsCallback {
(report: RTCStatsReport): void;
}
interface VoidFunction {
(): void;
}
interface HTMLElementTagNameMap {
"a": HTMLAnchorElement;
"applet": HTMLAppletElement;
"area": HTMLAreaElement;
"audio": HTMLAudioElement;
"base": HTMLBaseElement;
"basefont": HTMLBaseFontElement;
"blockquote": HTMLQuoteElement;
"body": HTMLBodyElement;
"br": HTMLBRElement;
"button": HTMLButtonElement;
"canvas": HTMLCanvasElement;
"caption": HTMLTableCaptionElement;
"col": HTMLTableColElement;
"colgroup": HTMLTableColElement;
"data": HTMLDataElement;
"datalist": HTMLDataListElement;
"del": HTMLModElement;
"dir": HTMLDirectoryElement;
"div": HTMLDivElement;
"dl": HTMLDListElement;
"embed": HTMLEmbedElement;
"fieldset": HTMLFieldSetElement;
"font": HTMLFontElement;
"form": HTMLFormElement;
"frame": HTMLFrameElement;
"frameset": HTMLFrameSetElement;
"h1": HTMLHeadingElement;
"h2": HTMLHeadingElement;
"h3": HTMLHeadingElement;
"h4": HTMLHeadingElement;
"h5": HTMLHeadingElement;
"h6": HTMLHeadingElement;
"head": HTMLHeadElement;
"hr": HTMLHRElement;
"html": HTMLHtmlElement;
"iframe": HTMLIFrameElement;
"img": HTMLImageElement;
"input": HTMLInputElement;
"ins": HTMLModElement;
"isindex": HTMLUnknownElement;
"label": HTMLLabelElement;
"legend": HTMLLegendElement;
"li": HTMLLIElement;
"link": HTMLLinkElement;
"listing": HTMLPreElement;
"map": HTMLMapElement;
"marquee": HTMLMarqueeElement;
"menu": HTMLMenuElement;
"meta": HTMLMetaElement;
"meter": HTMLMeterElement;
"nextid": HTMLUnknownElement;
"object": HTMLObjectElement;
"ol": HTMLOListElement;
"optgroup": HTMLOptGroupElement;
"option": HTMLOptionElement;
"output": HTMLOutputElement;
"p": HTMLParagraphElement;
"param": HTMLParamElement;
"picture": HTMLPictureElement;
"pre": HTMLPreElement;
"progress": HTMLProgressElement;
"q": HTMLQuoteElement;
"script": HTMLScriptElement;
"select": HTMLSelectElement;
"source": HTMLSourceElement;
"span": HTMLSpanElement;
"style": HTMLStyleElement;
"table": HTMLTableElement;
"tbody": HTMLTableSectionElement;
"td": HTMLTableDataCellElement;
"template": HTMLTemplateElement;
"textarea": HTMLTextAreaElement;
"tfoot": HTMLTableSectionElement;
"th": HTMLTableHeaderCellElement;
"thead": HTMLTableSectionElement;
"time": HTMLTimeElement;
"title": HTMLTitleElement;
"tr": HTMLTableRowElement;
"track": HTMLTrackElement;
"ul": HTMLUListElement;
"video": HTMLVideoElement;
"x-ms-webview": MSHTMLWebViewElement;
"xmp": HTMLPreElement;
}
interface ElementTagNameMap extends HTMLElementTagNameMap {
"abbr": HTMLElement;
"acronym": HTMLElement;
"address": HTMLElement;
"article": HTMLElement;
"aside": HTMLElement;
"b": HTMLElement;
"bdo": HTMLElement;
"big": HTMLElement;
"center": HTMLElement;
"circle": SVGCircleElement;
"cite": HTMLElement;
"clippath": SVGClipPathElement;
"code": HTMLElement;
"dd": HTMLElement;
"defs": SVGDefsElement;
"desc": SVGDescElement;
"dfn": HTMLElement;
"dt": HTMLElement;
"ellipse": SVGEllipseElement;
"em": HTMLElement;
"feblend": SVGFEBlendElement;
"fecolormatrix": SVGFEColorMatrixElement;
"fecomponenttransfer": SVGFEComponentTransferElement;
"fecomposite": SVGFECompositeElement;
"feconvolvematrix": SVGFEConvolveMatrixElement;
"fediffuselighting": SVGFEDiffuseLightingElement;
"fedisplacementmap": SVGFEDisplacementMapElement;
"fedistantlight": SVGFEDistantLightElement;
"feflood": SVGFEFloodElement;
"fefunca": SVGFEFuncAElement;
"fefuncb": SVGFEFuncBElement;
"fefuncg": SVGFEFuncGElement;
"fefuncr": SVGFEFuncRElement;
"fegaussianblur": SVGFEGaussianBlurElement;
"feimage": SVGFEImageElement;
"femerge": SVGFEMergeElement;
"femergenode": SVGFEMergeNodeElement;
"femorphology": SVGFEMorphologyElement;
"feoffset": SVGFEOffsetElement;
"fepointlight": SVGFEPointLightElement;
"fespecularlighting": SVGFESpecularLightingElement;
"fespotlight": SVGFESpotLightElement;
"fetile": SVGFETileElement;
"feturbulence": SVGFETurbulenceElement;
"figcaption": HTMLElement;
"figure": HTMLElement;
"filter": SVGFilterElement;
"footer": HTMLElement;
"foreignobject": SVGForeignObjectElement;
"g": SVGGElement;
"header": HTMLElement;
"hgroup": HTMLElement;
"i": HTMLElement;
"image": SVGImageElement;
"kbd": HTMLElement;
"keygen": HTMLElement;
"line": SVGLineElement;
"lineargradient": SVGLinearGradientElement;
"mark": HTMLElement;
"marker": SVGMarkerElement;
"mask": SVGMaskElement;
"metadata": SVGMetadataElement;
"nav": HTMLElement;
"nobr": HTMLElement;
"noframes": HTMLElement;
"noscript": HTMLElement;
"path": SVGPathElement;
"pattern": SVGPatternElement;
"plaintext": HTMLElement;
"polygon": SVGPolygonElement;
"polyline": SVGPolylineElement;
"radialgradient": SVGRadialGradientElement;
"rect": SVGRectElement;
"rt": HTMLElement;
"ruby": HTMLElement;
"s": HTMLElement;
"samp": HTMLElement;
"section": HTMLElement;
"small": HTMLElement;
"stop": SVGStopElement;
"strike": HTMLElement;
"strong": HTMLElement;
"sub": HTMLElement;
"sup": HTMLElement;
"svg": SVGSVGElement;
"switch": SVGSwitchElement;
"symbol": SVGSymbolElement;
"text": SVGTextElement;
"textpath": SVGTextPathElement;
"tspan": SVGTSpanElement;
"tt": HTMLElement;
"u": HTMLElement;
"use": SVGUseElement;
"var": HTMLElement;
"view": SVGViewElement;
"wbr": HTMLElement;
}
type ElementListTagNameMap = {
[key in keyof ElementTagNameMap]: NodeListOf<ElementTagNameMap[key]>
};
declare var Audio: { new(src?: string): HTMLAudioElement; };
declare var Image: { new(width?: number, height?: number): HTMLImageElement; };
declare var Option: { new(text?: string, value?: string, defaultSelected?: boolean, selected?: boolean): HTMLOptionElement; };
declare var applicationCache: ApplicationCache;
declare var caches: CacheStorage;
declare var clientInformation: Navigator;
declare var closed: boolean;
declare var crypto: Crypto;
declare var defaultStatus: string;
declare var devicePixelRatio: number;
declare var document: Document;
declare var doNotTrack: string;
declare var event: Event | undefined;
declare var external: External;
declare var frameElement: Element;
declare var frames: Window;
declare var history: History;
declare var innerHeight: number;
declare var innerWidth: number;
declare var isSecureContext: boolean;
declare var length: number;
declare var location: Location;
declare var locationbar: BarProp;
declare var menubar: BarProp;
declare var msContentScript: ExtensionScriptApis;
declare var msCredentials: MSCredentials;
declare const name: never;
declare var navigator: Navigator;
declare var offscreenBuffering: string | boolean;
declare var onabort: (this: Window, ev: UIEvent) => any;
declare var onafterprint: (this: Window, ev: Event) => any;
declare var onbeforeprint: (this: Window, ev: Event) => any;
declare var onbeforeunload: (this: Window, ev: BeforeUnloadEvent) => any;
declare var onblur: (this: Window, ev: FocusEvent) => any;
declare var oncanplay: (this: Window, ev: Event) => any;
declare var oncanplaythrough: (this: Window, ev: Event) => any;
declare var onchange: (this: Window, ev: Event) => any;
declare var onclick: (this: Window, ev: MouseEvent) => any;
declare var oncompassneedscalibration: (this: Window, ev: Event) => any;
declare var oncontextmenu: (this: Window, ev: PointerEvent) => any;
declare var ondblclick: (this: Window, ev: MouseEvent) => any;
declare var ondevicelight: (this: Window, ev: DeviceLightEvent) => any;
declare var ondevicemotion: (this: Window, ev: DeviceMotionEvent) => any;
declare var ondeviceorientation: (this: Window, ev: DeviceOrientationEvent) => any;
declare var ondrag: (this: Window, ev: DragEvent) => any;
declare var ondragend: (this: Window, ev: DragEvent) => any;
declare var ondragenter: (this: Window, ev: DragEvent) => any;
declare var ondragleave: (this: Window, ev: DragEvent) => any;
declare var ondragover: (this: Window, ev: DragEvent) => any;
declare var ondragstart: (this: Window, ev: DragEvent) => any;
declare var ondrop: (this: Window, ev: DragEvent) => any;
declare var ondurationchange: (this: Window, ev: Event) => any;
declare var onemptied: (this: Window, ev: Event) => any;
declare var onended: (this: Window, ev: MediaStreamErrorEvent) => any;
declare var onerror: ErrorEventHandler;
declare var onfocus: (this: Window, ev: FocusEvent) => any;
declare var onhashchange: (this: Window, ev: HashChangeEvent) => any;
declare var oninput: (this: Window, ev: Event) => any;
declare var oninvalid: (this: Window, ev: Event) => any;
declare var onkeydown: (this: Window, ev: KeyboardEvent) => any;
declare var onkeypress: (this: Window, ev: KeyboardEvent) => any;
declare var onkeyup: (this: Window, ev: KeyboardEvent) => any;
declare var onload: (this: Window, ev: Event) => any;
declare var onloadeddata: (this: Window, ev: Event) => any;
declare var onloadedmetadata: (this: Window, ev: Event) => any;
declare var onloadstart: (this: Window, ev: Event) => any;
declare var onmessage: (this: Window, ev: MessageEvent) => any;
declare var onmousedown: (this: Window, ev: MouseEvent) => any;
declare var onmouseenter: (this: Window, ev: MouseEvent) => any;
declare var onmouseleave: (this: Window, ev: MouseEvent) => any;
declare var onmousemove: (this: Window, ev: MouseEvent) => any;
declare var onmouseout: (this: Window, ev: MouseEvent) => any;
declare var onmouseover: (this: Window, ev: MouseEvent) => any;
declare var onmouseup: (this: Window, ev: MouseEvent) => any;
declare var onmousewheel: (this: Window, ev: WheelEvent) => any;
declare var onmsgesturechange: (this: Window, ev: MSGestureEvent) => any;
declare var onmsgesturedoubletap: (this: Window, ev: MSGestureEvent) => any;
declare var onmsgestureend: (this: Window, ev: MSGestureEvent) => any;
declare var onmsgesturehold: (this: Window, ev: MSGestureEvent) => any;
declare var onmsgesturestart: (this: Window, ev: MSGestureEvent) => any;
declare var onmsgesturetap: (this: Window, ev: MSGestureEvent) => any;
declare var onmsinertiastart: (this: Window, ev: MSGestureEvent) => any;
declare var onmspointercancel: (this: Window, ev: MSPointerEvent) => any;
declare var onmspointerdown: (this: Window, ev: MSPointerEvent) => any;
declare var onmspointerenter: (this: Window, ev: MSPointerEvent) => any;
declare var onmspointerleave: (this: Window, ev: MSPointerEvent) => any;
declare var onmspointermove: (this: Window, ev: MSPointerEvent) => any;
declare var onmspointerout: (this: Window, ev: MSPointerEvent) => any;
declare var onmspointerover: (this: Window, ev: MSPointerEvent) => any;
declare var onmspointerup: (this: Window, ev: MSPointerEvent) => any;
declare var onoffline: (this: Window, ev: Event) => any;
declare var ononline: (this: Window, ev: Event) => any;
declare var onorientationchange: (this: Window, ev: Event) => any;
declare var onpagehide: (this: Window, ev: PageTransitionEvent) => any;
declare var onpageshow: (this: Window, ev: PageTransitionEvent) => any;
declare var onpause: (this: Window, ev: Event) => any;
declare var onplay: (this: Window, ev: Event) => any;
declare var onplaying: (this: Window, ev: Event) => any;
declare var onpopstate: (this: Window, ev: PopStateEvent) => any;
declare var onprogress: (this: Window, ev: ProgressEvent) => any;
declare var onratechange: (this: Window, ev: Event) => any;
declare var onreadystatechange: (this: Window, ev: ProgressEvent) => any;
declare var onreset: (this: Window, ev: Event) => any;
declare var onresize: (this: Window, ev: UIEvent) => any;
declare var onscroll: (this: Window, ev: UIEvent) => any;
declare var onseeked: (this: Window, ev: Event) => any;
declare var onseeking: (this: Window, ev: Event) => any;
declare var onselect: (this: Window, ev: UIEvent) => any;
declare var onstalled: (this: Window, ev: Event) => any;
declare var onstorage: (this: Window, ev: StorageEvent) => any;
declare var onsubmit: (this: Window, ev: Event) => any;
declare var onsuspend: (this: Window, ev: Event) => any;
declare var ontimeupdate: (this: Window, ev: Event) => any;
declare var ontouchcancel: (ev: TouchEvent) => any;
declare var ontouchend: (ev: TouchEvent) => any;
declare var ontouchmove: (ev: TouchEvent) => any;
declare var ontouchstart: (ev: TouchEvent) => any;
declare var onunload: (this: Window, ev: Event) => any;
declare var onvolumechange: (this: Window, ev: Event) => any;
declare var onwaiting: (this: Window, ev: Event) => any;
declare var opener: any;
declare var orientation: string | number;
declare var outerHeight: number;
declare var outerWidth: number;
declare var pageXOffset: number;
declare var pageYOffset: number;
declare var parent: Window;
declare var performance: Performance;
declare var personalbar: BarProp;
declare var screen: Screen;
declare var screenLeft: number;
declare var screenTop: number;
declare var screenX: number;
declare var screenY: number;
declare var scrollbars: BarProp;
declare var scrollX: number;
declare var scrollY: number;
declare var self: Window;
declare var speechSynthesis: SpeechSynthesis;
declare var status: string;
declare var statusbar: BarProp;
declare var styleMedia: StyleMedia;
declare var toolbar: BarProp;
declare var top: Window;
declare var window: Window;
declare var customElements: CustomElementRegistry;
declare function alert(message?: any): void;
declare function blur(): void;
declare function cancelAnimationFrame(handle: number): void;
declare function captureEvents(): void;
declare function close(): void;
declare function confirm(message?: string): boolean;
declare function departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void;
declare function focus(): void;
declare function getComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration;
declare function getMatchedCSSRules(elt: Element, pseudoElt?: string): CSSRuleList;
declare function getSelection(): Selection;
declare function matchMedia(mediaQuery: string): MediaQueryList;
declare function moveBy(x?: number, y?: number): void;
declare function moveTo(x?: number, y?: number): void;
declare function msWriteProfilerMark(profilerMarkName: string): void;
declare function open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;
declare function postMessage(message: any, targetOrigin: string, transfer?: any[]): void;
declare function print(): void;
declare function prompt(message?: string, _default?: string): string | null;
declare function releaseEvents(): void;
declare function requestAnimationFrame(callback: FrameRequestCallback): number;
declare function resizeBy(x?: number, y?: number): void;
declare function resizeTo(x?: number, y?: number): void;
declare function scroll(x?: number, y?: number): void;
declare function scrollBy(x?: number, y?: number): void;
declare function scrollTo(x?: number, y?: number): void;
declare function stop(): void;
declare function webkitCancelAnimationFrame(handle: number): void;
declare function webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint;
declare function webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint;
declare function webkitRequestAnimationFrame(callback: FrameRequestCallback): number;
declare function createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, options?: ImageBitmapOptions): Promise<ImageBitmap>;
declare function createImageBitmap(image: HTMLImageElement | SVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | ImageData | Blob, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
declare function scroll(options?: ScrollToOptions): void;
declare function scrollTo(options?: ScrollToOptions): void;
declare function scrollBy(options?: ScrollToOptions): void;
declare function toString(): string;
declare function dispatchEvent(evt: Event): boolean;
declare function clearInterval(handle: number): void;
declare function clearTimeout(handle: number): void;
declare function setInterval(handler: (...args: any[]) => void, timeout: number): number;
declare function setInterval(handler: any, timeout?: any, ...args: any[]): number;
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): number;
declare function setTimeout(handler: any, timeout?: any, ...args: any[]): number;
declare function clearImmediate(handle: number): void;
declare function setImmediate(handler: (...args: any[]) => void): number;
declare function setImmediate(handler: any, ...args: any[]): number;
declare var sessionStorage: Storage;
declare var localStorage: Storage;
declare var console: Console;
declare var onpointercancel: (this: Window, ev: PointerEvent) => any;
declare var onpointerdown: (this: Window, ev: PointerEvent) => any;
declare var onpointerenter: (this: Window, ev: PointerEvent) => any;
declare var onpointerleave: (this: Window, ev: PointerEvent) => any;
declare var onpointermove: (this: Window, ev: PointerEvent) => any;
declare var onpointerout: (this: Window, ev: PointerEvent) => any;
declare var onpointerover: (this: Window, ev: PointerEvent) => any;
declare var onpointerup: (this: Window, ev: PointerEvent) => any;
declare var onwheel: (this: Window, ev: WheelEvent) => any;
declare var indexedDB: IDBFactory;
declare function atob(encodedString: string): string;
declare function btoa(rawString: string): string;
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
declare function addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, useCapture?: boolean): void;
declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
declare function removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, useCapture?: boolean): void;
declare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
type AAGUID = string;
type AlgorithmIdentifier = string | Algorithm;
type BodyInit = any;
type ByteString = string;
type ConstrainBoolean = boolean | ConstrainBooleanParameters;
type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
type ConstrainDouble = number | ConstrainDoubleRange;
type ConstrainLong = number | ConstrainLongRange;
type CryptoOperationData = ArrayBufferView;
type GLbitfield = number;
type GLboolean = boolean;
type GLbyte = number;
type GLclampf = number;
type GLenum = number;
type GLfloat = number;
type GLint = number;
type GLintptr = number;
type GLshort = number;
type GLsizei = number;
type GLsizeiptr = number;
type GLubyte = number;
type GLuint = number;
type GLushort = number;
type HeadersInit = Headers | string[][];
type IDBKeyPath = string;
type KeyFormat = string;
type KeyType = string;
type KeyUsage = string;
type MSInboundPayload = MSVideoRecvPayload | MSAudioRecvPayload;
type MSLocalClientEvent = MSLocalClientEventBase | MSAudioLocalClientEvent;
type MSOutboundPayload = MSVideoSendPayload | MSAudioSendPayload;
type RTCIceGatherCandidate = RTCIceCandidateDictionary | RTCIceCandidateComplete;
type RTCTransport = RTCDtlsTransport | RTCSrtpSdesTransport;
type RequestInfo = Request | string;
type USVString = string;
type payloadtype = number;
type ScrollBehavior = "auto" | "instant" | "smooth";
type ScrollLogicalPosition = "start" | "center" | "end" | "nearest";
type IDBValidKey = number | string | Date | IDBArrayKey;
type BufferSource = ArrayBuffer | ArrayBufferView;
type MouseWheelEvent = WheelEvent;
type ScrollRestoration = "auto" | "manual";
type FormDataEntryValue = string | File;
type InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend";
type AppendMode = "segments" | "sequence";
type AudioContextState = "suspended" | "running" | "closed";
type BiquadFilterType = "lowpass" | "highpass" | "bandpass" | "lowshelf" | "highshelf" | "peaking" | "notch" | "allpass";
type CanvasFillRule = "nonzero" | "evenodd";
type ChannelCountMode = "max" | "clamped-max" | "explicit";
type ChannelInterpretation = "speakers" | "discrete";
type DistanceModelType = "linear" | "inverse" | "exponential";
type ExpandGranularity = "character" | "word" | "sentence" | "textedit";
type GamepadInputEmulationType = "mouse" | "keyboard" | "gamepad";
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
type IDBRequestReadyState = "pending" | "done";
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
type ListeningState = "inactive" | "active" | "disambiguation";
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
type MediaKeyMessageType = "license-request" | "license-renewal" | "license-release" | "individualization-request";
type MediaKeySessionType = "temporary" | "persistent-license" | "persistent-release-message";
type MediaKeysRequirement = "required" | "optional" | "not-allowed";
type MediaKeyStatus = "usable" | "expired" | "output-downscaled" | "output-not-allowed" | "status-pending" | "internal-error";
type MediaStreamTrackState = "live" | "ended";
type MSCredentialType = "FIDO_2_0";
type MSIceAddrType = "os" | "stun" | "turn" | "peer-derived";
type MSIceType = "failed" | "direct" | "relay";
type MSStatsType = "description" | "localclientevent" | "inbound-network" | "outbound-network" | "inbound-payload" | "outbound-payload" | "transportdiagnostics";
type MSTransportType = "Embedded" | "USB" | "NFC" | "BT";
type MSWebViewPermissionState = "unknown" | "defer" | "allow" | "deny";
type MSWebViewPermissionType = "geolocation" | "unlimitedIndexedDBQuota" | "media" | "pointerlock" | "webnotifications";
type NavigationReason = "up" | "down" | "left" | "right";
type NavigationType = "navigate" | "reload" | "back_forward" | "prerender";
type NotificationDirection = "auto" | "ltr" | "rtl";
type NotificationPermission = "default" | "denied" | "granted";
type OscillatorType = "sine" | "square" | "sawtooth" | "triangle" | "custom";
type OverSampleType = "none" | "2x" | "4x";
type PanningModelType = "equalpower";
type PaymentComplete = "success" | "fail" | "";
type PaymentShippingType = "shipping" | "delivery" | "pickup";
type PushEncryptionKeyName = "p256dh" | "auth";
type PushPermissionState = "granted" | "denied" | "prompt";
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin-only" | "origin-when-cross-origin" | "unsafe-url";
type RequestCache = "default" | "no-store" | "reload" | "no-cache" | "force-cache";
type RequestCredentials = "omit" | "same-origin" | "include";
type RequestDestination = "" | "document" | "sharedworker" | "subresource" | "unknown" | "worker";
type RequestMode = "navigate" | "same-origin" | "no-cors" | "cors";
type RequestRedirect = "follow" | "error" | "manual";
type RequestType = "" | "audio" | "font" | "image" | "script" | "style" | "track" | "video";
type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
type RTCBundlePolicy = "balanced" | "max-compat" | "max-bundle";
type RTCDegradationPreference = "maintain-framerate" | "maintain-resolution" | "balanced";
type RTCDtlsRole = "auto" | "client" | "server";
type RTCDtlsTransportState = "new" | "connecting" | "connected" | "closed";
type RTCIceCandidateType = "host" | "srflx" | "prflx" | "relay";
type RTCIceComponent = "RTP" | "RTCP";
type RTCIceConnectionState = "new" | "checking" | "connected" | "completed" | "failed" | "disconnected" | "closed";
type RTCIceGathererState = "new" | "gathering" | "complete";
type RTCIceGatheringState = "new" | "gathering" | "complete";
type RTCIceGatherPolicy = "all" | "nohost" | "relay";
type RTCIceProtocol = "udp" | "tcp";
type RTCIceRole = "controlling" | "controlled";
type RTCIceTcpCandidateType = "active" | "passive" | "so";
type RTCIceTransportPolicy = "none" | "relay" | "all";
type RTCIceTransportState = "new" | "checking" | "connected" | "completed" | "disconnected" | "closed";
type RTCSdpType = "offer" | "pranswer" | "answer";
type RTCSignalingState = "stable" | "have-local-offer" | "have-remote-offer" | "have-local-pranswer" | "have-remote-pranswer" | "closed";
type RTCStatsIceCandidatePairState = "frozen" | "waiting" | "inprogress" | "failed" | "succeeded" | "cancelled";
type RTCStatsIceCandidateType = "host" | "serverreflexive" | "peerreflexive" | "relayed";
type RTCStatsType = "inboundrtp" | "outboundrtp" | "session" | "datachannel" | "track" | "transport" | "candidatepair" | "localcandidate" | "remotecandidate";
type ScopedCredentialType = "ScopedCred";
type ServiceWorkerState = "installing" | "installed" | "activating" | "activated" | "redundant";
type Transport = "usb" | "nfc" | "ble";
type VideoFacingModeEnum = "user" | "environment" | "left" | "right";
type VisibilityState = "hidden" | "visible" | "prerender" | "unloaded";
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
/////////////////////////////
/// WorkerGlobalScope APIs
/////////////////////////////
// These are only available in a Web Worker
declare function importScripts(...urls: string[]): void;
/////////////////////////////
/// Windows Script Host APIS
/////////////////////////////
interface ActiveXObject {
new (s: string): any;
}
declare var ActiveXObject: ActiveXObject;
interface ITextWriter {
Write(s: string): void;
WriteLine(s: string): void;
Close(): void;
}
interface TextStreamBase {
/**
* The column number of the current character position in an input stream.
*/
Column: number;
/**
* The current line number in an input stream.
*/
Line: number;
/**
* Closes a text stream.
* It is not necessary to close standard streams; they close automatically when the process ends. If
* you close a standard stream, be aware that any other pointers to that standard stream become invalid.
*/
Close(): void;
}
interface TextStreamWriter extends TextStreamBase {
/**
* Sends a string to an output stream.
*/
Write(s: string): void;
/**
* Sends a specified number of blank lines (newline characters) to an output stream.
*/
WriteBlankLines(intLines: number): void;
/**
* Sends a string followed by a newline character to an output stream.
*/
WriteLine(s: string): void;
}
interface TextStreamReader extends TextStreamBase {
/**
* Returns a specified number of characters from an input stream, starting at the current pointer position.
* Does not return until the ENTER key is pressed.
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
*/
Read(characters: number): string;
/**
* Returns all characters from an input stream.
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
*/
ReadAll(): string;
/**
* Returns an entire line from an input stream.
* Although this method extracts the newline character, it does not add it to the returned string.
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
*/
ReadLine(): string;
/**
* Skips a specified number of characters when reading from an input text stream.
* Can only be used on a stream in reading mode; causes an error in writing or appending mode.
* @param characters Positive number of characters to skip forward. (Backward skipping is not supported.)
*/
Skip(characters: number): void;
/**
* Skips the next line when reading from an input text stream.
* Can only be used on a stream in reading mode, not writing or appending mode.
*/
SkipLine(): void;
/**
* Indicates whether the stream pointer position is at the end of a line.
*/
AtEndOfLine: boolean;
/**
* Indicates whether the stream pointer position is at the end of a stream.
*/
AtEndOfStream: boolean;
}
declare var WScript: {
/**
* Outputs text to either a message box (under WScript.exe) or the command console window followed by
* a newline (under CScript.exe).
*/
Echo(s: any): void;
/**
* Exposes the write-only error output stream for the current script.
* Can be accessed only while using CScript.exe.
*/
StdErr: TextStreamWriter;
/**
* Exposes the write-only output stream for the current script.
* Can be accessed only while using CScript.exe.
*/
StdOut: TextStreamWriter;
Arguments: { length: number; Item(n: number): string; };
/**
* The full path of the currently running script.
*/
ScriptFullName: string;
/**
* Forces the script to stop immediately, with an optional exit code.
*/
Quit(exitCode?: number): number;
/**
* The Windows Script Host build version number.
*/
BuildVersion: number;
/**
* Fully qualified path of the host executable.
*/
FullName: string;
/**
* Gets/sets the script mode - interactive(true) or batch(false).
*/
Interactive: boolean;
/**
* The name of the host executable (WScript.exe or CScript.exe).
*/
Name: string;
/**
* Path of the directory containing the host executable.
*/
Path: string;
/**
* The filename of the currently running script.
*/
ScriptName: string;
/**
* Exposes the read-only input stream for the current script.
* Can be accessed only while using CScript.exe.
*/
StdIn: TextStreamReader;
/**
* Windows Script Host version
*/
Version: string;
/**
* Connects a COM object's event sources to functions named with a given prefix, in the form prefix_event.
*/
ConnectObject(objEventSource: any, strPrefix: string): void;
/**
* Creates a COM object.
* @param strProgiID
* @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.
*/
CreateObject(strProgID: string, strPrefix?: string): any;
/**
* Disconnects a COM object from its event sources.
*/
DisconnectObject(obj: any): void;
/**
* Retrieves an existing object with the specified ProgID from memory, or creates a new one from a file.
* @param strPathname Fully qualified path to the file containing the object persisted to disk.
* For objects in memory, pass a zero-length string.
* @param strProgID
* @param strPrefix Function names in the form prefix_event will be bound to this object's COM events.
*/
GetObject(strPathname: string, strProgID?: string, strPrefix?: string): any;
/**
* Suspends script execution for a specified length of time, then continues execution.
* @param intTime Interval (in milliseconds) to suspend script execution.
*/
Sleep(intTime: number): void;
};
/**
* Represents an Automation SAFEARRAY
*/
declare class SafeArray<T = any> {
private constructor();
private SafeArray_typekey: SafeArray<T>;
}
/**
* Allows enumerating over a COM collection, which may not have indexed item access.
*/
interface Enumerator<T = any> {
/**
* Returns true if the current item is the last one in the collection, or the collection is empty,
* or the current item is undefined.
*/
atEnd(): boolean;
/**
* Returns the current item in the collection
*/
item(): T;
/**
* Resets the current item in the collection to the first item. If there are no items in the collection,
* the current item is set to undefined.
*/
moveFirst(): void;
/**
* Moves the current item to the next item in the collection. If the enumerator is at the end of
* the collection or the collection is empty, the current item is set to undefined.
*/
moveNext(): void;
}
interface EnumeratorConstructor {
new <T = any>(safearray: SafeArray<T>): Enumerator<T>;
new <T = any>(collection: { Item(index: any): T }): Enumerator<T>;
new <T = any>(collection: any): Enumerator<T>;
}
declare var Enumerator: EnumeratorConstructor;
/**
* Enables reading from a COM safe array, which might have an alternate lower bound, or multiple dimensions.
*/
interface VBArray<T = any> {
/**
* Returns the number of dimensions (1-based).
*/
dimensions(): number;
/**
* Takes an index for each dimension in the array, and returns the item at the corresponding location.
*/
getItem(dimension1Index: number, ...dimensionNIndexes: number[]): T;
/**
* Returns the smallest available index for a given dimension.
* @param dimension 1-based dimension (defaults to 1)
*/
lbound(dimension?: number): number;
/**
* Returns the largest available index for a given dimension.
* @param dimension 1-based dimension (defaults to 1)
*/
ubound(dimension?: number): number;
/**
* Returns a Javascript array with all the elements in the VBArray. If there are multiple dimensions,
* each successive dimension is appended to the end of the array.
* Example: [[1,2,3],[4,5,6]] becomes [1,2,3,4,5,6]
*/
toArray(): T[];
}
interface VBArrayConstructor {
new <T = any>(safeArray: SafeArray<T>): VBArray<T>;
}
declare var VBArray: VBArrayConstructor;
/**
* Automation date (VT_DATE)
*/
declare class VarDate {
private constructor();
private VarDate_typekey: VarDate;
}
interface DateConstructor {
new (vd: VarDate): Date;
}
interface Date {
getVarDate: () => VarDate;
}
/// <reference path="lib.dom.d.ts" />
interface DOMTokenList {
[Symbol.iterator](): IterableIterator<string>;
}
interface FormData {
/**
* Returns an array of key, value pairs for every entry in the list
*/
entries(): IterableIterator<[string, string | File]>;
/**
* Returns a list of keys in the list
*/
keys(): IterableIterator<string>;
/**
* Returns a list of values in the list
*/
values(): IterableIterator<string | File>;
[Symbol.iterator](): IterableIterator<string | File>;
}
interface Headers {
[Symbol.iterator](): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all key/value pairs contained in this object.
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns an iterator allowing to go through all keys f the key/value pairs contained in this object.
*/
keys(): IterableIterator<string>;
/**
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
*/
values(): IterableIterator<string>;
}
interface NodeList {
/**
* Returns an array of key, value pairs for every entry in the list
*/
entries(): IterableIterator<[number, Node]>;
/**
* Performs the specified action for each node in an list.
* @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
*/
forEach(callbackfn: (value: Node, index: number, listObj: NodeList) => void, thisArg?: any): void;
/**
* Returns an list of keys in the list
*/
keys(): IterableIterator<number>;
/**
* Returns an list of values in the list
*/
values(): IterableIterator<Node>;
[Symbol.iterator](): IterableIterator<Node>;
}
interface NodeListOf<TNode extends Node> {
/**
* Returns an array of key, value pairs for every entry in the list
*/
entries(): IterableIterator<[number, TNode]>;
/**
* Performs the specified action for each node in an list.
* @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
*/
forEach(callbackfn: (value: TNode, index: number, listObj: NodeListOf<TNode>) => void, thisArg?: any): void;
/**
* Returns an list of keys in the list
*/
keys(): IterableIterator<number>;
/**
* Returns an list of values in the list
*/
values(): IterableIterator<TNode>;
[Symbol.iterator](): IterableIterator<TNode>;
}
interface URLSearchParams {
/**
* Returns an array of key, value pairs for every entry in the search params
*/
entries(): IterableIterator<[string, string]>;
/**
* Returns a list of keys in the search params
*/
keys(): IterableIterator<string>;
/**
* Returns a list of values in the search params
*/
values(): IterableIterator<string>;
/**
* iterate over key/value pairs
*/
[Symbol.iterator](): IterableIterator<[string, string]>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment