/** * NOTE: Do not modify this file by hand. * Content was generated from source .webidl files. * If you're updating some of the sources, see README for instructions. */ /// type HTMLCollectionOf = any; type IsInstance = (obj: any) => obj is T; type NodeListOf = any; interface WindowProxy extends Window {} ///////////////////////////// /// Window APIs ///////////////////////////// interface ActivateMenuItemOptions { altKey?: boolean; button?: number; ctrlKey?: boolean; metaKey?: boolean; shiftKey?: boolean; } interface AddEventListenerOptions extends EventListenerOptions { once?: boolean; passive?: boolean; signal?: AbortSignal; wantUntrusted?: boolean; } interface AddonEventInit extends EventInit { id: string; } interface AddressErrors { addressLine?: string; city?: string; country?: string; dependentLocality?: string; organization?: string; phone?: string; postalCode?: string; recipient?: string; region?: string; regionCode?: string; sortingCode?: string; } interface AnalyserOptions extends AudioNodeOptions { fftSize?: number; maxDecibels?: number; minDecibels?: number; smoothingTimeConstant?: number; } interface AnimationEventInit extends EventInit { animationName?: string; elapsedTime?: number; pseudoElement?: string; } interface AnimationPlaybackEventInit extends EventInit { currentTime?: number | null; timelineTime?: number | null; } interface AnimationPropertyDetails { property: string; runningOnCompositor: boolean; values: AnimationPropertyValueDetails[]; warning?: string; } interface AnimationPropertyValueDetails { composite: CompositeOperation; easing?: string; offset: number; value?: string; } interface AriaNotificationOptions { priority?: AriaNotifyPriority; } interface AssignedNodesOptions { flatten?: boolean; } interface AttributeNameValue { name: string; value: string; } interface AudioBufferOptions { length: number; numberOfChannels?: number; sampleRate: number; } interface AudioBufferSourceOptions { buffer?: AudioBuffer | null; detune?: number; loop?: boolean; loopEnd?: number; loopStart?: number; playbackRate?: number; } interface AudioConfiguration { bitrate?: number; channels?: string; contentType: string; samplerate?: number; } interface AudioContextOptions { sampleRate?: number; } interface AudioDataCopyToOptions { format?: AudioSampleFormat; frameCount?: number; frameOffset?: number; planeIndex: number; } interface AudioDataInit { data: AllowSharedBufferSource; format: AudioSampleFormat; numberOfChannels: number; numberOfFrames: number; sampleRate: number; timestamp: number; transfer?: ArrayBuffer[]; } interface AudioDecoderConfig { codec: string; description?: AllowSharedBufferSource; numberOfChannels: number; sampleRate: number; } interface AudioDecoderInit { error: WebCodecsErrorCallback; output: AudioDataOutputCallback; } interface AudioDecoderSupport { config?: AudioDecoderConfig; supported?: boolean; } interface AudioEncoderConfig { bitrate?: number; bitrateMode?: BitrateMode; codec: string; numberOfChannels?: number; opus?: OpusEncoderConfig; sampleRate?: number; } interface AudioEncoderInit { error: WebCodecsErrorCallback; output: EncodedAudioChunkOutputCallback; } interface AudioEncoderSupport { config?: AudioEncoderConfig; supported?: boolean; } interface AudioNodeOptions { channelCount?: number; channelCountMode?: ChannelCountMode; channelInterpretation?: ChannelInterpretation; } interface AudioOutputOptions { deviceId?: string; } interface AudioSinkDebugInfo { audioEnded?: boolean; hasErrored?: boolean; isPlaying?: boolean; isStarted?: boolean; lastGoodPosition?: number; outputRate?: number; playbackComplete?: boolean; startTime?: number; written?: number; } interface AudioSinkWrapperDebugInfo { audioEnded?: boolean; audioSink?: AudioSinkDebugInfo; isPlaying?: boolean; isStarted?: boolean; } interface AudioTimestamp { contextTime?: number; performanceTime?: DOMHighResTimeStamp; } interface AudioWorkletNodeOptions extends AudioNodeOptions { numberOfInputs?: number; numberOfOutputs?: number; outputChannelCount?: number[]; parameterData?: Record; processorOptions?: any; } interface AuthenticationExtensionsClientInputs { appid?: string; credProps?: boolean; credentialProtectionPolicy?: CredentialProtectionPolicy; enforceCredentialProtectionPolicy?: boolean; hmacCreateSecret?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobInputs; minPinLength?: boolean; prf?: AuthenticationExtensionsPRFInputs; } interface AuthenticationExtensionsClientInputsJSON { appid?: string; credProps?: boolean; credentialProtectionPolicy?: CredentialProtectionPolicy; enforceCredentialProtectionPolicy?: boolean; hmacCreateSecret?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON; minPinLength?: boolean; prf?: AuthenticationExtensionsPRFInputsJSON; } interface AuthenticationExtensionsClientOutputs { appid?: boolean; credProps?: CredentialPropertiesOutput; hmacCreateSecret?: boolean; largeBlob?: AuthenticationExtensionsLargeBlobOutputs; prf?: AuthenticationExtensionsPRFOutputs; } interface AuthenticationExtensionsLargeBlobInputs { read?: boolean; support?: string; write?: BufferSource; } interface AuthenticationExtensionsLargeBlobInputsJSON { read?: boolean; support?: string; write?: Base64URLString; } interface AuthenticationExtensionsLargeBlobOutputs { blob?: ArrayBuffer; supported?: boolean; written?: boolean; } interface AuthenticationExtensionsPRFInputs { eval?: AuthenticationExtensionsPRFValues; evalByCredential?: Record; } interface AuthenticationExtensionsPRFInputsJSON { eval?: AuthenticationExtensionsPRFValuesJSON; evalByCredential?: Record; } interface AuthenticationExtensionsPRFOutputs { enabled?: boolean; results?: AuthenticationExtensionsPRFValues; } interface AuthenticationExtensionsPRFValues { first: BufferSource; second?: BufferSource; } interface AuthenticationExtensionsPRFValuesJSON { first: Base64URLString; second?: Base64URLString; } interface AuthenticatorSelectionCriteria { authenticatorAttachment?: string; requireResidentKey?: boolean; residentKey?: string; userVerification?: string; } interface AutocompleteInfo { addressType?: string; canAutomaticallyPersist?: boolean; contactType?: string; credentialType?: string; fieldName?: string; section?: string; } interface AvcEncoderConfig { format?: AvcBitstreamFormat; } interface Base64URLDecodeOptions { padding: Base64URLDecodePadding; } interface Base64URLEncodeOptions { pad: boolean; } interface BiquadFilterOptions extends AudioNodeOptions { Q?: number; detune?: number; frequency?: number; gain?: number; type?: BiquadFilterType; } interface BlobEventInit extends EventInit { data: Blob; } interface BlobPropertyBag { endings?: EndingType; type?: string; } interface BlockParsingOptions { blockScriptCreated?: boolean; } interface BoxQuadOptions extends GeometryUtilsOptions { box?: CSSBoxType; ignoreTransforms?: boolean; relativeTo?: GeometryNode; } interface BufferRange { end?: number; start?: number; } interface CDMInformation { capabilities: string; clearlead: boolean; isHardwareDecryption: boolean; keySystemName: string; } interface CSSCustomPropertyRegisteredEventInit extends EventInit { propertyDefinition: InspectorCSSPropertyDefinition; } interface CSSMatrixComponentOptions { is2D?: boolean; } interface CSSNumericType { angle?: number; flex?: number; frequency?: number; length?: number; percent?: number; percentHint?: CSSNumericBaseType; resolution?: number; time?: number; } interface CSSStyleSheetInit { baseURL?: string; disabled?: boolean; media?: MediaList | string; } interface CacheQueryOptions { ignoreMethod?: boolean; ignoreSearch?: boolean; ignoreVary?: boolean; } interface CanvasRenderingContext2DDebugInfo { backendType: number; drawTargetType: number; isAccelerated: boolean; isShared: boolean; } interface CanvasRenderingContext2DSettings { alpha?: boolean; colorSpace?: PredefinedColorSpace; desynchronized?: boolean; forceSoftwareRendering?: boolean; willReadFrequently?: boolean; } interface CaretPositionFromPointOptions { shadowRoots?: ShadowRoot[]; } interface CaretStateChangedEventInit extends EventInit { boundingClientRect?: DOMRectReadOnly | null; caretVisible?: boolean; caretVisuallyVisible?: boolean; clientX?: number; clientY?: number; collapsed?: boolean; reason?: CaretChangedReason; selectedTextContent?: string; selectionEditable?: boolean; selectionVisible?: boolean; } interface ChannelMergerOptions extends AudioNodeOptions { numberOfInputs?: number; } interface ChannelSplitterOptions extends AudioNodeOptions { numberOfOutputs?: number; } interface CheckVisibilityOptions { checkOpacity?: boolean; checkVisibilityCSS?: boolean; contentVisibilityAuto?: boolean; flush?: boolean; opacityProperty?: boolean; visibilityProperty?: boolean; } interface CheckerboardReport { log?: string; reason?: CheckerboardReason; severity?: number; timestamp?: DOMTimeStamp; } interface ChildProcInfoDictionary { childID?: number; cpuCycleCount?: number; cpuTime?: number; memory?: number; origin?: string; pid?: number; threads?: ThreadInfoDictionary[]; type?: WebIDLProcType; utilityActors?: UtilityActorsDictionary[]; windows?: WindowInfoDictionary[]; } interface ChromeFilePropertyBag extends FilePropertyBag { existenceCheck?: boolean; name?: string; } interface ClearResourceCacheOptions { pattern?: OriginAttributesPatternDictionary; principal?: Principal; schemelessSite?: string; target?: ResourceCacheTarget; types?: ResourceCacheType[]; url?: string; } interface ClientRectsAndTexts { rectList: DOMRectList; textList: string[]; } interface ClipboardEventInit extends EventInit { data?: string; dataType?: string; } interface ClipboardItemOptions { presentationStyle?: PresentationStyle; } interface CloseEventInit extends EventInit { code?: number; reason?: string; wasClean?: boolean; } interface CloseWatcherOptions { signal?: AbortSignal; } interface CollectedData { children?: any[]; id?: Record; innerHTML?: string; scroll?: string; url?: string; xpath?: Record; } interface CommandEventInit extends EventInit { command?: string; source?: Element | null; } interface CompileScriptOptionsDictionary { charset?: string; filename?: string; hasReturnValue?: boolean; lazilyParse?: boolean; } interface CompositionEventInit extends UIEventInit { data?: string; } interface ComputedEffectTiming extends EffectTiming { activeDuration?: number; currentIteration?: number | null; endTime?: number; localTime?: number | null; progress?: number | null; } interface ConsoleInstanceOptions { consoleID?: string; dump?: ConsoleInstanceDumpCallback; innerID?: string; maxLogLevel?: ConsoleLogLevel; maxLogLevelPref?: string; prefix?: string; } interface ConstantSourceOptions { offset?: number; } interface ConstrainBooleanParameters { exact?: boolean; ideal?: boolean; } interface ConstrainDOMStringParameters { exact?: string | string[]; ideal?: string | string[]; } interface ConstrainDoubleRange { exact?: number; ideal?: number; max?: number; min?: number; } interface ConstrainLongRange { exact?: number; ideal?: number; max?: number; min?: number; } interface ContentVisibilityAutoStateChangeEventInit extends EventInit { skipped?: boolean; } interface ConvertCoordinateOptions extends GeometryUtilsOptions { fromBox?: CSSBoxType; toBox?: CSSBoxType; } interface ConvolverOptions extends AudioNodeOptions { buffer?: AudioBuffer | null; disableNormalization?: boolean; } interface CookieChangeEventInit extends EventInit { changed?: CookieList; deleted?: CookieList; } interface CookieInit { domain?: string | null; expires?: DOMHighResTimeStamp | null; maxAge?: number | null; name: string; partitioned?: boolean; path?: string; sameSite?: CookieSameSite; value: string; } interface CookieListItem { name?: string; value?: string; } interface CookieStoreDeleteOptions { domain?: string | null; name: string; partitioned?: boolean; path?: string; } interface CookieStoreGetOptions { name?: string; url?: string; } interface CopyOptions { noOverwrite?: boolean; recursive?: boolean; } interface CredentialCreationOptions { digital?: DigitalCredentialCreationOptions; mediation?: CredentialMediationRequirement; publicKey?: PublicKeyCredentialCreationOptions; signal?: AbortSignal; } interface CredentialPropertiesOutput { rk?: boolean; } interface CredentialRequestOptions { digital?: DigitalCredentialRequestOptions; identity?: IdentityCredentialRequestOptions; mediation?: CredentialMediationRequirement; publicKey?: PublicKeyCredentialRequestOptions; signal?: AbortSignal; } interface CustomEventInit extends EventInit { detail?: any; } interface DOMMatrix2DInit { a?: number; b?: number; c?: number; d?: number; e?: number; f?: number; m11?: number; m12?: number; m21?: number; m22?: number; m41?: number; m42?: number; } interface DOMMatrixInit extends DOMMatrix2DInit { is2D?: boolean; m13?: number; m14?: number; m23?: number; m24?: number; m31?: number; m32?: number; m33?: number; m34?: number; m43?: number; m44?: number; } interface DOMPointInit { w?: number; x?: number; y?: number; z?: number; } interface DOMQuadInit { p1?: DOMPointInit; p2?: DOMPointInit; p3?: DOMPointInit; p4?: DOMPointInit; } interface DOMRectInit { height?: number; width?: number; x?: number; y?: number; } interface DateTimeValue { day?: number; hour?: number; minute?: number; month?: number; year?: number; } interface DecodedStreamDataDebugInfo { audioFramesWritten?: number; haveSentFinishAudio?: boolean; haveSentFinishVideo?: boolean; instance?: string; lastVideoEndTime?: number; lastVideoStartTime?: number; nextAudioTime?: number; streamAudioWritten?: number; streamVideoWritten?: number; } interface DecodedStreamDebugInfo { audioQueueFinished?: boolean; audioQueueSize?: number; data?: DecodedStreamDataDebugInfo; instance?: string; lastAudio?: number; lastOutputTime?: number; playing?: number; startTime?: number; } interface DelayOptions extends AudioNodeOptions { delayTime?: number; maxDelayTime?: number; } interface DeviceAccelerationInit { x?: number | null; y?: number | null; z?: number | null; } interface DeviceLightEventInit extends EventInit { value?: number; } interface DeviceMotionEventInit extends EventInit { acceleration?: DeviceAccelerationInit; accelerationIncludingGravity?: DeviceAccelerationInit; interval?: number | null; rotationRate?: DeviceRotationRateInit; } interface DeviceOrientationEventInit extends EventInit { absolute?: boolean; alpha?: number | null; beta?: number | null; gamma?: number | null; } interface DeviceRotationRateInit { alpha?: number | null; beta?: number | null; gamma?: number | null; } interface DictWithAllowSharedBufferSource { allowSharedArrayBuffer?: ArrayBuffer; allowSharedArrayBufferView?: ArrayBufferView; arrayBuffer?: ArrayBuffer; arrayBufferView?: ArrayBufferView; } interface DigitalCredentialCreateRequest { data: any; protocol: string; } interface DigitalCredentialCreationOptions { requests?: DigitalCredentialCreateRequest[]; } interface DigitalCredentialGetRequest { data: any; protocol: string; } interface DigitalCredentialRequestOptions { requests: DigitalCredentialGetRequest[]; } interface DisplayMediaStreamConstraints { audio?: boolean | MediaTrackConstraints; video?: boolean | MediaTrackConstraints; } interface DisplayNameOptions { calendar?: string; keys?: string[]; style?: string; type?: string; } interface DisplayNameResult { calendar?: string; locale?: string; style?: string; type?: string; values?: string[]; } interface DocumentPictureInPictureEventInit extends EventInit { window: Window; } interface DocumentPictureInPictureOptions { disallowReturnToOpener?: boolean; height?: number; preferInitialWindowPlacement?: boolean; width?: number; } interface DocumentTimelineOptions { originTime?: DOMHighResTimeStamp; } interface DoubleRange { max?: number; min?: number; } interface DragEventInit extends MouseEventInit { dataTransfer?: DataTransfer | null; } interface DynamicsCompressorOptions extends AudioNodeOptions { attack?: number; knee?: number; ratio?: number; release?: number; threshold?: number; } interface EMEDebugInfo { keySystem?: string; sessionsInfo?: string; } interface EffectTiming { delay?: number; direction?: PlaybackDirection; duration?: number | string; easing?: string; endDelay?: number; fill?: FillMode; iterationStart?: number; iterations?: number; } interface ElementCreationOptions { is?: string; pseudo?: string; } interface ElementDefinitionOptions { extends?: string; } interface EncodedAudioChunkInit { data: AllowSharedBufferSource; duration?: number; timestamp: number; transfer?: ArrayBuffer[]; type: EncodedAudioChunkType; } interface EncodedAudioChunkMetadata { decoderConfig?: AudioDecoderConfig; } interface EncodedVideoChunkInit { data: AllowSharedBufferSource; duration?: number; timestamp: number; type: EncodedVideoChunkType; } interface EncodedVideoChunkMetadata { decoderConfig?: VideoDecoderConfig; svc?: SvcOutputMetadata; } interface ErrorEventInit extends EventInit { colno?: number; error?: any; filename?: string; lineno?: number; message?: string; } interface EventInit { bubbles?: boolean; cancelable?: boolean; composed?: boolean; } interface EventListenerOptions { capture?: boolean; mozSystemGroup?: boolean; } interface EventModifierInit extends UIEventInit { altKey?: boolean; ctrlKey?: boolean; metaKey?: boolean; modifierAltGraph?: boolean; modifierCapsLock?: boolean; modifierFn?: boolean; modifierFnLock?: boolean; modifierNumLock?: boolean; modifierOS?: boolean; modifierScrollLock?: boolean; modifierSymbol?: boolean; modifierSymbolLock?: boolean; shiftKey?: boolean; } interface EventSourceInit { withCredentials?: boolean; } interface ExecuteInGlobalOptions { reportExceptions?: boolean; } interface FailedCertSecurityInfo { certChainStrings?: string[]; certValidityRangeNotAfter?: DOMTimeStamp; certValidityRangeNotBefore?: DOMTimeStamp; channelStatus?: number; errorCodeString?: string; errorIsOverridable?: boolean; errorMessage?: string; hasHPKP?: boolean; hasHSTS?: boolean; issuerCommonName?: string; overridableErrorCategory?: OverridableErrorCategory; validNotAfter?: DOMTimeStamp; validNotBefore?: DOMTimeStamp; } interface FileInfo { creationTime?: number; lastAccessed?: number; lastModified?: number; path?: string; permissions?: number; size?: number; type?: FileType; } interface FilePropertyBag extends BlobPropertyBag { lastModified?: number; } interface FileSourceOptions { addResourceOptions?: FluentBundleAddResourceOptions; } interface FileSystemCreateWritableOptions { keepExistingData?: boolean; } interface FileSystemFlags { create?: boolean; exclusive?: boolean; } interface FileSystemGetDirectoryOptions { create?: boolean; } interface FileSystemGetFileOptions { create?: boolean; } interface FileSystemRemoveOptions { recursive?: boolean; } interface FluentBundleAddResourceOptions { allowOverrides?: boolean; } interface FluentBundleIteratorResult { done: boolean; value: FluentBundle | null; } interface FluentBundleOptions { pseudoStrategy?: string; useIsolating?: boolean; } interface FluentMessage { attributes: Record; value?: FluentPattern | null; } interface FluentTextElementItem { attr?: string; id?: string; text?: string; } interface FocusEventInit extends UIEventInit { relatedTarget?: EventTarget | null; } interface FocusOptions { focusVisible?: boolean; preventScroll?: boolean; } interface FontFaceDescriptors { ascentOverride?: string; descentOverride?: string; display?: string; featureSettings?: string; lineGapOverride?: string; sizeAdjust?: string; stretch?: string; style?: string; unicodeRange?: string; variant?: string; variationSettings?: string; weight?: string; } interface FontFaceSetIteratorResult { done: boolean; value: any; } interface FontFaceSetLoadEventInit extends EventInit { fontfaces?: FontFace[]; } interface FormAutofillConfidences { ccName?: number; ccNumber?: number; } interface FormDataEventInit extends EventInit { formData: FormData; } interface FrameCrashedEventInit extends EventInit { browsingContextId?: number; childID?: number; isTopFrame?: boolean; } interface GPUBindGroupDescriptor extends GPUObjectDescriptorBase { entries: GPUBindGroupEntry[]; layout: GPUBindGroupLayout; } interface GPUBindGroupEntry { binding: GPUIndex32; resource: GPUBindingResource; } interface GPUBindGroupLayoutDescriptor extends GPUObjectDescriptorBase { entries: GPUBindGroupLayoutEntry[]; } interface GPUBindGroupLayoutEntry { binding: GPUIndex32; buffer?: GPUBufferBindingLayout; externalTexture?: GPUExternalTextureBindingLayout; sampler?: GPUSamplerBindingLayout; storageTexture?: GPUStorageTextureBindingLayout; texture?: GPUTextureBindingLayout; visibility: GPUShaderStageFlags; } interface GPUBlendComponent { dstFactor?: GPUBlendFactor; operation?: GPUBlendOperation; srcFactor?: GPUBlendFactor; } interface GPUBlendState { alpha: GPUBlendComponent; color: GPUBlendComponent; } interface GPUBufferBinding { buffer: GPUBuffer; offset?: GPUSize64; size?: GPUSize64; } interface GPUBufferBindingLayout { hasDynamicOffset?: boolean; minBindingSize?: GPUSize64; type?: GPUBufferBindingType; } interface GPUBufferDescriptor extends GPUObjectDescriptorBase { mappedAtCreation?: boolean; size: GPUSize64; usage: GPUBufferUsageFlags; } interface GPUCanvasConfiguration { alphaMode?: GPUCanvasAlphaMode; device: GPUDevice; format: GPUTextureFormat; usage?: GPUTextureUsageFlags; viewFormats?: GPUTextureFormat[]; } interface GPUColorDict { a: number; b: number; g: number; r: number; } interface GPUColorTargetState { blend?: GPUBlendState; format: GPUTextureFormat; writeMask?: GPUColorWriteFlags; } interface GPUCommandBufferDescriptor extends GPUObjectDescriptorBase { } interface GPUCommandEncoderDescriptor extends GPUObjectDescriptorBase { } interface GPUComputePassDescriptor extends GPUObjectDescriptorBase { timestampWrites?: GPUComputePassTimestampWrites; } interface GPUComputePassTimestampWrites { beginningOfPassWriteIndex?: GPUSize32; endOfPassWriteIndex?: GPUSize32; querySet: GPUQuerySet; } interface GPUComputePipelineDescriptor extends GPUPipelineDescriptorBase { compute: GPUProgrammableStage; } interface GPUCopyExternalImageDestInfo extends GPUTexelCopyTextureInfo { premultipliedAlpha?: boolean; } interface GPUCopyExternalImageSourceInfo { flipY?: boolean; origin?: GPUOrigin2D; source: GPUCopyExternalImageSource; } interface GPUDepthStencilState { depthBias?: GPUDepthBias; depthBiasClamp?: number; depthBiasSlopeScale?: number; depthCompare?: GPUCompareFunction; depthWriteEnabled?: boolean; format: GPUTextureFormat; stencilBack?: GPUStencilFaceState; stencilFront?: GPUStencilFaceState; stencilReadMask?: GPUStencilValue; stencilWriteMask?: GPUStencilValue; } interface GPUDeviceDescriptor extends GPUObjectDescriptorBase { defaultQueue?: GPUQueueDescriptor; requiredFeatures?: GPUFeatureName[]; requiredLimits?: Record; } interface GPUExtent3DDict { depthOrArrayLayers?: GPUIntegerCoordinate; height?: GPUIntegerCoordinate; width: GPUIntegerCoordinate; } interface GPUExternalTextureBindingLayout { } interface GPUExternalTextureDescriptor extends GPUObjectDescriptorBase { colorSpace?: PredefinedColorSpace; source: HTMLVideoElement | VideoFrame; } interface GPUFragmentState extends GPUProgrammableStage { targets: (GPUColorTargetState | null)[]; } interface GPUMultisampleState { alphaToCoverageEnabled?: boolean; count?: GPUSize32; mask?: GPUSampleMask; } interface GPUObjectDescriptorBase { label?: string; } interface GPUOrigin2DDict { x?: GPUIntegerCoordinate; y?: GPUIntegerCoordinate; } interface GPUOrigin3DDict { x?: GPUIntegerCoordinate; y?: GPUIntegerCoordinate; z?: GPUIntegerCoordinate; } interface GPUPipelineDescriptorBase extends GPUObjectDescriptorBase { layout: GPUPipelineLayout | GPUAutoLayoutMode; } interface GPUPipelineErrorInit { reason: GPUPipelineErrorReason; } interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase { bindGroupLayouts: (GPUBindGroupLayout | null)[]; } interface GPUPrimitiveState { cullMode?: GPUCullMode; frontFace?: GPUFrontFace; stripIndexFormat?: GPUIndexFormat; topology?: GPUPrimitiveTopology; unclippedDepth?: boolean; } interface GPUProgrammableStage { constants?: Record; entryPoint?: string; module: GPUShaderModule; } interface GPUQuerySetDescriptor extends GPUObjectDescriptorBase { count: GPUSize32; type: GPUQueryType; } interface GPUQueueDescriptor extends GPUObjectDescriptorBase { } interface GPURenderBundleDescriptor extends GPUObjectDescriptorBase { } interface GPURenderBundleEncoderDescriptor extends GPURenderPassLayout { depthReadOnly?: boolean; stencilReadOnly?: boolean; } interface GPURenderPassColorAttachment { clearValue?: GPUColor; depthSlice?: GPUIntegerCoordinate; loadOp: GPULoadOp; resolveTarget?: GPUTexture | GPUTextureView; storeOp: GPUStoreOp; view: GPUTexture | GPUTextureView; } interface GPURenderPassDepthStencilAttachment { depthClearValue?: number; depthLoadOp?: GPULoadOp; depthReadOnly?: boolean; depthStoreOp?: GPUStoreOp; stencilClearValue?: GPUStencilValue; stencilLoadOp?: GPULoadOp; stencilReadOnly?: boolean; stencilStoreOp?: GPUStoreOp; view: GPUTexture | GPUTextureView; } interface GPURenderPassDescriptor extends GPUObjectDescriptorBase { colorAttachments: (GPURenderPassColorAttachment | null)[]; depthStencilAttachment?: GPURenderPassDepthStencilAttachment; occlusionQuerySet?: GPUQuerySet; timestampWrites?: GPURenderPassTimestampWrites; } interface GPURenderPassLayout extends GPUObjectDescriptorBase { colorFormats: (GPUTextureFormat | null)[]; depthStencilFormat?: GPUTextureFormat; sampleCount?: GPUSize32; } interface GPURenderPassTimestampWrites { beginningOfPassWriteIndex?: GPUSize32; endOfPassWriteIndex?: GPUSize32; querySet: GPUQuerySet; } interface GPURenderPipelineDescriptor extends GPUPipelineDescriptorBase { depthStencil?: GPUDepthStencilState; fragment?: GPUFragmentState; multisample?: GPUMultisampleState; primitive?: GPUPrimitiveState; vertex: GPUVertexState; } interface GPURequestAdapterOptions { featureLevel?: string; forceFallbackAdapter?: boolean; powerPreference?: GPUPowerPreference; xrCompatible?: boolean; } interface GPUSamplerBindingLayout { type?: GPUSamplerBindingType; } interface GPUSamplerDescriptor extends GPUObjectDescriptorBase { addressModeU?: GPUAddressMode; addressModeV?: GPUAddressMode; addressModeW?: GPUAddressMode; compare?: GPUCompareFunction; lodMaxClamp?: number; lodMinClamp?: number; magFilter?: GPUFilterMode; maxAnisotropy?: number; minFilter?: GPUFilterMode; mipmapFilter?: GPUMipmapFilterMode; } interface GPUShaderModuleCompilationHint { entryPoint: string; layout?: GPUPipelineLayout | GPUAutoLayoutMode; } interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase { code: string; compilationHints?: GPUShaderModuleCompilationHint[]; } interface GPUStencilFaceState { compare?: GPUCompareFunction; depthFailOp?: GPUStencilOperation; failOp?: GPUStencilOperation; passOp?: GPUStencilOperation; } interface GPUStorageTextureBindingLayout { access?: GPUStorageTextureAccess; format: GPUTextureFormat; viewDimension?: GPUTextureViewDimension; } interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout { buffer: GPUBuffer; } interface GPUTexelCopyBufferLayout { bytesPerRow?: GPUSize32; offset?: GPUSize64; rowsPerImage?: GPUSize32; } interface GPUTexelCopyTextureInfo { aspect?: GPUTextureAspect; mipLevel?: GPUIntegerCoordinate; origin?: GPUOrigin3D; texture: GPUTexture; } interface GPUTextureBindingLayout { multisampled?: boolean; sampleType?: GPUTextureSampleType; viewDimension?: GPUTextureViewDimension; } interface GPUTextureDescriptor extends GPUObjectDescriptorBase { dimension?: GPUTextureDimension; format: GPUTextureFormat; mipLevelCount?: GPUIntegerCoordinate; sampleCount?: GPUSize32; size: GPUExtent3D; usage: GPUTextureUsageFlags; viewFormats?: GPUTextureFormat[]; } interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase { arrayLayerCount?: GPUIntegerCoordinate; aspect?: GPUTextureAspect; baseArrayLayer?: GPUIntegerCoordinate; baseMipLevel?: GPUIntegerCoordinate; dimension?: GPUTextureViewDimension; format?: GPUTextureFormat; mipLevelCount?: GPUIntegerCoordinate; usage?: GPUTextureUsageFlags; } interface GPUUncapturedErrorEventInit extends EventInit { error: GPUError; } interface GPUVertexAttribute { format: GPUVertexFormat; offset: GPUSize64; shaderLocation: GPUIndex32; } interface GPUVertexBufferLayout { arrayStride: GPUSize64; attributes: GPUVertexAttribute[]; stepMode?: GPUVertexStepMode; } interface GPUVertexState extends GPUProgrammableStage { buffers?: (GPUVertexBufferLayout | null)[]; } interface GainOptions extends AudioNodeOptions { gain?: number; } interface GamepadAxisMoveEventInit extends GamepadEventInit { axis?: number; value?: number; } interface GamepadButtonEventInit extends GamepadEventInit { button?: number; } interface GamepadEventInit extends EventInit { gamepad?: Gamepad | null; } interface GamepadLightColor { blue: number; green: number; red: number; } interface GenerateTestReportParameters { group?: string; message: string; } interface GeometryUtilsOptions { createFramesForSuppressedWhitespace?: boolean; flush?: boolean; } interface GetAnimationsOptions { subtree?: boolean; } interface GetChildrenOptions { ignoreAbsent?: boolean; } interface GetComposedRangesOptions { shadowRoots?: ShadowRoot[]; } interface GetHTMLOptions { serializableShadowRoots?: boolean; shadowRoots?: ShadowRoot[]; } interface GetNotificationOptions { tag?: string; } interface GetRootNodeOptions { composed?: boolean; } interface GleanDistributionData { count: number; sum: number; values: Record; } interface GleanEventRecord { category: string; extra?: Record; name: string; timestamp: number; } interface GleanRateData { denominator: number; numerator: number; } interface HTMLMediaElementDebugInfo { EMEInfo?: EMEDebugInfo; compositorDroppedFrames?: number; decoder?: MediaDecoderDebugInfo; } interface HasChildrenOptions { ignoreAbsent?: boolean; } interface HashChangeEventInit extends EventInit { newURL?: string; oldURL?: string; } interface HeapSnapshotBoundaries { debugger?: any; globals?: any[]; runtime?: boolean; } interface HighlightHitResult { highlight?: Highlight; ranges?: AbstractRange[]; } interface HighlightsFromPointOptions { shadowRoots?: ShadowRoot[]; } interface IDBDatabaseInfo { name?: string; version?: number; } interface IDBIndexParameters { locale?: string | null; multiEntry?: boolean; unique?: boolean; } interface IDBObjectStoreParameters { autoIncrement?: boolean; keyPath?: string | string[] | null; } interface IDBOpenDBOptions { version?: number; } interface IDBTransactionOptions { durability?: IDBTransactionDurability; } interface IDBVersionChangeEventInit extends EventInit { newVersion?: number | null; oldVersion?: number; } interface IIRFilterOptions extends AudioNodeOptions { feedback: number[]; feedforward: number[]; } interface IdentityCredentialDisconnectOptions extends IdentityProviderConfig { accountHint: string; } interface IdentityCredentialRequestOptions { mode?: IdentityCredentialRequestOptionsMode; providers: IdentityProviderRequestOptions[]; } interface IdentityProviderConfig { clientId: string; configURL: string; } interface IdentityProviderRequestOptions extends IdentityProviderConfig { domainHint?: string; loginHint?: string; nonce?: string; } interface IdentityResolveOptions { accountId?: string; } interface IdleRequestOptions { timeout?: number; } interface ImageBitmapOptions { colorSpaceConversion?: ColorSpaceConversion; imageOrientation?: ImageOrientation; premultiplyAlpha?: PremultiplyAlpha; resizeHeight?: number; resizeQuality?: ResizeQuality; resizeWidth?: number; } interface ImageCaptureErrorEventInit extends EventInit { imageCaptureError?: ImageCaptureError | null; } interface ImageDecodeOptions { completeFramesOnly?: boolean; frameIndex?: number; } interface ImageDecodeResult { complete: boolean; image: VideoFrame; } interface ImageDecoderInit { colorSpaceConversion?: ColorSpaceConversion; data: ImageBufferSource; desiredHeight?: number; desiredWidth?: number; preferAnimation?: boolean; transfer?: ArrayBuffer[]; type: string; } interface ImageEncodeOptions { quality?: number; type?: string; } interface ImageSize { height: number; width: number; } interface ImageText { confidence: number; quad: DOMQuad; string: string; } interface ImportESModuleOptionsDictionary { global?: ImportESModuleTargetGlobal; } interface InferenceSessionRunOptions { logSeverityLevel?: number; logVerbosityLevel?: number; tag?: string; terminate?: boolean; } interface InferenceSessionSessionOptions { enableCpuMemArena?: boolean; enableGraphCapture?: boolean; enableMemPattern?: boolean; enableProfiling?: boolean; executionMode?: string; executionProviders?: any[]; extra?: Record; freeDimensionOverrides?: Record; graphOptimizationLevel?: string; interOpNumThreads?: number; intraOpNumThreads?: number; logId?: string; logSeverityLevel?: number; logVerbosityLevel?: number; optimizedModelFilePath?: string; preferredOutputLocation?: TensorDataLocation | Record; profileFilePrefix?: string; } interface InputEventInit extends UIEventInit { data?: string | null; dataTransfer?: DataTransfer | null; inputType?: string; isComposing?: boolean; targetRanges?: StaticRange[]; } interface InputPickerColor { alpha: number; component1: number; component2: number; component3: number; } interface InspectorAnchorElement { element: Element; type: InspectorAnchorType; } interface InspectorCSSPropertyDefinition { fromJS: boolean; inherits: boolean; initialValue: string | null; name: string; syntax: string; } interface InspectorCSSToken { number?: number | null; text: string; tokenType: string; unit: string | null; value: string | null; } interface InspectorColorToResult { adjusted: boolean; color: string; components: number[] | Float32Array; } interface InspectorDeclaration { declarationOrigin: DeclarationOrigin; style: CSSStyleDeclaration; } interface InspectorFontFeature { languageSystem: string; script: string; tag: string; } interface InspectorNearestColor { colorName: string; exact: boolean; } interface InspectorRGBATuple { a?: number; b?: number; g?: number; r?: number; } interface InspectorStyleSheetRuleCountAndAtRulesResult { atRules: CSSRule[]; ruleCount: number; } interface InspectorVariationAxis { defaultValue: number; maxValue: number; minValue: number; name: string; tag: string; } interface InspectorVariationInstance { name: string; values: InspectorVariationValue[]; } interface InspectorVariationValue { axis: string; value: number; } interface InteractionData { interactionCount?: number; interactionTimeInMilliseconds?: number; scrollingDistanceInPixels?: number; } interface IntersectionObserverInit { root?: Element | Document | null; rootMargin?: string; scrollMargin?: string; threshold?: number | number[]; } interface InvokeToolOptions { signal?: AbortSignal; } interface KeySystemTrackConfiguration { encryptionScheme?: string | null; robustness?: string; } interface KeyboardEventInit extends EventModifierInit { charCode?: number; code?: string; isComposing?: boolean; key?: string; keyCode?: number; location?: number; repeat?: boolean; which?: number; } interface KeyframeAnimationOptions extends KeyframeEffectOptions { id?: string; } interface KeyframeEffectOptions extends EffectTiming { composite?: CompositeOperation; iterationComposite?: IterationCompositeOperation; pseudoElement?: string | null; } interface L10nFileSourceMockFile { path: string; source: string; } interface L10nIdArgs { args?: L10nArgs | null; id?: string | null; } interface L10nMessage { attributes?: AttributeNameValue[] | null; value?: string | null; } interface L10nOverlaysError { code?: number; l10nName?: string; sourceElementName?: string; translatedElementName?: string; } interface L10nRegistryOptions { bundleOptions?: FluentBundleOptions; } interface LibcConstants { AT_EACCESS?: number; EACCES?: number; EAGAIN?: number; EINTR?: number; EINVAL?: number; ENOSYS?: number; EPERM?: number; FD_CLOEXEC?: number; F_SETFD?: number; F_SETFL?: number; O_CLOEXEC?: number; O_CREAT?: number; O_NONBLOCK?: number; O_PATH?: number; O_WRONLY?: number; POLLERR?: number; POLLHUP?: number; POLLIN?: number; POLLNVAL?: number; POLLOUT?: number; PR_CAPBSET_READ?: number; WNOHANG?: number; } interface LlamaChatMessage { content: string; role: string; } interface LlamaChatOptions { deTokenizationOptions?: LlamaDeTokenizationOptions; maxGeneratedTokens?: number; minOutputBufferSize?: number; prompt: string; samplers?: LlamaSamplerConfig[]; stopOnEndOfGenerationTokens?: boolean; stopTokens?: number[]; tokenizationOptions?: LlamaTokenizationOptions; } interface LlamaContextOptions { flashAttn?: boolean; kCacheDtype?: LlamaKVCacheDtype; nBatch?: number; nCtx?: number; nSeqMax?: number; nThreads: number; nThreadsBatch: number; nUbatch?: number; noPerf?: boolean; offloadKqv?: boolean; opOffload?: boolean; swaFull?: boolean; vCacheDtype?: LlamaKVCacheDtype; } interface LlamaDeTokenizationOptions { maxCharsPerToken?: number; renderSpecialTokens?: boolean; } interface LlamaFormatChatOptions { addAssistant?: boolean; messages: LlamaChatMessage[]; } interface LlamaLogitBias { bias: number; token: number; } interface LlamaModelOptions { checkTensors?: boolean; context?: LlamaContextOptions; nGpuLayers?: number; useMlock?: boolean; useMmap?: boolean; } interface LlamaSamplerConfig { dryAllowedLength?: number; dryBase?: number; dryMultiplier?: number; dryPenaltyLastN?: number; dynatempExponent?: number; dynatempRange?: number; logitBias?: LlamaLogitBias[]; minKeep?: number; minP?: number; mirostat?: number; mirostatEta?: number; mirostatTau?: number; noPerf?: boolean; penaltyFreq?: number; penaltyLastN?: number; penaltyPresent?: number; penaltyRepeat?: number; seed?: number; temp?: number; topK?: number; topNSigma?: number; topP?: number; typP?: number; type: LlamaSamplerType; xtcProbability?: number; xtcThreshold?: number; } interface LlamaTokenizationOptions { addBosAndEos?: boolean; parseSpecilControlTokens?: boolean; } interface LoadURIOptions { appLinkLaunchType?: number; baseURI?: URI | null; cancelContentJSEpoch?: number; forceMediaDocument?: ForceMediaDocument; hasValidUserGestureActivation?: boolean; headers?: InputStream | null; isCaptivePortalTab?: boolean; loadFlags?: number; policyContainer?: PolicyContainer | null; postData?: InputStream | null; referrerInfo?: ReferrerInfo | null; remoteTypeOverride?: string | null; schemelessInput?: number; textDirectiveUserActivation?: boolean; triggeringPrincipal?: Principal | null; triggeringRemoteType?: string | null; triggeringSandboxFlags?: number; triggeringStorageAccess?: boolean; triggeringWindowId?: number; } interface LockInfo { clientId?: string; mode?: LockMode; name?: string; } interface LockManagerSnapshot { held?: LockInfo[]; pending?: LockInfo[]; } interface LockOptions { ifAvailable?: boolean; mode?: LockMode; signal?: AbortSignal; steal?: boolean; } interface MIDIConnectionEventInit extends EventInit { port?: MIDIPort | null; } interface MIDIMessageEventInit extends EventInit { data?: Uint8Array; } interface MIDIOptions { software?: boolean; sysex?: boolean; } interface MLSBytes { content: Uint8Array; type: MLSObjectType; } interface MLSCommitOutput { clientId?: Uint8Array; commit: Uint8Array; groupId: Uint8Array; groupInfo?: Uint8Array; ratchetTree?: Uint8Array; type: MLSObjectType; welcome?: Uint8Array; } interface MLSExporterOutput { context: Uint8Array; groupEpoch: Uint8Array; groupId: Uint8Array; label: Uint8Array; secret: Uint8Array; type: MLSObjectType; } interface MLSGroupDetails { groupEpoch: Uint8Array; groupId: Uint8Array; members: MLSGroupMember[]; type: MLSObjectType; } interface MLSGroupMember { clientId: Uint8Array; credential: Uint8Array; } interface MLSReceived { commitOutput?: MLSCommitOutput; content?: Uint8Array; groupEpoch?: Uint8Array; groupId: Uint8Array; type: MLSObjectType; } interface MakeDirectoryOptions { createAncestors?: boolean; ignoreExisting?: boolean; permissions?: number; } interface MatchPatternOptions { ignorePath?: boolean; restrictSchemes?: boolean; } interface MediaCacheStreamDebugInfo { cacheSuspended?: boolean; channelEnded?: boolean; channelOffset?: number; loadID?: number; streamLength?: number; } interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo { keySystemAccess: MediaKeySystemAccess | null; } interface MediaCapabilitiesInfo { powerEfficient: boolean; smooth: boolean; supported: boolean; } interface MediaCapabilitiesKeySystemConfiguration { audio?: KeySystemTrackConfiguration; distinctiveIdentifier?: MediaKeysRequirement; initDataType?: string; keySystem: string; persistentState?: MediaKeysRequirement; sessionTypes?: string[]; video?: KeySystemTrackConfiguration; } interface MediaConfiguration { audio?: AudioConfiguration; video?: VideoConfiguration; } interface MediaDecoderDebugInfo { PlayState?: string; channels?: number; containerType?: string; hasAudio?: boolean; hasVideo?: boolean; instance?: string; rate?: number; reader?: MediaFormatReaderDebugInfo; resource?: MediaResourceDebugInfo; stateMachine?: MediaDecoderStateMachineDebugInfo; } interface MediaDecoderStateMachineDebugInfo { audioCompleted?: boolean; audioRequestStatus?: string; clock?: number; decodedAudioEndTime?: number; decodedVideoEndTime?: number; duration?: number; isPlaying?: boolean; mediaSink?: MediaSinkDebugInfo; mediaTime?: number; playState?: number; sentFirstFrameLoadedEvent?: boolean; state?: string; stateObj?: MediaDecoderStateMachineDecodingStateDebugInfo; totalBufferingTimeMs?: number; videoCompleted?: boolean; videoRequestStatus?: string; } interface MediaDecoderStateMachineDecodingStateDebugInfo { isPrerolling?: boolean; } interface MediaDecodingConfiguration extends MediaConfiguration { keySystemConfiguration?: MediaCapabilitiesKeySystemConfiguration; type: MediaDecodingType; } interface MediaElementAudioSourceOptions { mediaElement: HTMLMediaElement; } interface MediaEncodingConfiguration extends MediaConfiguration { type: MediaEncodingType; } interface MediaFormatReaderDebugInfo { audioChannels?: number; audioDecoderName?: string; audioFramesDecoded?: number; audioRate?: number; audioState?: MediaStateDebugInfo; audioType?: string; frameStats?: MediaFrameStats; totalReadMetadataTimeMs?: number; totalWaitingForVideoDataTimeMs?: number; videoDecoderName?: string; videoHardwareAccelerated?: boolean; videoHeight?: number; videoNumSamplesOutputTotal?: number; videoNumSamplesSkippedTotal?: number; videoRate?: number; videoState?: MediaStateDebugInfo; videoType?: string; videoWidth?: number; } interface MediaFrameStats { droppedCompositorFrames?: number; droppedDecodedFrames?: number; droppedSinkFrames?: number; } interface MediaImage { sizes?: string; src: string; type?: string; } interface MediaKeyMessageEventInit extends EventInit { message: ArrayBuffer; messageType: MediaKeyMessageType; } interface MediaKeyNeededEventInit extends EventInit { initData?: ArrayBuffer | null; initDataType?: string; } interface MediaKeySystemConfiguration { audioCapabilities?: MediaKeySystemMediaCapability[]; distinctiveIdentifier?: MediaKeysRequirement; initDataTypes?: string[]; label?: string; persistentState?: MediaKeysRequirement; sessionTypes?: string[]; videoCapabilities?: MediaKeySystemMediaCapability[]; } interface MediaKeySystemMediaCapability { contentType?: string; encryptionScheme?: string | null; robustness?: string; } interface MediaKeysPolicy { minHdcpVersion?: HDCPVersion; } interface MediaMetadataInit { album?: string; artist?: string; artwork?: MediaImage[]; title?: string; } interface MediaPositionState { duration?: number; playbackRate?: number; position?: number; } interface MediaQueryListEventInit extends EventInit { matches?: boolean; media?: string; } interface MediaRecorderErrorEventInit extends EventInit { error: DOMException; } interface MediaRecorderOptions { audioBitsPerSecond?: number; bitsPerSecond?: number; mimeType?: string; videoBitsPerSecond?: number; } interface MediaResourceDebugInfo { cacheStream?: MediaCacheStreamDebugInfo; } interface MediaSessionActionDetails { action: MediaSessionAction; fastSeek?: boolean; seekOffset?: number; seekTime?: number; } interface MediaSinkDebugInfo { audioSinkWrapper?: AudioSinkWrapperDebugInfo; decodedStream?: DecodedStreamDebugInfo; videoSink?: VideoSinkDebugInfo; } interface MediaSourceDecoderDebugInfo { demuxer?: MediaSourceDemuxerDebugInfo; reader?: MediaFormatReaderDebugInfo; } interface MediaSourceDemuxerDebugInfo { audioTrack?: TrackBuffersManagerDebugInfo; videoTrack?: TrackBuffersManagerDebugInfo; } interface MediaStateDebugInfo { demuxEOS?: number; demuxQueueSize?: number; drainState?: number; hasDecoder?: boolean; hasDemuxRequest?: boolean; hasPromise?: boolean; lastStreamSourceID?: number; needInput?: boolean; numSamplesInput?: number; numSamplesOutput?: number; pending?: number; queueSize?: number; timeTreshold?: number; timeTresholdHasSeeked?: boolean; waitingForData?: boolean; waitingForKey?: boolean; waitingPromise?: boolean; } interface MediaStreamAudioSourceOptions { mediaStream: MediaStream; } interface MediaStreamConstraints { audio?: boolean | MediaTrackConstraints; fake?: boolean; peerIdentity?: string | null; picture?: boolean; video?: boolean | MediaTrackConstraints; } interface MediaStreamEventInit extends EventInit { stream?: MediaStream | null; } interface MediaStreamTrackAudioSourceOptions { mediaStreamTrack: MediaStreamTrack; } interface MediaStreamTrackEventInit extends EventInit { track: MediaStreamTrack; } interface MediaTrackCapabilities { autoGainControl?: boolean[]; channelCount?: ULongRange; deviceId?: string; echoCancellation?: boolean[]; facingMode?: string[]; frameRate?: DoubleRange; groupId?: string; height?: ULongRange; noiseSuppression?: boolean[]; resizeMode?: string[]; width?: ULongRange; } interface MediaTrackConstraintSet { autoGainControl?: ConstrainBoolean; browserWindow?: number; channelCount?: ConstrainLong; deviceId?: ConstrainDOMString; echoCancellation?: ConstrainBoolean; facingMode?: ConstrainDOMString; frameRate?: ConstrainDouble; groupId?: ConstrainDOMString; height?: ConstrainLong; mediaSource?: string; noiseSuppression?: ConstrainBoolean; resizeMode?: ConstrainDOMString; scrollWithPage?: boolean; viewportHeight?: ConstrainLong; viewportOffsetX?: ConstrainLong; viewportOffsetY?: ConstrainLong; viewportWidth?: ConstrainLong; width?: ConstrainLong; } interface MediaTrackConstraints extends MediaTrackConstraintSet { advanced?: MediaTrackConstraintSet[]; } interface MediaTrackSettings { autoGainControl?: boolean; browserWindow?: number; channelCount?: number; deviceId?: string; echoCancellation?: boolean; facingMode?: string; frameRate?: number; groupId?: string; height?: number; mediaSource?: string; noiseSuppression?: boolean; resizeMode?: string; scrollWithPage?: boolean; viewportHeight?: number; viewportOffsetX?: number; viewportOffsetY?: number; viewportWidth?: number; width?: number; } interface MediaTrackSupportedConstraints { aspectRatio?: boolean; autoGainControl?: boolean; browserWindow?: boolean; channelCount?: boolean; deviceId?: boolean; echoCancellation?: boolean; facingMode?: boolean; frameRate?: boolean; groupId?: boolean; height?: boolean; latency?: boolean; mediaSource?: boolean; noiseSuppression?: boolean; resizeMode?: boolean; sampleRate?: boolean; sampleSize?: boolean; scrollWithPage?: boolean; viewportHeight?: boolean; viewportOffsetX?: boolean; viewportOffsetY?: boolean; viewportWidth?: boolean; volume?: boolean; width?: boolean; } interface MerchantValidationEventInit extends EventInit { methodName?: string; validationURL?: string; } interface MessageEventInit extends EventInit { data?: any; lastEventId?: string; origin?: string; ports?: MessagePort[]; source?: MessageEventSource | null; } interface ModelContextTool { annotations?: ToolAnnotations; description: string; execute: ToolExecuteCallback; inputSchema?: any; name: string; } interface MouseEventInit extends EventModifierInit { button?: number; buttons?: number; clientX?: number; clientY?: number; movementX?: number; movementY?: number; relatedTarget?: EventTarget | null; screenX?: number; screenY?: number; } interface MoveOptions { noOverwrite?: boolean; } interface MozDocumentMatcherInit { allFrames?: boolean; checkPermissions?: boolean; excludeGlobs?: MatchGlobOrString[] | null; excludeMatches?: MatchPatternSetOrStringSequence | null; frameID?: number | null; hasActiveTabPermission?: boolean; includeGlobs?: MatchGlobOrString[] | null; isUserScript?: boolean; matchAboutBlank?: boolean; matchOriginAsFallback?: boolean; matches: MatchPatternSetOrStringSequence; originAttributesPatterns?: OriginAttributesPatternDictionary[] | null; } interface MozFrameAncestorInfo { frameId: number; url: string; } interface MozHTTPHeader { name: string; value: string; } interface MozProxyInfo { connectionIsolationKey?: string | null; failoverTimeout?: number; host: string; port: number; proxyAuthorizationHeader?: string | null; proxyDNS: boolean; type: string; username?: string | null; } interface MozRequestFilter { incognito?: boolean | null; types?: MozContentPolicyType[] | null; urls?: MatchPatternSet | null; } interface MozRequestMatchOptions { isProxy?: boolean; } interface MozUrlClassification { firstParty: MozUrlClassificationFlags[]; thirdParty: MozUrlClassificationFlags[]; } interface MozXMLHttpRequestParameters { mozAnon?: boolean; mozSystem?: boolean; } interface MultiCacheQueryOptions extends CacheQueryOptions { cacheName?: string; } interface MutationObserverInit { animations?: boolean; attributeFilter?: string[]; attributeOldValue?: boolean; attributes?: boolean; characterData?: boolean; characterDataOldValue?: boolean; childList?: boolean; chromeOnlyNodes?: boolean; subtree?: boolean; } interface MutationObservingInfo extends MutationObserverInit { observedNode?: Node | null; } interface NavigateEventInit extends EventInit { canIntercept?: boolean; destination: NavigationDestination; downloadRequest?: string | null; formData?: FormData | null; hasUAVisualTransition?: boolean; hashChange?: boolean; info?: any; navigationType?: NavigationType; signal: AbortSignal; sourceElement?: Element | null; userInitiated?: boolean; } interface NavigationCurrentEntryChangeEventInit extends EventInit { from: NavigationHistoryEntry | null; navigationType?: NavigationType | null; } interface NavigationInterceptOptions { focusReset?: NavigationFocusReset; handler?: NavigationInterceptHandler; precommitHandler?: NavigationPrecommitHandler; scroll?: NavigationScrollBehavior; } interface NavigationNavigateOptions extends NavigationOptions { history?: NavigationHistoryBehavior; state?: any; } interface NavigationOptions { info?: any; } interface NavigationPreloadState { enabled?: boolean; headerValue?: string; } interface NavigationReloadOptions extends NavigationOptions { state?: any; } interface NavigationResult { committed?: Promise; finished?: Promise; } interface NavigationUpdateCurrentEntryOptions { state: any; } interface NetErrorInfo { channelStatus?: number; errorCodeString?: string; responseStatus?: number; responseStatusText?: string; } interface NotificationAction { action: string; title: string; } interface NotificationOptions { actions?: NotificationAction[]; badge?: string; body?: string; data?: any; dir?: NotificationDirection; icon?: string; image?: string; lang?: string; navigate?: string; renotify?: boolean; requireInteraction?: boolean; silent?: boolean; tag?: string; timestamp?: EpochTimeStamp; vibrate?: VibratePattern; } interface ObservableArrayCallbacks { deleteBooleanCallback?: SetDeleteBooleanCallback; deleteInterfaceCallback?: SetDeleteInterfaceCallback; deleteObjectCallback?: SetDeleteObjectCallback; setBooleanCallback?: SetDeleteBooleanCallback; setInterfaceCallback?: SetDeleteInterfaceCallback; setObjectCallback?: SetDeleteObjectCallback; } interface OfflineAudioCompletionEventInit extends EventInit { renderedBuffer: AudioBuffer; } interface OfflineAudioContextOptions { length: number; numberOfChannels?: number; sampleRate: number; } interface OpenPopupOptions { attributesOverride?: boolean; isContextMenu?: boolean; position?: string; triggerEvent?: Event | null; x?: number; y?: number; } interface OptionalEffectTiming { delay?: number; direction?: PlaybackDirection; duration?: number | string; easing?: string; endDelay?: number; fill?: FillMode; iterationStart?: number; iterations?: number; } interface OpusEncoderConfig { complexity?: number; format?: OpusBitstreamFormat; frameDuration?: number; packetlossperc?: number; usedtx?: boolean; useinbandfec?: boolean; } interface OriginAttributesDictionary { firstPartyDomain?: string; geckoViewSessionContextId?: string; partitionKey?: string; privateBrowsingId?: number; userContextId?: number; } interface OriginAttributesPatternDictionary { firstPartyDomain?: string; geckoViewSessionContextId?: string; partitionKey?: string; partitionKeyPattern?: PartitionKeyPatternDictionary; privateBrowsingId?: number; userContextId?: number; } interface OscillatorOptions extends AudioNodeOptions { detune?: number; frequency?: number; periodicWave?: PeriodicWave; type?: OscillatorType; } interface PCErrorData { errorDetail?: string; message: string; name: PCError; sdpLineNumber?: number; } interface PageRevealEventInit extends EventInit { viewTransition?: ViewTransition | null; } interface PageSwapEventInit extends EventInit { activation?: NavigationActivation | null; viewTransition?: ViewTransition | null; } interface PageTransitionEventInit extends EventInit { inFrameSwap?: boolean; persisted?: boolean; } interface PannerOptions extends AudioNodeOptions { coneInnerAngle?: number; coneOuterAngle?: number; coneOuterGain?: number; distanceModel?: DistanceModelType; maxDistance?: number; orientationX?: number; orientationY?: number; orientationZ?: number; panningModel?: PanningModelType; positionX?: number; positionY?: number; positionZ?: number; refDistance?: number; rolloffFactor?: number; } interface ParentProcInfoDictionary { children?: ChildProcInfoDictionary[]; cpuCycleCount?: number; cpuTime?: number; memory?: number; pid?: number; threads?: ThreadInfoDictionary[]; type?: WebIDLProcType; } interface PartitionKeyPatternDictionary { baseDomain?: string; foreignByAncestorContext?: boolean; port?: number; scheme?: string; } interface PayerErrors { email?: string; name?: string; phone?: string; } interface PaymentCurrencyAmount { currency: string; value: string; } interface PaymentDetailsBase { displayItems?: PaymentItem[]; modifiers?: PaymentDetailsModifier[]; shippingOptions?: PaymentShippingOption[]; } interface PaymentDetailsInit extends PaymentDetailsBase { id?: string; total: PaymentItem; } interface PaymentDetailsModifier { additionalDisplayItems?: PaymentItem[]; data?: any; supportedMethods: string; total?: PaymentItem; } interface PaymentDetailsUpdate extends PaymentDetailsBase { error?: string; payerErrors?: PayerErrors; paymentMethodErrors?: any; shippingAddressErrors?: AddressErrors; total?: PaymentItem; } interface PaymentItem { amount: PaymentCurrencyAmount; label: string; pending?: boolean; } interface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit { methodDetails?: any; methodName?: string; } interface PaymentMethodData { data?: any; supportedMethods: string; } interface PaymentOptions { requestBillingAddress?: boolean; requestPayerEmail?: boolean; requestPayerName?: boolean; requestPayerPhone?: boolean; requestShipping?: boolean; shippingType?: PaymentShippingType; } interface PaymentRequestUpdateEventInit extends EventInit { } interface PaymentShippingOption { amount: PaymentCurrencyAmount; id: string; label: string; selected?: boolean; } interface PaymentValidationErrors { error?: string; payer?: PayerErrors; paymentMethod?: any; shippingAddress?: AddressErrors; } interface PerformanceEntryEventInit extends EventInit { duration?: DOMHighResTimeStamp; entryType?: string; epoch?: number; name?: string; origin?: string; startTime?: DOMHighResTimeStamp; } interface PerformanceEntryFilterOptions { entryType?: string; initiatorType?: string; name?: string; } interface PerformanceMarkOptions { detail?: any; startTime?: DOMHighResTimeStamp; } interface PerformanceMeasureOptions { detail?: any; duration?: DOMHighResTimeStamp; end?: string | DOMHighResTimeStamp; start?: string | DOMHighResTimeStamp; } interface PerformanceObserverInit { buffered?: boolean; durationThreshold?: DOMHighResTimeStamp; entryTypes?: string[]; type?: string; } interface PeriodicWaveConstraints { disableNormalization?: boolean; } interface PeriodicWaveOptions extends PeriodicWaveConstraints { imag?: number[] | Float32Array; real?: number[] | Float32Array; } interface PermissionSetParameters { descriptor: any; state: PermissionState; } interface PlacesBookmarkAdditionInit { dateAdded: number; frecency: number; guid: string; hidden: boolean; id: number; index: number; isTagging: boolean; itemType: number; lastVisitDate: number | null; parentGuid: string; parentId: number; source: number; tags: string | null; targetFolderGuid: string | null; targetFolderItemId: number; targetFolderTitle: string | null; title: string; url: string; visitCount: number; } interface PlacesBookmarkGuidInit { guid: string; id: number; isTagging: boolean; itemType: number; lastModified: number; parentGuid: string; source: number; url?: string | null; } interface PlacesBookmarkKeywordInit { guid: string; id: number; isTagging: boolean; itemType: number; keyword: string; lastModified: number; parentGuid: string; source: number; url?: string | null; } interface PlacesBookmarkMovedInit { dateAdded: number; frecency: number; guid: string; hidden: boolean; id: number; index: number; isTagging: boolean; itemType: number; lastVisitDate: number | null; oldIndex: number; oldParentGuid: string; parentGuid: string; source: number; tags: string | null; title: string; url?: string | null; visitCount: number; } interface PlacesBookmarkRemovedInit { guid: string; id: number; index: number; isDescendantRemoval?: boolean; isTagging: boolean; itemType: number; parentGuid: string; parentId: number; source: number; title: string; url: string; } interface PlacesBookmarkTagsInit { guid: string; id: number; isTagging: boolean; itemType: number; lastModified: number; parentGuid: string; source: number; tags: string[]; url?: string | null; } interface PlacesBookmarkTimeInit { dateAdded: number; guid: string; id: number; isTagging: boolean; itemType: number; lastModified: number; parentGuid: string; source: number; url?: string | null; } interface PlacesBookmarkTitleInit { guid: string; id: number; isTagging: boolean; itemType: number; lastModified: number; parentGuid: string; source: number; title: string; url?: string | null; } interface PlacesBookmarkUrlInit { guid: string; id: number; isTagging: boolean; itemType: number; lastModified: number; parentGuid: string; source: number; url: string; } interface PlacesFaviconInit { faviconUrl: string; pageGuid: string; url: string; } interface PlacesVisitRemovedInit { isPartialVisistsRemoval?: boolean; isRemovedFromStore?: boolean; pageGuid: string; reason: number; transitionType?: number; url: string; } interface PlacesVisitTitleInit { pageGuid: string; title: string; url: string; } interface PlaneLayout { offset: number; stride: number; } interface PluginCrashedEventInit extends EventInit { gmpPlugin?: boolean; pluginDumpID?: string; pluginFilename?: string | null; pluginID?: number; pluginName?: string; submittedCrashReport?: boolean; } interface PointerEventInit extends MouseEventInit { altitudeAngle?: number; azimuthAngle?: number; coalescedEvents?: PointerEvent[]; height?: number; isPrimary?: boolean; persistentDeviceId?: number; pointerId?: number; pointerType?: string; predictedEvents?: PointerEvent[]; pressure?: number; tangentialPressure?: number; tiltX?: number; tiltY?: number; twist?: number; width?: number; } interface PopStateEventInit extends EventInit { hasUAVisualTransition?: boolean; state?: any; } interface PopupBlockedEventInit extends EventInit { popupWindowFeatures?: string; popupWindowName?: string; popupWindowURI?: URI | null; requestingWindow?: Window | null; } interface PopupPositionedEventInit extends EventInit { alignmentOffset?: number; alignmentPosition?: string; isAnchored?: boolean; popupAlignment?: string; } interface PositionOptions { enableHighAccuracy?: boolean; maximumAge?: number; timeout?: number; } interface PositionStateEventInit extends EventInit { duration: number; playbackRate: number; position: number; } interface PrivateAttributionConversionOptions { ads?: string[]; histogramSize: number; impression?: PrivateAttributionImpressionType; lookbackDays?: number; sources?: string[]; task: string; } interface PrivateAttributionImpressionOptions { ad: string; index: number; target: string; type?: PrivateAttributionImpressionType; } interface ProcessActorChildOptions extends ProcessActorSidedOptions { observers?: string[]; } interface ProcessActorOptions { child?: ProcessActorChildOptions; includeParent?: boolean; loadInDevToolsLoader?: boolean; parent?: ProcessActorSidedOptions; remoteTypes?: string[]; } interface ProcessActorSidedOptions { esModuleURI?: string; } interface ProfilerMarkerOptions { captureStack?: boolean; category?: string; innerWindowId?: number; startTime?: number; } interface ProgressEventInit extends EventInit { lengthComputable?: boolean; loaded?: number; total?: number; } interface PromiseDebuggingStateHolder { reason?: any; state?: PromiseDebuggingState; value?: any; } interface PromiseRejectionEventInit extends EventInit { promise: any; reason?: any; } interface PropertyDefinition { inherits: boolean; initialValue?: string; name: string; syntax?: string; } interface PropertyNamesOptions { includeAliases?: boolean; includeExperimentals?: boolean; includeShorthands?: boolean; } interface PropertyPref { name: string; pref: string; } interface PublicKeyCredentialCreationOptions { attestation?: string; authenticatorSelection?: AuthenticatorSelectionCriteria; challenge: BufferSource; excludeCredentials?: PublicKeyCredentialDescriptor[]; extensions?: AuthenticationExtensionsClientInputs; hints?: string[]; pubKeyCredParams: PublicKeyCredentialParameters[]; rp: PublicKeyCredentialRpEntity; timeout?: number; user: PublicKeyCredentialUserEntity; } interface PublicKeyCredentialCreationOptionsJSON { attestation?: string; authenticatorSelection?: AuthenticatorSelectionCriteria; challenge: Base64URLString; excludeCredentials?: PublicKeyCredentialDescriptorJSON[]; extensions?: AuthenticationExtensionsClientInputsJSON; hints?: string[]; pubKeyCredParams: PublicKeyCredentialParameters[]; rp: PublicKeyCredentialRpEntity; timeout?: number; user: PublicKeyCredentialUserEntityJSON; } interface PublicKeyCredentialDescriptor { id: BufferSource; transports?: string[]; type: string; } interface PublicKeyCredentialDescriptorJSON { id: Base64URLString; transports?: string[]; type: string; } interface PublicKeyCredentialEntity { name: string; } interface PublicKeyCredentialParameters { alg: COSEAlgorithmIdentifier; type: string; } interface PublicKeyCredentialRequestOptions { allowCredentials?: PublicKeyCredentialDescriptor[]; challenge: BufferSource; extensions?: AuthenticationExtensionsClientInputs; hints?: string[]; rpId?: string; timeout?: number; userVerification?: string; } interface PublicKeyCredentialRequestOptionsJSON { allowCredentials?: PublicKeyCredentialDescriptorJSON[]; challenge: Base64URLString; extensions?: AuthenticationExtensionsClientInputsJSON; hints?: string[]; rpId?: string; timeout?: number; userVerification?: string; } interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { id?: string; } interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { displayName: string; id: BufferSource; } interface PublicKeyCredentialUserEntityJSON { displayName: string; id: Base64URLString; name: string; } interface PushSubscriptionInit { appServerKey?: BufferSource | null; authSecret?: ArrayBuffer | null; endpoint: string; expirationTime?: EpochTimeStamp | null; p256dhKey?: ArrayBuffer | null; scope: string; } interface PushSubscriptionJSON { endpoint?: string; expirationTime?: EpochTimeStamp | null; keys?: PushSubscriptionKeys; } interface PushSubscriptionKeys { auth?: string; p256dh?: string; } interface PushSubscriptionOptionsInit { applicationServerKey?: BufferSource | string | null; } interface QueuingStrategy { highWaterMark?: number; size?: QueuingStrategySize; } interface QueuingStrategyInit { highWaterMark: number; } interface RTCAnswerOptions extends RTCOfferAnswerOptions { } interface RTCBandwidthEstimationInternal { maxPaddingBps?: number; pacerDelayMs?: number; receiveBandwidthBps?: number; rttMs?: number; sendBandwidthBps?: number; trackIdentifier: string; } interface RTCCodecStats extends RTCStats { channels?: number; clockRate?: number; codecType?: RTCCodecType; mimeType: string; payloadType: number; sdpFmtpLine?: string; transportId: string; } interface RTCConfiguration { bundlePolicy?: RTCBundlePolicy; certificates?: RTCCertificate[]; iceServers?: RTCIceServer[]; iceTransportPolicy?: RTCIceTransportPolicy; peerIdentity?: string | null; sdpSemantics?: string; } interface RTCConfigurationInternal { bundlePolicy?: RTCBundlePolicy; certificatesProvided: boolean; iceServers?: RTCIceServerInternal[]; iceTransportPolicy?: RTCIceTransportPolicy; peerIdentityProvided: boolean; sdpSemantics?: string; } interface RTCDTMFToneChangeEventInit extends EventInit { tone?: string; } interface RTCDataChannelEventInit extends EventInit { channel: RTCDataChannel; } interface RTCDataChannelInit { id?: number; maxPacketLifeTime?: number; maxRetransmits?: number; negotiated?: boolean; ordered?: boolean; protocol?: string; } interface RTCDataChannelStats extends RTCStats { bytesReceived?: number; bytesSent?: number; dataChannelIdentifier?: number; label?: string; messagesReceived?: number; messagesSent?: number; protocol?: string; state?: RTCDataChannelState; } interface RTCDtlsFingerprint { algorithm?: string; value?: string; } interface RTCEncodedAudioFrameMetadata { contributingSources?: number[]; payloadType?: number; sequenceNumber?: number; synchronizationSource?: number; } interface RTCEncodedAudioFrameOptions { metadata?: RTCEncodedAudioFrameMetadata; } interface RTCEncodedVideoFrameMetadata { contributingSources?: number[]; dependencies?: number[]; frameId?: number; height?: number; payloadType?: number; spatialIndex?: number; synchronizationSource?: number; temporalIndex?: number; timestamp?: number; width?: number; } interface RTCEncodedVideoFrameOptions { metadata?: RTCEncodedVideoFrameMetadata; } interface RTCErrorEventInit extends EventInit { error: RTCError; } interface RTCErrorInit { errorDetail: RTCErrorDetailType; receivedAlert?: number; sctpCauseCode?: number; sdpLineNumber?: number; sentAlert?: number; } interface RTCIceCandidateInit { candidate?: string; sdpMLineIndex?: number | null; sdpMid?: string | null; usernameFragment?: string | null; } interface RTCIceCandidatePairStats extends RTCStats { bytesReceived?: number; bytesSent?: number; componentId?: number; currentRoundTripTime?: number; lastPacketReceivedTimestamp?: DOMHighResTimeStamp; lastPacketSentTimestamp?: DOMHighResTimeStamp; localCandidateId?: string; nominated?: boolean; priority?: number; readable?: boolean; remoteCandidateId?: string; responsesReceived?: number; selected?: boolean; state?: RTCStatsIceCandidatePairState; totalRoundTripTime?: number; transportId?: string; writable?: boolean; } interface RTCIceCandidateStats extends RTCStats { address?: string; candidateType?: RTCIceCandidateType; port?: number; priority?: number; protocol?: string; proxied?: string; relayProtocol?: string; transportId?: string; } interface RTCIceServer { credential?: string; credentialType?: RTCIceCredentialType; url?: string; urls?: string | string[]; username?: string; } interface RTCIceServerInternal { credentialProvided: boolean; urls?: string[]; userNameProvided: boolean; } interface RTCIdentityAssertion { idp?: string; name?: string; } interface RTCIdentityAssertionResult { assertion: string; idp: RTCIdentityProviderDetails; } interface RTCIdentityProvider { generateAssertion: GenerateAssertionCallback; validateAssertion: ValidateAssertionCallback; } interface RTCIdentityProviderDetails { domain: string; protocol?: string; } interface RTCIdentityProviderOptions { peerIdentity?: string; protocol?: string; usernameHint?: string; } interface RTCIdentityValidationResult { contents: string; identity: string; } interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats { audioLevel?: number; bytesReceived?: number; concealedSamples?: number; concealmentEvents?: number; estimatedPlayoutTimestamp?: DOMHighResTimeStamp; fecPacketsDiscarded?: number; fecPacketsReceived?: number; firCount?: number; frameHeight?: number; frameWidth?: number; framesAssembledFromMultiplePackets?: number; framesDecoded?: number; framesDropped?: number; framesPerSecond?: number; framesReceived?: number; freezeCount?: number; headerBytesReceived?: number; insertedSamplesForDeceleration?: number; jitterBufferDelay?: number; jitterBufferEmittedCount?: number; jitterBufferMinimumDelay?: number; jitterBufferTargetDelay?: number; keyFramesDecoded?: number; lastPacketReceivedTimestamp?: DOMHighResTimeStamp; mid?: string; nackCount?: number; pauseCount?: number; pliCount?: number; qpSum?: number; remoteId?: string; removedSamplesForAcceleration?: number; silentConcealedSamples?: number; totalAssemblyTime?: number; totalAudioEnergy?: number; totalDecodeTime?: number; totalFreezesDuration?: number; totalInterFrameDelay?: number; totalPausesDuration?: number; totalProcessingDelay?: number; totalSamplesDuration?: number; totalSamplesReceived?: number; totalSquaredInterFrameDelay?: number; trackIdentifier: string; } interface RTCLocalSessionDescriptionInit { sdp?: string; type?: RTCSdpType; } interface RTCMediaSourceStats extends RTCStats { kind: string; trackIdentifier: string; } interface RTCOfferAnswerOptions { } interface RTCOfferOptions extends RTCOfferAnswerOptions { iceRestart?: boolean; offerToReceiveAudio?: boolean; offerToReceiveVideo?: boolean; } interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats { firCount?: number; frameHeight?: number; frameWidth?: number; framesEncoded?: number; framesPerSecond?: number; framesSent?: number; headerBytesSent?: number; hugeFramesSent?: number; mid?: string; nackCount?: number; pliCount?: number; qpSum?: number; remoteId?: string; retransmittedBytesSent?: number; retransmittedPacketsSent?: number; rid?: string; totalEncodeTime?: number; totalEncodedBytesTarget?: number; } interface RTCPeerConnectionIceErrorEventInit extends EventInit { address?: string | null; errorCode: number; errorText?: string; port?: number | null; url?: string; } interface RTCPeerConnectionIceEventInit extends EventInit { candidate?: RTCIceCandidate | null; } interface RTCPeerConnectionStats extends RTCStats { dataChannelsClosed?: number; dataChannelsOpened?: number; } interface RTCRTPContributingSourceStats extends RTCStats { contributorSsrc?: number; inboundRtpStreamId?: string; } interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats { discardedPackets?: number; jitter?: number; packetsDiscarded?: number; packetsLost?: number; packetsReceived?: number; } interface RTCRemoteInboundRtpStreamStats extends RTCReceivedRtpStreamStats { fractionLost?: number; localId?: string; roundTripTime?: number; roundTripTimeMeasurements?: number; totalRoundTripTime?: number; } interface RTCRemoteOutboundRtpStreamStats extends RTCSentRtpStreamStats { localId?: string; remoteTimestamp?: DOMHighResTimeStamp; } interface RTCRtcpParameters { cname?: string; reducedSize?: boolean; } interface RTCRtpCapabilities { codecs: RTCRtpCodec[]; headerExtensions: RTCRtpHeaderExtensionCapability[]; } interface RTCRtpCodec { channels?: number; clockRate: number; mimeType: string; sdpFmtpLine?: string; } interface RTCRtpCodecParameters extends RTCRtpCodec { payloadType: number; } interface RTCRtpContributingSource { audioLevel?: number; rtpTimestamp: number; source: number; timestamp: DOMHighResTimeStamp; } interface RTCRtpEncodingParameters { active?: boolean; codec?: RTCRtpCodec; maxBitrate?: number; maxFramerate?: number; priority?: RTCPriorityType; rid?: string; scaleResolutionDownBy?: number; } interface RTCRtpHeaderExtensionCapability { uri: string; } interface RTCRtpHeaderExtensionParameters { encrypted?: boolean; id?: number; uri?: string; } interface RTCRtpParameters { codecs?: RTCRtpCodecParameters[]; headerExtensions?: RTCRtpHeaderExtensionParameters[]; rtcp?: RTCRtcpParameters; } interface RTCRtpReceiveParameters extends RTCRtpParameters { } interface RTCRtpSendParameters extends RTCRtpParameters { degradationPreference?: RTCDegradationPreference; encodings: RTCRtpEncodingParameters[]; transactionId?: string; } interface RTCRtpStreamStats extends RTCStats { codecId?: string; kind: string; mediaType?: string; ssrc: number; transportId?: string; } interface RTCRtpSynchronizationSource extends RTCRtpContributingSource { voiceActivityFlag?: boolean | null; } interface RTCRtpTransceiverInit { direction?: RTCRtpTransceiverDirection; sendEncodings?: RTCRtpEncodingParameters[]; streams?: MediaStream[]; } interface RTCSdpHistoryEntryInternal { errors?: RTCSdpParsingErrorInternal[]; isLocal: boolean; sdp: string; timestamp: DOMHighResTimeStamp; } interface RTCSdpHistoryInternal { pcid: string; sdpHistory?: RTCSdpHistoryEntryInternal[]; } interface RTCSdpParsingErrorInternal { error: string; lineNumber: number; } interface RTCSentRtpStreamStats extends RTCRtpStreamStats { bytesSent?: number; packetsSent?: number; } interface RTCSessionDescriptionInit { sdp?: string; type: RTCSdpType; } interface RTCStats { id?: string; timestamp?: DOMHighResTimeStamp; type?: RTCStatsType; } interface RTCStatsCollection { bandwidthEstimations?: RTCBandwidthEstimationInternal[]; codecStats?: RTCCodecStats[]; dataChannelStats?: RTCDataChannelStats[]; iceCandidatePairStats?: RTCIceCandidatePairStats[]; iceCandidateStats?: RTCIceCandidateStats[]; inboundRtpStreamStats?: RTCInboundRtpStreamStats[]; mediaSourceStats?: RTCMediaSourceStats[]; outboundRtpStreamStats?: RTCOutboundRtpStreamStats[]; peerConnectionStats?: RTCPeerConnectionStats[]; rawLocalCandidates?: string[]; rawRemoteCandidates?: string[]; remoteInboundRtpStreamStats?: RTCRemoteInboundRtpStreamStats[]; remoteOutboundRtpStreamStats?: RTCRemoteOutboundRtpStreamStats[]; rtpContributingSourceStats?: RTCRTPContributingSourceStats[]; trickledIceCandidateStats?: RTCIceCandidateStats[]; videoFrameHistories?: RTCVideoFrameHistoryInternal[]; videoSourceStats?: RTCVideoSourceStats[]; } interface RTCStatsReportInternal extends RTCStatsCollection { browserId: number; callDurationMs?: number; closed: boolean; configuration?: RTCConfigurationInternal; iceRestarts: number; iceRollbacks: number; jsepSessionErrors?: string; offerer?: boolean; pcid: string; sdpHistory?: RTCSdpHistoryEntryInternal[]; timestamp: DOMHighResTimeStamp; } interface RTCTrackEventInit extends EventInit { receiver: RTCRtpReceiver; streams?: MediaStream[]; track: MediaStreamTrack; transceiver: RTCRtpTransceiver; } interface RTCVideoFrameHistoryEntryInternal { consecutiveFrames: number; firstFrameTimestamp: DOMHighResTimeStamp; height: number; lastFrameTimestamp: DOMHighResTimeStamp; localSsrc: number; remoteSsrc: number; rotationAngle: number; width: number; } interface RTCVideoFrameHistoryInternal { entries?: RTCVideoFrameHistoryEntryInternal[]; trackIdentifier: string; } interface RTCVideoSourceStats extends RTCMediaSourceStats { frames?: number; framesPerSecond?: number; height?: number; width?: number; } interface ReadOptions extends ReadUTF8Options { maxBytes?: number | null; offset?: number; } interface ReadUTF8Options { decompress?: boolean; } interface ReadableStreamBYOBReaderReadOptions { min?: number; } interface ReadableStreamGetReaderOptions { mode?: ReadableStreamReaderMode; } interface ReadableStreamIteratorOptions { preventCancel?: boolean; } interface ReadableStreamReadResult { done?: boolean; value?: any; } interface ReadableWritablePair { readable: ReadableStream; writable: WritableStream; } interface ReceiveMessageArgument { data?: any; json?: any; name: string; ports: MessagePort[]; sync: boolean; target: nsISupports; targetFrameLoader?: FrameLoader | null; } interface RedirectBlockedEventInit extends EventInit { redirectURI?: URI | null; requestingWindow?: Window | null; } interface RegistrationOptions { scope?: string; type?: WorkerType; updateViaCache?: ServiceWorkerUpdateViaCache; } interface RemotenessOptions { pendingSwitchID?: number; remoteType: string | null; switchingInProgressLoad?: boolean; } interface RemoveOptions { ignoreAbsent?: boolean; recursive?: boolean; retryReadonly?: boolean; } interface ReportingObserverOptions { buffered?: boolean; types?: string[]; } interface RequestInit { body?: BodyInit | null; cache?: RequestCache; cookieJarSettings?: nsICookieJarSettings; credentials?: RequestCredentials; headers?: HeadersInit; integrity?: string; keepalive?: boolean; method?: string; mode?: RequestMode; mozErrors?: boolean; neverTaint?: boolean; observe?: ObserverCallback; priority?: RequestPriority; redirect?: RequestRedirect; referrer?: string; referrerPolicy?: ReferrerPolicy; signal?: AbortSignal | null; triggeringPrincipal?: Principal; } interface ResizeObserverOptions { box?: ResizeObserverBoxOptions; } interface ResourceId { optional?: boolean; path: string; } interface ResponseInit { headers?: HeadersInit; status?: number; statusText?: string; } interface SVGBoundingBoxOptions { clipped?: boolean; fill?: boolean; markers?: boolean; stroke?: boolean; } interface SVGPathDataSettings { normalize?: boolean; } interface SVGPathSegmentInit { type: string; values: number[] | Float32Array; } interface SanitizerAttributeNamespace { name: string; namespace?: string | null; } interface SanitizerConfig { attributes?: SanitizerAttribute[]; comments?: boolean; dataAttributes?: boolean; elements?: SanitizerElementWithAttributes[]; removeAttributes?: SanitizerAttribute[]; removeElements?: SanitizerElement[]; replaceWithChildrenElements?: SanitizerElement[]; } interface SanitizerElementNamespace { name: string; namespace?: string | null; } interface SanitizerElementNamespaceWithAttributes extends SanitizerElementNamespace { attributes?: SanitizerAttribute[]; removeAttributes?: SanitizerAttribute[]; } interface SchedulerPostTaskOptions { delay?: number; priority?: TaskPriority; signal?: AbortSignal; } interface ScrollIntoViewOptions extends ScrollOptions { block?: ScrollLogicalPosition; inline?: ScrollLogicalPosition; } interface ScrollOptions { behavior?: ScrollBehavior; } interface ScrollToOptions extends ScrollOptions { left?: number; top?: number; } interface SecurityPolicyViolationEventInit extends EventInit { blockedURI?: string; columnNumber?: number; disposition?: SecurityPolicyViolationEventDisposition; documentURI?: string; effectiveDirective?: string; lineNumber?: number; originalPolicy?: string; referrer?: string; sample?: string; sourceFile?: string; statusCode?: number; violatedDirective?: string; } interface SelectorWarning { index: number; kind: SelectorWarningKind; } interface ServerSocketOptions { binaryType?: TCPSocketBinaryType; } interface SetHTMLOptions { sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets; } interface SetHTMLUnsafeOptions { sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets; } interface ShadowRootInit { clonable?: boolean; delegatesFocus?: boolean; mode: ShadowRootMode; referenceTarget?: string | null; serializable?: boolean; slotAssignment?: SlotAssignmentMode; } interface ShareData { files?: File[]; text?: string; title?: string; url?: string; } interface ShowPopoverOptions { source?: HTMLElement; } interface SizeToContentConstraints { maxHeight?: number; maxWidth?: number; prefWidth?: number; } interface SocketOptions { binaryType?: TCPSocketBinaryType; useSecureTransport?: boolean; } interface SpeechRecognitionErrorInit extends EventInit { error?: SpeechRecognitionErrorCode; message?: string; } interface SpeechRecognitionEventInit extends EventInit { emma?: Document | null; interpretation?: any; resultIndex?: number; results?: SpeechRecognitionResultList | null; } interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { error: SpeechSynthesisErrorCode; } interface SpeechSynthesisEventInit extends EventInit { charIndex?: number; charLength?: number | null; elapsedTime?: number; name?: string; utterance: SpeechSynthesisUtterance; } interface SplitRelativeOptions { allowCurrentDir?: boolean; allowEmpty?: boolean; allowParentDir?: boolean; } interface StartViewTransitionOptions { types?: string[] | null; update?: ViewTransitionUpdateCallback | null; } interface StaticRangeInit { endContainer: Node; endOffset: number; startContainer: Node; startOffset: number; } interface StereoPannerOptions extends AudioNodeOptions { pan?: number; } interface StorageEstimate { quota?: number; usage?: number; } interface StorageEventInit extends EventInit { key?: string | null; newValue?: string | null; oldValue?: string | null; storageArea?: Storage | null; url?: string; } interface StreamFilterDataEventInit extends EventInit { data: ArrayBuffer; } interface StreamPipeOptions { preventAbort?: boolean; preventCancel?: boolean; preventClose?: boolean; signal?: AbortSignal; } interface StructuredSerializeOptions { transfer?: any[]; } interface StyleSheetApplicableStateChangeEventInit extends EventInit { applicable?: boolean; stylesheet?: CSSStyleSheet | null; } interface StyleSheetRemovedEventInit extends EventInit { stylesheet?: CSSStyleSheet | null; } interface SubmitEventInit extends EventInit { submitter?: HTMLElement | null; } interface SupportsOptions { chrome?: boolean; quirks?: boolean; userAgent?: boolean; } interface SvcOutputMetadata { temporalLayerId?: number; } interface SynthesizeEventData { identifier?: number; pressure?: number; } interface SynthesizeEventOptions { isAsyncEnabled?: boolean; isDOMEventSynthesized?: boolean; toWindow?: boolean; } interface SynthesizeMouseEventData extends SynthesizeEventData { button?: number; buttons?: number; clickCount?: number; inputSource?: number; modifiers?: number; } interface SynthesizeMouseEventOptions extends SynthesizeEventOptions { ignoreRootScrollFrame?: boolean; isWidgetEventSynthesized?: boolean; } interface SynthesizeTouchEventData extends SynthesizeEventData { altitudeAngle?: number; azimuthAngle?: number; offsetX: number; offsetY: number; radiiX?: number; radiiY?: number; rotationAngle?: number; tiltX?: number; tiltY?: number; twist?: number; } interface SynthesizeTouchEventOptions extends SynthesizeEventOptions { isPen?: boolean; } interface TCPServerSocketEventInit extends EventInit { socket?: TCPSocket | null; } interface TCPSocketErrorEventInit extends EventInit { errorCode?: number; message?: string; name?: string; } interface TCPSocketEventInit extends EventInit { data?: any; } interface TaskControllerInit { priority?: TaskPriority; } interface TaskPriorityChangeEventInit extends EventInit { previousPriority: TaskPriority; } interface TaskSignalAnyInit { priority?: TaskPriority | TaskSignal; } interface TestInterfaceAsyncIterableSingleOptions { failToInit?: boolean; } interface TestInterfaceAsyncIteratorOptions { blockingPromises?: Promise[]; failNextAfter?: number; multiplier?: number; throwFromNext?: boolean; throwFromReturn?: TestThrowingCallback; } interface TestInterfaceJSDictionary { anyMember?: any; anySequenceMember?: any[]; innerDictionary?: TestInterfaceJSDictionary2; objectMember?: any; objectOrStringMember?: any; objectRecordMember?: Record; } interface TestInterfaceJSDictionary2 { innerObject?: any; } interface TestInterfaceJSUnionableDictionary { anyMember?: any; objectMember?: any; } interface TextDecodeOptions { stream?: boolean; } interface TextDecoderOptions { fatal?: boolean; ignoreBOM?: boolean; } interface TextEncoderEncodeIntoResult { read?: number; written?: number; } interface ThreadInfoDictionary { cpuCycleCount?: number; cpuTime?: number; name?: string; tid?: number; } interface ToggleEventInit extends EventInit { newState?: string; oldState?: string; source?: Element | null; } interface TogglePopoverOptions extends ShowPopoverOptions { force?: boolean; } interface ToolAnnotations { readOnlyHint?: boolean; } interface TouchEventInit extends EventModifierInit { changedTouches?: Touch[]; targetTouches?: Touch[]; touches?: Touch[]; } interface TouchInit { clientX?: number; clientY?: number; force?: number; identifier: number; pageX?: number; pageY?: number; radiusX?: number; radiusY?: number; rotationAngle?: number; screenX?: number; screenY?: number; target: EventTarget; } interface TrackBuffersManagerDebugInfo { bufferSize?: number; evictable?: number; nextGetSampleIndex?: number; nextInsertionIndex?: number; nextSampleTime?: number; numSamples?: number; ranges?: BufferRange[]; type?: string; } interface TrackEventInit extends EventInit { track?: VideoTrack | AudioTrack | TextTrack | null; } interface TransitionEventInit extends EventInit { elapsedTime?: number; propertyName?: string; pseudoElement?: string; } interface TreeCellInfo { childElt?: string; col?: TreeColumn | null; row?: number; } interface TrustedTypePolicyOptions { createHTML?: CreateHTMLCallback; createScript?: CreateScriptCallback; createScriptURL?: CreateScriptURLCallback; } interface UDPMessageEventInit extends EventInit { data?: any; remoteAddress?: string; remotePort?: number; } interface UDPOptions { addressReuse?: boolean; localAddress?: string; localPort?: number; loopback?: boolean; remoteAddress?: string; remotePort?: number; } interface UIEventInit extends EventInit { detail?: number; view?: Window | null; } interface ULongRange { max?: number; min?: number; } interface URLPatternComponentResult { groups?: Record; input?: string; } interface URLPatternInit { baseURL?: string; hash?: string; hostname?: string; password?: string; pathname?: string; port?: string; protocol?: string; search?: string; username?: string; } interface URLPatternOptions { ignoreCase?: boolean; } interface URLPatternResult { hash?: URLPatternComponentResult; hostname?: URLPatternComponentResult; inputs?: URLPatternInput[]; password?: URLPatternComponentResult; pathname?: URLPatternComponentResult; port?: URLPatternComponentResult; protocol?: URLPatternComponentResult; search?: URLPatternComponentResult; username?: URLPatternComponentResult; } interface UniFFIScaffoldingCallResult { code: UniFFIScaffoldingCallCode; data?: UniFFIScaffoldingValue; } interface UserProximityEventInit extends EventInit { near?: boolean; } interface UtilityActorsDictionary { actorName?: WebIDLUtilityActorName; } interface VRDisplayEventInit extends EventInit { display: VRDisplay; reason?: VRDisplayEventReason; } interface VRLayer { leftBounds?: number[] | Float32Array; rightBounds?: number[] | Float32Array; source?: HTMLCanvasElement | null; } interface ValidityStateFlags { badInput?: boolean; customError?: boolean; patternMismatch?: boolean; rangeOverflow?: boolean; rangeUnderflow?: boolean; stepMismatch?: boolean; tooLong?: boolean; tooShort?: boolean; typeMismatch?: boolean; valueMissing?: boolean; } interface VideoColorSpaceInit { fullRange?: boolean | null; matrix?: VideoMatrixCoefficients | null; primaries?: VideoColorPrimaries | null; transfer?: VideoTransferCharacteristics | null; } interface VideoConfiguration { bitrate: number; colorGamut?: ColorGamut; contentType: string; framerate: number; hasAlphaChannel?: boolean; hdrMetadataType?: HdrMetadataType; height: number; scalabilityMode?: string; transferFunction?: TransferFunction; width: number; } interface VideoDecoderConfig { codec: string; codedHeight?: number; codedWidth?: number; colorSpace?: VideoColorSpaceInit; description?: AllowSharedBufferSource; displayAspectHeight?: number; displayAspectWidth?: number; hardwareAcceleration?: HardwareAcceleration; optimizeForLatency?: boolean; } interface VideoDecoderInit { error: WebCodecsErrorCallback; output: VideoFrameOutputCallback; } interface VideoDecoderSupport { config?: VideoDecoderConfig; supported?: boolean; } interface VideoEncoderConfig { alpha?: AlphaOption; avc?: AvcEncoderConfig; bitrate?: number; bitrateMode?: VideoEncoderBitrateMode; codec: string; contentHint?: string; displayHeight?: number; displayWidth?: number; framerate?: number; hardwareAcceleration?: HardwareAcceleration; height: number; latencyMode?: LatencyMode; scalabilityMode?: string; width: number; } interface VideoEncoderEncodeOptions { avc?: VideoEncoderEncodeOptionsForAvc; keyFrame?: boolean; } interface VideoEncoderEncodeOptionsForAvc { quantizer?: number | null; } interface VideoEncoderInit { error: WebCodecsErrorCallback; output: EncodedVideoChunkOutputCallback; } interface VideoEncoderSupport { config?: VideoEncoderConfig; supported?: boolean; } interface VideoFrameBufferInit { codedHeight: number; codedWidth: number; colorSpace?: VideoColorSpaceInit; displayHeight?: number; displayWidth?: number; duration?: number; format: VideoPixelFormat; layout?: PlaneLayout[]; timestamp: number; visibleRect?: DOMRectInit; } interface VideoFrameCallbackMetadata { captureTime?: DOMHighResTimeStamp; expectedDisplayTime: DOMHighResTimeStamp; height: number; mediaTime: number; presentationTime: DOMHighResTimeStamp; presentedFrames: number; processingDuration?: number; receiveTime?: DOMHighResTimeStamp; rtpTimestamp?: number; width: number; } interface VideoFrameCopyToOptions { colorSpace?: PredefinedColorSpace; format?: VideoPixelFormat; layout?: PlaneLayout[]; rect?: DOMRectInit; } interface VideoFrameInit { alpha?: AlphaOption; displayHeight?: number; displayWidth?: number; duration?: number; timestamp?: number; visibleRect?: DOMRectInit; } interface VideoSinkDebugInfo { endPromiseHolderIsEmpty?: boolean; finished?: boolean; hasVideo?: boolean; isPlaying?: boolean; isStarted?: boolean; size?: number; videoFrameEndTime?: number; videoSinkEndRequestExists?: boolean; } interface WaveShaperOptions extends AudioNodeOptions { curve?: number[] | Float32Array; oversample?: OverSampleType; } interface WebAccessibleResourceInit { extension_ids?: string[] | null; matches?: MatchPatternSetOrStringSequence | null; resources: MatchGlobOrString[]; } interface WebExtensionContentScriptInit extends MozDocumentMatcherInit { cssOrigin?: ContentScriptCssOrigin; cssPaths?: string[]; jsPaths?: string[]; runAt?: ContentScriptRunAt; world?: ContentScriptExecutionWorld; worldId?: string | null; } interface WebExtensionInit { allowedOrigins: MatchPatternSetOrStringSequence; backgroundScripts?: string[] | null; backgroundTypeModule?: boolean; backgroundWorkerScript?: string | null; baseURL: string; contentScripts?: WebExtensionContentScriptInit[]; extensionPageCSP?: string | null; hasRecommendedState?: boolean; id: string; ignoreQuarantine?: boolean; isPrivileged?: boolean; localizeCallback: WebExtensionLocalizeCallback; manifestVersion?: number; mozExtensionHostname: string; name?: string; permissions?: string[]; readyPromise?: Promise; temporarilyInstalled?: boolean; type?: string; version?: string; webAccessibleResources?: WebAccessibleResourceInit[]; } interface WebGLContextAttributes { alpha?: GLboolean; antialias?: GLboolean; depth?: GLboolean; failIfMajorPerformanceCaveat?: GLboolean; forceSoftwareRendering?: GLboolean; powerPreference?: WebGLPowerPreference; premultipliedAlpha?: GLboolean; preserveDrawingBuffer?: GLboolean; stencil?: GLboolean; xrCompatible?: boolean; } interface WebGLContextEventInit extends EventInit { statusMessage?: string; } interface WebTransportCloseInfo { closeCode?: number; reason?: string; } interface WebTransportDatagramStats { droppedIncoming?: number; expiredOutgoing?: number; lostOutgoing?: number; timestamp?: DOMHighResTimeStamp; } interface WebTransportErrorInit { message?: string; streamErrorCode?: number; } interface WebTransportHash { algorithm?: string; value?: BufferSource; } interface WebTransportOptions { allowPooling?: boolean; congestionControl?: WebTransportCongestionControl; requireUnreliable?: boolean; serverCertificateHashes?: WebTransportHash[]; } interface WebTransportReceiveStreamStats { bytesRead?: number; bytesReceived?: number; timestamp?: DOMHighResTimeStamp; } interface WebTransportSendStreamOptions { sendOrder?: number | null; } interface WebTransportSendStreamStats { bytesAcknowledged?: number; bytesSent?: number; bytesWritten?: number; timestamp?: DOMHighResTimeStamp; } interface WebTransportStats { bytesReceived?: number; bytesSent?: number; datagrams?: WebTransportDatagramStats; minRtt?: DOMHighResTimeStamp; numIncomingStreamsCreated?: number; numOutgoingStreamsCreated?: number; packetsLost?: number; packetsReceived?: number; packetsSent?: number; rttVariation?: DOMHighResTimeStamp; smoothedRtt?: DOMHighResTimeStamp; timestamp?: DOMHighResTimeStamp; } interface WebrtcGlobalMediaContext { hasAv1: boolean; hasH264Hardware: boolean; } interface WebrtcGlobalStatisticsReport { reports?: RTCStatsReportInternal[]; sdpHistories?: RTCSdpHistoryInternal[]; } interface WheelEventInit extends MouseEventInit { deltaMode?: number; deltaX?: number; deltaY?: number; deltaZ?: number; } interface WindowActorChildOptions extends WindowActorSidedOptions { events?: Record; observers?: string[]; } interface WindowActorEventListenerOptions extends AddEventListenerOptions { createActor?: boolean; } interface WindowActorOptions { allFrames?: boolean; child?: WindowActorChildOptions; includeChrome?: boolean; matches?: string[]; messageManagerGroups?: string[]; parent?: WindowActorSidedOptions; remoteTypes?: string[]; } interface WindowActorSidedOptions { esModuleURI?: string; } interface WindowInfoDictionary { documentTitle?: string; documentURI?: URI | null; isInProcess?: boolean; isProcessRoot?: boolean; outerWindowId?: number; } interface WindowPostMessageOptions extends StructuredSerializeOptions { targetOrigin?: string; } interface WindowsFileAttributes { hidden?: boolean; readOnly?: boolean; system?: boolean; } interface Wireframe { canvasBackground?: number; rects?: WireframeTaggedRect[]; version?: number; } interface WireframeTaggedRect { color?: number; height?: number; node?: Node | null; type?: WireframeRectType; width?: number; x?: number; y?: number; } interface WorkerOptions { credentials?: RequestCredentials; name?: string; type?: WorkerType; } interface WorkletOptions { credentials?: RequestCredentials; } interface WriteOptions { backupFile?: string; compress?: boolean; flush?: boolean; mode?: WriteMode; tmpPath?: string; } interface WriteParams { data?: BufferSource | Blob | string | null; position?: number | null; size?: number | null; type: WriteCommandType; } interface XRInputSourceEventInit extends EventInit { frame: XRFrame; inputSource: XRInputSource; } interface XRInputSourcesChangeEventInit extends EventInit { added: XRInputSource[]; removed: XRInputSource[]; session: XRSession; } interface XRReferenceSpaceEventInit extends EventInit { referenceSpace: XRReferenceSpace; transform?: XRRigidTransform | null; } interface XRRenderStateInit { baseLayer?: XRWebGLLayer | null; depthFar?: number; depthNear?: number; inlineVerticalFieldOfView?: number; } interface XRSessionEventInit extends EventInit { session: XRSession; } interface XRSessionInit { optionalFeatures?: string[]; requiredFeatures?: string[]; } interface XRWebGLLayerInit { alpha?: boolean; antialias?: boolean; depth?: boolean; framebufferScaleFactor?: number; ignoreDepthValues?: boolean; stencil?: boolean; } interface addonInstallOptions { hash?: string | null; url: string; } interface sendAbuseReportOptions { authorization?: string | null; } type EventListener = ((event: Event) => void) | { handleEvent(event: Event): void; }; type MessageListener = ((argument: ReceiveMessageArgument) => any) | { receiveMessage(argument: ReceiveMessageArgument): any; }; type MozDocumentCallback = ((matcher: MozDocumentMatcher, window: WindowProxy) => void) | { onNewDocument(matcher: MozDocumentMatcher, window: WindowProxy): void; }; type NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number; }; declare var NodeFilter: { readonly FILTER_ACCEPT: 1; readonly FILTER_REJECT: 2; readonly FILTER_SKIP: 3; readonly SHOW_ALL: 0xFFFFFFFF; readonly SHOW_ELEMENT: 0x1; readonly SHOW_ATTRIBUTE: 0x2; readonly SHOW_TEXT: 0x4; readonly SHOW_CDATA_SECTION: 0x8; readonly SHOW_ENTITY_REFERENCE: 0x10; readonly SHOW_ENTITY: 0x20; readonly SHOW_PROCESSING_INSTRUCTION: 0x40; readonly SHOW_COMMENT: 0x80; readonly SHOW_DOCUMENT: 0x100; readonly SHOW_DOCUMENT_TYPE: 0x200; readonly SHOW_DOCUMENT_FRAGMENT: 0x400; readonly SHOW_NOTATION: 0x800; }; type ObserverCallback = ((observer: FetchObserver) => void) | { handleEvent(observer: FetchObserver): void; }; type UncaughtRejectionObserver = ((p: any) => boolean) | { onLeftUncaught(p: any): boolean; }; type UniFFICallbackHandler = ((objectHandle: UniFFICallbackObjectHandle, methodIndex: number, ...args: UniFFIScaffoldingValue[]) => Promise) | { callAsync(objectHandle: UniFFICallbackObjectHandle, methodIndex: number, ...args: UniFFIScaffoldingValue[]): Promise; }; type XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; }; interface ANGLE_instanced_arrays { drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void; drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void; vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void; readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 0x88FE; } interface ARIAMixin { ariaActiveDescendantElement: Element | null; ariaAtomic: string | null; ariaAutoComplete: string | null; ariaBrailleLabel: string | null; ariaBrailleRoleDescription: string | null; ariaBusy: string | null; ariaChecked: string | null; ariaColCount: string | null; ariaColIndex: string | null; ariaColIndexText: string | null; ariaColSpan: string | null; ariaControlsElements: Element[] | null; ariaCurrent: string | null; ariaDescribedByElements: Element[] | null; ariaDescription: string | null; ariaDetailsElements: Element[] | null; ariaDisabled: string | null; ariaErrorMessageElements: Element[] | null; ariaExpanded: string | null; ariaFlowToElements: Element[] | null; ariaHasPopup: string | null; ariaHidden: string | null; ariaInvalid: string | null; ariaKeyShortcuts: string | null; ariaLabel: string | null; ariaLabelledByElements: Element[] | null; ariaLevel: string | null; ariaLive: string | null; ariaModal: string | null; ariaMultiLine: string | null; ariaMultiSelectable: string | null; ariaOrientation: string | null; ariaOwnsElements: Element[] | null; ariaPlaceholder: string | null; ariaPosInSet: string | null; ariaPressed: string | null; ariaReadOnly: string | null; ariaRelevant: string | null; ariaRequired: string | null; ariaRoleDescription: string | null; ariaRowCount: string | null; ariaRowIndex: string | null; ariaRowIndexText: string | null; ariaRowSpan: string | null; ariaSelected: string | null; ariaSetSize: string | null; ariaSort: string | null; ariaValueMax: string | null; ariaValueMin: string | null; ariaValueNow: string | null; ariaValueText: string | null; role: string | null; } interface ARIANotifyMixin { ariaNotify(announcement: string, options?: AriaNotificationOptions): void; } interface AbortController { readonly signal: AbortSignal; abort(reason?: any): void; } declare var AbortController: { prototype: AbortController; new(): AbortController; isInstance: IsInstance; }; interface AbortSignalEventMap { "abort": Event; } interface AbortSignal extends EventTarget { readonly aborted: boolean; onabort: ((this: AbortSignal, ev: Event) => any) | null; readonly reason: any; throwIfAborted(): void; addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AbortSignal: { prototype: AbortSignal; new(): AbortSignal; isInstance: IsInstance; abort(reason?: any): AbortSignal; any(signals: AbortSignal[]): AbortSignal; timeout(milliseconds: number): AbortSignal; }; interface AbstractRange { readonly collapsed: boolean; readonly endContainer: Node; readonly endOffset: number; readonly startContainer: Node; readonly startOffset: number; getShrunkenRangeToVisibleLeaves(): StaticRange | null; } declare var AbstractRange: { prototype: AbstractRange; new(): AbstractRange; isInstance: IsInstance; }; interface AbstractWorkerEventMap { "error": Event; } interface AbstractWorker { onerror: ((this: AbstractWorker, ev: Event) => any) | null; addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } interface AccessibleNode { readonly DOMNode: Node | null; activeDescendant: AccessibleNode | null; atomic: boolean | null; readonly attributes: string[]; autocomplete: string | null; busy: boolean | null; checked: string | null; colCount: number | null; colIndex: number | null; colSpan: number | null; readonly computedRole: string; current: string | null; details: AccessibleNode | null; disabled: boolean | null; errorMessage: AccessibleNode | null; expanded: boolean | null; hasPopUp: string | null; hidden: boolean | null; invalid: string | null; keyShortcuts: string | null; label: string | null; level: number | null; live: string | null; modal: boolean | null; multiline: boolean | null; multiselectable: boolean | null; orientation: string | null; placeholder: string | null; posInSet: number | null; pressed: string | null; readOnly: boolean | null; relevant: string | null; required: boolean | null; role: string | null; roleDescription: string | null; rowCount: number | null; rowIndex: number | null; rowSpan: number | null; selected: boolean | null; setSize: number | null; sort: string | null; readonly states: string[]; valueMax: number | null; valueMin: number | null; valueNow: number | null; valueText: string | null; get(attribute: string): any; has(...attributes: string[]): boolean; is(...states: string[]): boolean; } declare var AccessibleNode: { prototype: AccessibleNode; new(): AccessibleNode; isInstance: IsInstance; }; interface Addon { readonly canUninstall: boolean; readonly description: string; readonly id: string; readonly isActive: boolean; readonly isEnabled: boolean; readonly name: string; readonly type: string; readonly version: string; setEnabled(value: boolean): Promise; uninstall(): Promise; } declare var Addon: { prototype: Addon; new(): Addon; isInstance: IsInstance; }; interface AddonEvent extends Event { readonly id: string; } declare var AddonEvent: { prototype: AddonEvent; new(type: string, eventInitDict: AddonEventInit): AddonEvent; isInstance: IsInstance; }; interface AddonInstall extends EventTarget { readonly error: string | null; readonly maxProgress: number; readonly progress: number; readonly state: string; cancel(): Promise; install(): Promise; } declare var AddonInstall: { prototype: AddonInstall; new(): AddonInstall; isInstance: IsInstance; }; interface AddonManager extends EventTarget { createInstall(options?: addonInstallOptions): Promise; getAddonByID(id: string): Promise; sendAbuseReport(addonId: string, data: Record, options?: sendAbuseReportOptions): Promise; } declare var AddonManager: { prototype: AddonManager; new(): AddonManager; isInstance: IsInstance; }; interface AnalyserNode extends AudioNode, AudioNodePassThrough { 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(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; isInstance: IsInstance; }; interface Animatable { animate(keyframes: any, options?: UnrestrictedDoubleOrKeyframeAnimationOptions): Animation; getAnimations(options?: GetAnimationsOptions): Animation[]; } interface AnimationEventMap { "cancel": Event; "finish": Event; "remove": Event; } interface Animation extends EventTarget { currentTime: number | null; effect: AnimationEffect | null; readonly finished: Promise; id: string; readonly isRunningOnCompositor: boolean; oncancel: ((this: Animation, ev: Event) => any) | null; onfinish: ((this: Animation, ev: Event) => any) | null; onremove: ((this: Animation, ev: Event) => any) | null; readonly overallProgress: number | null; readonly pending: boolean; readonly playState: AnimationPlayState; playbackRate: number; readonly ready: Promise; readonly replaceState: AnimationReplaceState; startTime: number | null; timeline: AnimationTimeline | null; cancel(): void; commitStyles(): void; finish(): void; pause(): void; persist(): void; play(): void; reverse(): void; updatePlaybackRate(playbackRate: number): void; addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Animation: { prototype: Animation; new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation; isInstance: IsInstance; }; interface AnimationEffect { getComputedTiming(): ComputedEffectTiming; getTiming(): EffectTiming; updateTiming(timing?: OptionalEffectTiming): void; } declare var AnimationEffect: { prototype: AnimationEffect; new(): AnimationEffect; isInstance: IsInstance; }; interface AnimationEvent extends Event { readonly animationName: string; readonly elapsedTime: number; readonly pseudoElement: string; } declare var AnimationEvent: { prototype: AnimationEvent; new(type: string, eventInitDict?: AnimationEventInit): AnimationEvent; isInstance: IsInstance; }; interface AnimationFrameProvider { cancelAnimationFrame(handle: number): void; requestAnimationFrame(callback: FrameRequestCallback): number; } interface AnimationPlaybackEvent extends Event { readonly currentTime: number | null; readonly timelineTime: number | null; } declare var AnimationPlaybackEvent: { prototype: AnimationPlaybackEvent; new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; isInstance: IsInstance; }; interface AnimationTimeline { readonly currentTime: number | null; } declare var AnimationTimeline: { prototype: AnimationTimeline; new(): AnimationTimeline; isInstance: IsInstance; }; interface AnonymousContent { readonly root: ShadowRoot; } declare var AnonymousContent: { prototype: AnonymousContent; new(): AnonymousContent; isInstance: IsInstance; }; interface Attr extends Node { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerElement: Element | null; readonly prefix: string | null; readonly specified: boolean; value: string; } declare var Attr: { prototype: Attr; new(): Attr; isInstance: IsInstance; }; 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(options: AudioBufferOptions): AudioBuffer; isInstance: IsInstance; }; interface AudioBufferSourceNode extends AudioScheduledSourceNode, AudioNodePassThrough { buffer: AudioBuffer | null; readonly detune: AudioParam; loop: boolean; loopEnd: number; loopStart: number; readonly playbackRate: AudioParam; start(when?: number, grainOffset?: number, grainDuration?: number): void; addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioBufferSourceNode: { prototype: AudioBufferSourceNode; new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode; isInstance: IsInstance; }; interface AudioContext extends BaseAudioContext { readonly baseLatency: number; readonly outputLatency: number; close(): Promise; createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode; createMediaStreamDestination(): MediaStreamAudioDestinationNode; createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode; createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode; getOutputTimestamp(): AudioTimestamp; suspend(): Promise; addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioContext: { prototype: AudioContext; new(contextOptions?: AudioContextOptions): AudioContext; isInstance: IsInstance; }; interface AudioData { readonly duration: number; readonly format: AudioSampleFormat | null; readonly numberOfChannels: number; readonly numberOfFrames: number; readonly sampleRate: number; readonly timestamp: number; allocationSize(options: AudioDataCopyToOptions): number; clone(): AudioData; close(): void; copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void; } declare var AudioData: { prototype: AudioData; new(init: AudioDataInit): AudioData; isInstance: IsInstance; }; interface AudioDecoderEventMap { "dequeue": Event; } /** Available only in secure contexts. */ interface AudioDecoder extends EventTarget { readonly decodeQueueSize: number; ondequeue: ((this: AudioDecoder, ev: Event) => any) | null; readonly state: CodecState; close(): void; configure(config: AudioDecoderConfig): void; decode(chunk: EncodedAudioChunk): void; flush(): Promise; reset(): void; addEventListener(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioDecoder: { prototype: AudioDecoder; new(init: AudioDecoderInit): AudioDecoder; isInstance: IsInstance; isConfigSupported(config: AudioDecoderConfig): Promise; }; interface AudioDestinationNode extends AudioNode { readonly maxChannelCount: number; } declare var AudioDestinationNode: { prototype: AudioDestinationNode; new(): AudioDestinationNode; isInstance: IsInstance; }; interface AudioEncoderEventMap { "dequeue": Event; } /** Available only in secure contexts. */ interface AudioEncoder extends EventTarget { readonly encodeQueueSize: number; ondequeue: ((this: AudioEncoder, ev: Event) => any) | null; readonly state: CodecState; close(): void; configure(config: AudioEncoderConfig): void; encode(data: AudioData): void; flush(): Promise; reset(): void; addEventListener(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioEncoder: { prototype: AudioEncoder; new(init: AudioEncoderInit): AudioEncoder; isInstance: IsInstance; isConfigSupported(config: AudioEncoderConfig): Promise; }; interface AudioListener { setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void; setPosition(x: number, y: number, z: number): void; } declare var AudioListener: { prototype: AudioListener; new(): AudioListener; isInstance: IsInstance; }; interface AudioNode extends EventTarget { channelCount: number; channelCountMode: ChannelCountMode; channelInterpretation: ChannelInterpretation; readonly context: BaseAudioContext; readonly id: number; readonly numberOfInputs: number; readonly numberOfOutputs: number; connect(destination: AudioNode, output?: number, input?: number): AudioNode; connect(destination: AudioParam, output?: number): void; disconnect(): void; disconnect(output: number): void; disconnect(destination: AudioNode): void; disconnect(destination: AudioNode, output: number): void; disconnect(destination: AudioNode, output: number, input: number): void; disconnect(destination: AudioParam): void; disconnect(destination: AudioParam, output: number): void; } declare var AudioNode: { prototype: AudioNode; new(): AudioNode; isInstance: IsInstance; }; interface AudioNodePassThrough { passThrough: boolean; } interface AudioParam { readonly defaultValue: number; readonly isTrackSuspended: boolean; readonly maxValue: number; readonly minValue: number; readonly name: string; readonly parentNodeId: 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: number[] | Float32Array, startTime: number, duration: number): AudioParam; } declare var AudioParam: { prototype: AudioParam; new(): AudioParam; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface AudioParamMap { forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void; } declare var AudioParamMap: { prototype: AudioParamMap; new(): AudioParamMap; isInstance: IsInstance; }; interface AudioProcessingEvent extends Event { readonly inputBuffer: AudioBuffer; readonly outputBuffer: AudioBuffer; readonly playbackTime: number; } declare var AudioProcessingEvent: { prototype: AudioProcessingEvent; new(): AudioProcessingEvent; isInstance: IsInstance; }; interface AudioScheduledSourceNodeEventMap { "ended": Event; } interface AudioScheduledSourceNode extends AudioNode { onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null; start(when?: number): void; stop(when?: number): void; addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioScheduledSourceNode: { prototype: AudioScheduledSourceNode; new(): AudioScheduledSourceNode; isInstance: IsInstance; }; interface AudioTrack { enabled: boolean; readonly id: string; readonly kind: string; readonly label: string; readonly language: string; } declare var AudioTrack: { prototype: AudioTrack; new(): AudioTrack; isInstance: IsInstance; }; interface AudioTrackListEventMap { "addtrack": Event; "change": Event; "removetrack": Event; } interface AudioTrackList extends EventTarget { readonly length: number; onaddtrack: ((this: AudioTrackList, ev: Event) => any) | null; onchange: ((this: AudioTrackList, ev: Event) => any) | null; onremovetrack: ((this: AudioTrackList, ev: Event) => any) | null; getTrackById(id: string): AudioTrack | null; addEventListener(type: K, listener: (this: AudioTrackList, ev: AudioTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioTrackList, ev: AudioTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; [index: number]: AudioTrack; } declare var AudioTrackList: { prototype: AudioTrackList; new(): AudioTrackList; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface AudioWorklet extends Worklet { readonly port: MessagePort; } declare var AudioWorklet: { prototype: AudioWorklet; new(): AudioWorklet; isInstance: IsInstance; }; interface AudioWorkletNodeEventMap { "processorerror": Event; } /** Available only in secure contexts. */ interface AudioWorkletNode extends AudioNode { onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; readonly parameters: AudioParamMap; readonly port: MessagePort; addEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var AudioWorkletNode: { prototype: AudioWorkletNode; new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface AuthenticatorAssertionResponse extends AuthenticatorResponse { readonly authenticatorData: ArrayBuffer; readonly signature: ArrayBuffer; readonly userHandle: ArrayBuffer | null; } declare var AuthenticatorAssertionResponse: { prototype: AuthenticatorAssertionResponse; new(): AuthenticatorAssertionResponse; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface AuthenticatorAttestationResponse extends AuthenticatorResponse { readonly attestationObject: ArrayBuffer; getAuthenticatorData(): ArrayBuffer; getPublicKey(): ArrayBuffer | null; getPublicKeyAlgorithm(): COSEAlgorithmIdentifier; getTransports(): string[]; } declare var AuthenticatorAttestationResponse: { prototype: AuthenticatorAttestationResponse; new(): AuthenticatorAttestationResponse; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface AuthenticatorResponse { readonly clientDataJSON: ArrayBuffer; } declare var AuthenticatorResponse: { prototype: AuthenticatorResponse; new(): AuthenticatorResponse; isInstance: IsInstance; }; interface BarProp { visible: boolean; } declare var BarProp: { prototype: BarProp; new(): BarProp; isInstance: IsInstance; }; interface BaseAudioContextEventMap { "statechange": Event; } interface BaseAudioContext extends EventTarget { /** Available only in secure contexts. */ readonly audioWorklet: AudioWorklet; readonly currentTime: number; readonly destination: AudioDestinationNode; readonly listener: AudioListener; onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null; readonly sampleRate: number; readonly state: AudioContextState; createAnalyser(): AnalyserNode; createBiquadFilter(): BiquadFilterNode; createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; createBufferSource(): AudioBufferSourceNode; createChannelMerger(numberOfInputs?: number): ChannelMergerNode; createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode; createConstantSource(): ConstantSourceNode; createConvolver(): ConvolverNode; createDelay(maxDelayTime?: number): DelayNode; createDynamicsCompressor(): DynamicsCompressorNode; createGain(): GainNode; createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode; createOscillator(): OscillatorNode; createPanner(): PannerNode; createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave; createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode; createStereoPanner(): StereoPannerNode; createWaveShaper(): WaveShaperNode; decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback, errorCallback?: DecodeErrorCallback): Promise; resume(): Promise; addEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var BaseAudioContext: { prototype: BaseAudioContext; new(): BaseAudioContext; isInstance: IsInstance; }; interface BatteryManagerEventMap { "chargingchange": Event; "chargingtimechange": Event; "dischargingtimechange": Event; "levelchange": Event; } interface BatteryManager extends EventTarget { readonly charging: boolean; readonly chargingTime: number; readonly dischargingTime: number; readonly level: number; onchargingchange: ((this: BatteryManager, ev: Event) => any) | null; onchargingtimechange: ((this: BatteryManager, ev: Event) => any) | null; ondischargingtimechange: ((this: BatteryManager, ev: Event) => any) | null; onlevelchange: ((this: BatteryManager, ev: Event) => any) | null; addEventListener(type: K, listener: (this: BatteryManager, ev: BatteryManagerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: BatteryManager, ev: BatteryManagerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var BatteryManager: { prototype: BatteryManager; new(): BatteryManager; isInstance: IsInstance; }; // @ts-ignore interface BeforeUnloadEvent extends Event { returnValue: string; } declare var BeforeUnloadEvent: { prototype: BeforeUnloadEvent; new(): BeforeUnloadEvent; isInstance: IsInstance; }; interface BiquadFilterNode extends AudioNode, AudioNodePassThrough { readonly Q: AudioParam; readonly detune: AudioParam; readonly frequency: AudioParam; readonly gain: AudioParam; type: BiquadFilterType; getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; } declare var BiquadFilterNode: { prototype: BiquadFilterNode; new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode; isInstance: IsInstance; }; interface Blob { readonly blobImplType: string; readonly size: number; readonly type: string; arrayBuffer(): Promise; bytes(): Promise; slice(start?: number, end?: number, contentType?: string): Blob; stream(): ReadableStream; text(): Promise; } declare var Blob: { prototype: Blob; new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; isInstance: IsInstance; }; interface BlobEvent extends Event { readonly data: Blob; } declare var BlobEvent: { prototype: BlobEvent; new(type: string, eventInitDict: BlobEventInit): BlobEvent; isInstance: IsInstance; }; interface Body { readonly bodyUsed: boolean; arrayBuffer(): Promise; blob(): Promise; bytes(): Promise; formData(): Promise; json(): Promise; text(): Promise; } interface BroadcastChannelEventMap { "message": Event; "messageerror": Event; } interface BroadcastChannel extends EventTarget { readonly name: string; onmessage: ((this: BroadcastChannel, ev: Event) => any) | null; onmessageerror: ((this: BroadcastChannel, ev: Event) => any) | null; close(): void; postMessage(message: any): void; addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var BroadcastChannel: { prototype: BroadcastChannel; new(channel: string): BroadcastChannel; isInstance: IsInstance; unpartitionedTestingChannel(channel: string): BroadcastChannel; }; interface BrowsingContext extends LoadContextMixin { allowJavascript: boolean; readonly ancestorsAreCurrent: boolean; animationsPlayBackRateMultiplier: number; authorStyleDisabledDefault: boolean; browserId: number; readonly childOffset: number; readonly childSessionHistory: ChildSHistory | null; readonly children: BrowsingContext[]; readonly createdDynamically: boolean; readonly currentWindowContext: WindowContext | null; customPlatform: string; customUserAgent: string; defaultLoadFlags: number; displayMode: DisplayMode; readonly docShell: nsIDocShell | null; readonly embedderElement: Element | null; readonly embedderElementType: string; forceDesktopViewport: boolean; forceOffline: boolean; forcedColorsOverride: ForcedColorsOverride; fullZoom: number; readonly group: BrowsingContextGroup; hasSiblings: boolean; readonly historyID: any; readonly id: number; inRDMPane: boolean; readonly isActive: boolean; isAppTab: boolean; readonly isDiscarded: boolean; readonly isDocumentPiP: boolean; readonly isInBFCache: boolean; languageOverride: string; mediumOverride: string; readonly name: string; readonly opener: BrowsingContext | null; overrideDPPX: number; readonly parent: BrowsingContext | null; readonly parentWindowContext: WindowContext | null; prefersColorSchemeOverride: PrefersColorSchemeOverride; sandboxFlags: number; serviceWorkersTestingEnabled: boolean; suspendMediaWhenInactive: boolean; readonly targetTopLevelLinkClicksToBlank: boolean; textZoom: number; timezoneOverride: string; readonly top: BrowsingContext; readonly topWindowContext: WindowContext | null; readonly touchEventsOverride: TouchEventsOverride; useGlobalHistory: boolean; watchedByDevTools: boolean; readonly window: WindowProxy | null; getAllBrowsingContextsInSubtree(): BrowsingContext[]; resetNavigationRateLimit(): void; resetOrientationOverride(): void; resetScreenAreaOverride(): void; setGeolocationServiceOverride(position?: nsIDOMGeoPosition): void; setOrientationOverride(type: OrientationType, rotationAngle: number): void; setRDMPaneMaxTouchPoints(maxTouchPoints: number): void; setScreenAreaOverride(screenWidth: number, screenHeight: number): void; } declare var BrowsingContext: { prototype: BrowsingContext; new(): BrowsingContext; isInstance: IsInstance; get(aId: number): BrowsingContext | null; getCurrentTopByBrowserId(aId: number): BrowsingContext | null; getFromWindow(window: WindowProxy): BrowsingContext | null; }; interface BrowsingContextGroup { readonly id: number; getToplevels(): BrowsingContext[]; } declare var BrowsingContextGroup: { prototype: BrowsingContextGroup; new(): BrowsingContextGroup; isInstance: IsInstance; }; interface BufferSource { } interface ByteLengthQueuingStrategy { readonly highWaterMark: number; readonly size: Function; } declare var ByteLengthQueuingStrategy: { prototype: ByteLengthQueuingStrategy; new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; isInstance: IsInstance; }; interface CDATASection extends Text { } declare var CDATASection: { prototype: CDATASection; new(): CDATASection; isInstance: IsInstance; }; interface CSPViolationReportBody extends ReportBody { readonly blockedURL: string | null; readonly columnNumber: number | null; readonly disposition: SecurityPolicyViolationEventDisposition; readonly documentURL: string; readonly effectiveDirective: string; readonly lineNumber: number | null; readonly originalPolicy: string; readonly referrer: string | null; readonly sample: string | null; readonly sourceFile: string | null; readonly statusCode: number; toJSON(): any; } declare var CSPViolationReportBody: { prototype: CSPViolationReportBody; new(): CSPViolationReportBody; isInstance: IsInstance; }; interface CSSAnimation extends Animation { readonly animationName: string; addEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CSSAnimation: { prototype: CSSAnimation; new(): CSSAnimation; isInstance: IsInstance; }; interface CSSAppearanceBaseRule extends CSSGroupingRule { } declare var CSSAppearanceBaseRule: { prototype: CSSAppearanceBaseRule; new(): CSSAppearanceBaseRule; isInstance: IsInstance; }; interface CSSColor extends CSSColorValue { alpha: CSSNumberish; channels: CSSNumericValue[]; colorSpace: CSSKeywordish; } declare var CSSColor: { prototype: CSSColor; new(colorSpace: CSSKeywordish, channels: CSSColorPercent[], alpha?: CSSNumberish): CSSColor; isInstance: IsInstance; }; interface CSSColorValue extends CSSStyleValue { } declare var CSSColorValue: { prototype: CSSColorValue; new(): CSSColorValue; isInstance: IsInstance; parse(cssText: string): CSSColorValue | CSSStyleValue; }; interface CSSConditionRule extends CSSGroupingRule { readonly conditionText: string; } declare var CSSConditionRule: { prototype: CSSConditionRule; new(): CSSConditionRule; isInstance: IsInstance; }; interface CSSContainerRule extends CSSConditionRule { readonly containerName: string; readonly containerQuery: string; queryContainerFor(element: Element): Element | null; } declare var CSSContainerRule: { prototype: CSSContainerRule; new(): CSSContainerRule; isInstance: IsInstance; }; interface CSSCounterStyleRule extends CSSRule { additiveSymbols: string; fallback: string; name: string; negative: string; pad: string; prefix: string; range: string; speakAs: string; suffix: string; symbols: string; system: string; } declare var CSSCounterStyleRule: { prototype: CSSCounterStyleRule; new(): CSSCounterStyleRule; isInstance: IsInstance; }; interface CSSCustomMediaRule extends CSSRule { readonly name: string; readonly query: CustomMediaQuery; } declare var CSSCustomMediaRule: { prototype: CSSCustomMediaRule; new(): CSSCustomMediaRule; isInstance: IsInstance; }; interface CSSCustomPropertyRegisteredEvent extends Event { readonly propertyDefinition: InspectorCSSPropertyDefinition; } declare var CSSCustomPropertyRegisteredEvent: { prototype: CSSCustomPropertyRegisteredEvent; new(type: string, eventInitDict?: CSSCustomPropertyRegisteredEventInit): CSSCustomPropertyRegisteredEvent; isInstance: IsInstance; }; interface CSSFontFaceDescriptors extends CSSStyleDeclaration { ascentOverride: string; descentOverride: string; fontDisplay: string; fontFamily: string; fontFeatureSettings: string; fontLanguageOverride: string; fontStretch: string; fontStyle: string; fontVariationSettings: string; fontWeight: string; lineGapOverride: string; sizeAdjust: string; src: string; unicodeRange: string; } declare var CSSFontFaceDescriptors: { prototype: CSSFontFaceDescriptors; new(): CSSFontFaceDescriptors; isInstance: IsInstance; }; interface CSSFontFaceRule extends CSSRule { readonly style: CSSFontFaceDescriptors; } declare var CSSFontFaceRule: { prototype: CSSFontFaceRule; new(): CSSFontFaceRule; isInstance: IsInstance; }; interface CSSFontFeatureValuesRule extends CSSRule { fontFamily: string; valueText: string; } declare var CSSFontFeatureValuesRule: { prototype: CSSFontFeatureValuesRule; new(): CSSFontFeatureValuesRule; isInstance: IsInstance; }; interface CSSFontPaletteValuesRule extends CSSRule { readonly basePalette: string; readonly fontFamily: string; readonly name: string; readonly overrideColors: string; } declare var CSSFontPaletteValuesRule: { prototype: CSSFontPaletteValuesRule; new(): CSSFontPaletteValuesRule; isInstance: IsInstance; }; interface CSSGroupingRule extends CSSRule { readonly cssRules: CSSRuleList; deleteRule(index: number): void; insertRule(rule: string, index?: number): number; } declare var CSSGroupingRule: { prototype: CSSGroupingRule; new(): CSSGroupingRule; isInstance: IsInstance; }; interface CSSHSL extends CSSColorValue { alpha: CSSColorPercent; h: CSSColorAngle; l: CSSColorPercent; s: CSSColorPercent; } declare var CSSHSL: { prototype: CSSHSL; new(h: CSSColorAngle, s: CSSColorPercent, l: CSSColorPercent, alpha?: CSSColorPercent): CSSHSL; isInstance: IsInstance; }; interface CSSHWB extends CSSColorValue { alpha: CSSNumberish; b: CSSNumberish; h: CSSNumericValue; w: CSSNumberish; } declare var CSSHWB: { prototype: CSSHWB; new(h: CSSNumericValue, w: CSSNumberish, b: CSSNumberish, alpha?: CSSNumberish): CSSHWB; isInstance: IsInstance; }; interface CSSImageValue extends CSSStyleValue { } declare var CSSImageValue: { prototype: CSSImageValue; new(): CSSImageValue; isInstance: IsInstance; }; interface CSSImportRule extends CSSRule { readonly href: string; readonly layerName: string | null; readonly media: MediaList | null; readonly styleSheet: CSSStyleSheet | null; readonly supportsText: string | null; } declare var CSSImportRule: { prototype: CSSImportRule; new(): CSSImportRule; isInstance: IsInstance; }; interface CSSKeyframeRule extends CSSRule { keyText: string; readonly style: CSSStyleProperties; } declare var CSSKeyframeRule: { prototype: CSSKeyframeRule; new(): CSSKeyframeRule; isInstance: IsInstance; }; interface CSSKeyframesRule extends CSSRule { readonly cssRules: CSSRuleList; readonly length: number; name: string; appendRule(rule: string): void; deleteRule(select: string): void; findRule(select: string): CSSKeyframeRule | null; [index: number]: CSSKeyframeRule; } declare var CSSKeyframesRule: { prototype: CSSKeyframesRule; new(): CSSKeyframesRule; isInstance: IsInstance; }; interface CSSKeywordValue extends CSSStyleValue { value: string; } declare var CSSKeywordValue: { prototype: CSSKeywordValue; new(value: string): CSSKeywordValue; isInstance: IsInstance; }; interface CSSLCH extends CSSColorValue { alpha: CSSColorPercent; c: CSSColorPercent; h: CSSColorAngle; l: CSSColorPercent; } declare var CSSLCH: { prototype: CSSLCH; new(l: CSSColorPercent, c: CSSColorPercent, h: CSSColorAngle, alpha?: CSSColorPercent): CSSLCH; isInstance: IsInstance; }; interface CSSLab extends CSSColorValue { a: CSSColorNumber; alpha: CSSColorPercent; b: CSSColorNumber; l: CSSColorPercent; } declare var CSSLab: { prototype: CSSLab; new(l: CSSColorPercent, a: CSSColorNumber, b: CSSColorNumber, alpha?: CSSColorPercent): CSSLab; isInstance: IsInstance; }; interface CSSLayerBlockRule extends CSSGroupingRule { readonly name: string; } declare var CSSLayerBlockRule: { prototype: CSSLayerBlockRule; new(): CSSLayerBlockRule; isInstance: IsInstance; }; interface CSSLayerStatementRule extends CSSRule { readonly nameList: string[]; } declare var CSSLayerStatementRule: { prototype: CSSLayerStatementRule; new(): CSSLayerStatementRule; isInstance: IsInstance; }; interface CSSMarginRule extends CSSRule { readonly name: string; readonly style: CSSStyleDeclaration; } declare var CSSMarginRule: { prototype: CSSMarginRule; new(): CSSMarginRule; isInstance: IsInstance; }; interface CSSMathClamp extends CSSMathValue { readonly lower: CSSNumericValue; readonly upper: CSSNumericValue; readonly value: CSSNumericValue; } declare var CSSMathClamp: { prototype: CSSMathClamp; new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp; isInstance: IsInstance; }; interface CSSMathInvert extends CSSMathValue { readonly value: CSSNumericValue; } declare var CSSMathInvert: { prototype: CSSMathInvert; new(arg: CSSNumberish): CSSMathInvert; isInstance: IsInstance; }; interface CSSMathMax extends CSSMathValue { readonly values: CSSNumericArray; } declare var CSSMathMax: { prototype: CSSMathMax; new(...args: CSSNumberish[]): CSSMathMax; isInstance: IsInstance; }; interface CSSMathMin extends CSSMathValue { readonly values: CSSNumericArray; } declare var CSSMathMin: { prototype: CSSMathMin; new(...args: CSSNumberish[]): CSSMathMin; isInstance: IsInstance; }; interface CSSMathNegate extends CSSMathValue { readonly value: CSSNumericValue; } declare var CSSMathNegate: { prototype: CSSMathNegate; new(arg: CSSNumberish): CSSMathNegate; isInstance: IsInstance; }; interface CSSMathProduct extends CSSMathValue { readonly values: CSSNumericArray; } declare var CSSMathProduct: { prototype: CSSMathProduct; new(...args: CSSNumberish[]): CSSMathProduct; isInstance: IsInstance; }; interface CSSMathSum extends CSSMathValue { readonly values: CSSNumericArray; } declare var CSSMathSum: { prototype: CSSMathSum; new(...args: CSSNumberish[]): CSSMathSum; isInstance: IsInstance; }; interface CSSMathValue extends CSSNumericValue { readonly operator: CSSMathOperator; } declare var CSSMathValue: { prototype: CSSMathValue; new(): CSSMathValue; isInstance: IsInstance; }; interface CSSMatrixComponent extends CSSTransformComponent { matrix: DOMMatrix; } declare var CSSMatrixComponent: { prototype: CSSMatrixComponent; new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent; isInstance: IsInstance; }; interface CSSMediaRule extends CSSConditionRule { readonly media: MediaList; } declare var CSSMediaRule: { prototype: CSSMediaRule; new(): CSSMediaRule; isInstance: IsInstance; }; interface CSSMozDocumentRule extends CSSConditionRule { } declare var CSSMozDocumentRule: { prototype: CSSMozDocumentRule; new(): CSSMozDocumentRule; isInstance: IsInstance; }; interface CSSNamespaceRule extends CSSRule { readonly namespaceURI: string; readonly prefix: string; } declare var CSSNamespaceRule: { prototype: CSSNamespaceRule; new(): CSSNamespaceRule; isInstance: IsInstance; }; interface CSSNestedDeclarations extends CSSRule { readonly style: CSSStyleProperties; } declare var CSSNestedDeclarations: { prototype: CSSNestedDeclarations; new(): CSSNestedDeclarations; isInstance: IsInstance; }; interface CSSNumericArray { readonly length: number; forEach(callbackfn: (value: CSSNumericValue, key: number, parent: CSSNumericArray) => void, thisArg?: any): void; [index: number]: CSSNumericValue; } declare var CSSNumericArray: { prototype: CSSNumericArray; new(): CSSNumericArray; isInstance: IsInstance; }; interface CSSNumericValue extends CSSStyleValue { add(...values: CSSNumberish[]): CSSNumericValue; div(...values: CSSNumberish[]): CSSNumericValue; equals(...value: CSSNumberish[]): boolean; max(...values: CSSNumberish[]): CSSNumericValue; min(...values: CSSNumberish[]): CSSNumericValue; mul(...values: CSSNumberish[]): CSSNumericValue; sub(...values: CSSNumberish[]): CSSNumericValue; to(unit: string): CSSUnitValue; toSum(...units: string[]): CSSMathSum; type(): CSSNumericType; } declare var CSSNumericValue: { prototype: CSSNumericValue; new(): CSSNumericValue; isInstance: IsInstance; parse(cssText: string): CSSNumericValue; }; interface CSSOKLCH extends CSSColorValue { alpha: CSSColorPercent; c: CSSColorPercent; h: CSSColorAngle; l: CSSColorPercent; } declare var CSSOKLCH: { prototype: CSSOKLCH; new(l: CSSColorPercent, c: CSSColorPercent, h: CSSColorAngle, alpha?: CSSColorPercent): CSSOKLCH; isInstance: IsInstance; }; interface CSSOKLab extends CSSColorValue { a: CSSColorNumber; alpha: CSSColorPercent; b: CSSColorNumber; l: CSSColorPercent; } declare var CSSOKLab: { prototype: CSSOKLab; new(l: CSSColorPercent, a: CSSColorNumber, b: CSSColorNumber, alpha?: CSSColorPercent): CSSOKLab; isInstance: IsInstance; }; interface CSSPageDescriptors extends CSSStyleDeclaration { margin: string; marginBlock: string; marginBottom: string; marginInline: string; marginLeft: string; marginRight: string; marginTop: string; paddingBlock: string; paddingInline: string; pageOrientation: string; size: string; } interface CSSPageRule extends CSSGroupingRule { selectorText: string; readonly style: CSSPageDescriptors; } declare var CSSPageRule: { prototype: CSSPageRule; new(): CSSPageRule; isInstance: IsInstance; }; interface CSSPerspective extends CSSTransformComponent { length: CSSPerspectiveValue; } declare var CSSPerspective: { prototype: CSSPerspective; new(length: CSSPerspectiveValue): CSSPerspective; isInstance: IsInstance; }; interface CSSPositionTryDescriptors extends CSSStyleDeclaration { MozMarginEnd: string; MozMarginStart: string; alignSelf: string; blockSize: string; bottom: string; height: string; inlineSize: string; inset: string; insetBlock: string; insetBlockEnd: string; insetBlockStart: string; insetInline: string; insetInlineEnd: string; insetInlineStart: string; justifySelf: string; left: string; margin: string; marginBlock: string; marginBlockEnd: string; marginBlockStart: string; marginBottom: string; marginInline: string; marginInlineEnd: string; marginInlineStart: string; marginLeft: string; marginRight: string; marginTop: string; maxBlockSize: string; maxHeight: string; maxInlineSize: string; maxWidth: string; minBlockSize: string; minHeight: string; minInlineSize: string; minWidth: string; paddingBlock: string; paddingInline: string; placeSelf: string; positionAnchor: string; positionArea: string; right: string; top: string; webkitAlignSelf: string; width: string; } interface CSSPositionTryRule extends CSSRule { readonly name: string; readonly style: CSSPositionTryDescriptors; } declare var CSSPositionTryRule: { prototype: CSSPositionTryRule; new(): CSSPositionTryRule; isInstance: IsInstance; }; interface CSSPropertyRule extends CSSRule { readonly inherits: boolean; readonly initialValue: string | null; readonly name: string; readonly syntax: string; } declare var CSSPropertyRule: { prototype: CSSPropertyRule; new(): CSSPropertyRule; isInstance: IsInstance; }; interface CSSPseudoElement { readonly element: Element; readonly type: string; } declare var CSSPseudoElement: { prototype: CSSPseudoElement; new(): CSSPseudoElement; isInstance: IsInstance; }; interface CSSRGB extends CSSColorValue { alpha: CSSColorPercent; b: CSSColorRGBComp; g: CSSColorRGBComp; r: CSSColorRGBComp; } declare var CSSRGB: { prototype: CSSRGB; new(r: CSSColorRGBComp, g: CSSColorRGBComp, b: CSSColorRGBComp, alpha?: CSSColorPercent): CSSRGB; isInstance: IsInstance; }; interface CSSRotate extends CSSTransformComponent { angle: CSSNumericValue; x: CSSNumberish; y: CSSNumberish; z: CSSNumberish; } declare var CSSRotate: { prototype: CSSRotate; new(angle: CSSNumericValue): CSSRotate; new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate; isInstance: IsInstance; }; interface CSSRule { cssText: string; readonly parentRule: CSSRule | null; readonly parentStyleSheet: CSSStyleSheet | null; readonly type: number; readonly STYLE_RULE: 1; readonly CHARSET_RULE: 2; readonly IMPORT_RULE: 3; readonly MEDIA_RULE: 4; readonly FONT_FACE_RULE: 5; readonly PAGE_RULE: 6; readonly NAMESPACE_RULE: 10; readonly KEYFRAMES_RULE: 7; readonly KEYFRAME_RULE: 8; readonly COUNTER_STYLE_RULE: 11; readonly SUPPORTS_RULE: 12; readonly DOCUMENT_RULE: 13; readonly FONT_FEATURE_VALUES_RULE: 14; } declare var CSSRule: { prototype: CSSRule; new(): CSSRule; readonly STYLE_RULE: 1; readonly CHARSET_RULE: 2; readonly IMPORT_RULE: 3; readonly MEDIA_RULE: 4; readonly FONT_FACE_RULE: 5; readonly PAGE_RULE: 6; readonly NAMESPACE_RULE: 10; readonly KEYFRAMES_RULE: 7; readonly KEYFRAME_RULE: 8; readonly COUNTER_STYLE_RULE: 11; readonly SUPPORTS_RULE: 12; readonly DOCUMENT_RULE: 13; readonly FONT_FEATURE_VALUES_RULE: 14; isInstance: IsInstance; }; interface CSSRuleList { readonly length: number; item(index: number): CSSRule | null; [index: number]: CSSRule; } declare var CSSRuleList: { prototype: CSSRuleList; new(): CSSRuleList; isInstance: IsInstance; }; interface CSSScale extends CSSTransformComponent { x: CSSNumberish; y: CSSNumberish; z: CSSNumberish; } declare var CSSScale: { prototype: CSSScale; new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale; isInstance: IsInstance; }; interface CSSScopeRule extends CSSGroupingRule { readonly end: string | null; readonly start: string | null; } declare var CSSScopeRule: { prototype: CSSScopeRule; new(): CSSScopeRule; isInstance: IsInstance; }; interface CSSSkew extends CSSTransformComponent { ax: CSSNumericValue; ay: CSSNumericValue; } declare var CSSSkew: { prototype: CSSSkew; new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew; isInstance: IsInstance; }; interface CSSSkewX extends CSSTransformComponent { ax: CSSNumericValue; } declare var CSSSkewX: { prototype: CSSSkewX; new(ax: CSSNumericValue): CSSSkewX; isInstance: IsInstance; }; interface CSSSkewY extends CSSTransformComponent { ay: CSSNumericValue; } declare var CSSSkewY: { prototype: CSSSkewY; new(ay: CSSNumericValue): CSSSkewY; isInstance: IsInstance; }; interface CSSStartingStyleRule extends CSSGroupingRule { } declare var CSSStartingStyleRule: { prototype: CSSStartingStyleRule; new(): CSSStartingStyleRule; isInstance: IsInstance; }; interface CSSStyleDeclaration { cssText: string; readonly length: number; readonly parentRule: CSSRule | null; readonly usedFontSize: number; getCSSImageURLs(property: string): string[]; getPropertyPriority(property: string): string; getPropertyValue(property: string): string; hasLonghandProperty(property: string): boolean; item(index: number): string; removeProperty(property: string): string; setProperty(property: string, value: string | null, priority?: string): void; [index: number]: string; } declare var CSSStyleDeclaration: { prototype: CSSStyleDeclaration; new(): CSSStyleDeclaration; isInstance: IsInstance; }; interface CSSStyleProperties extends CSSStyleDeclaration { MozAnimation: string; MozAnimationDelay: string; MozAnimationDirection: string; MozAnimationDuration: string; MozAnimationFillMode: string; MozAnimationIterationCount: string; MozAnimationName: string; MozAnimationPlayState: string; MozAnimationTimingFunction: string; MozAppearance: string; MozBackfaceVisibility: string; MozBorderEnd: string; MozBorderEndColor: string; MozBorderEndStyle: string; MozBorderEndWidth: string; MozBorderImage: string; MozBorderStart: string; MozBorderStartColor: string; MozBorderStartStyle: string; MozBorderStartWidth: string; MozBoxAlign: string; MozBoxCollapse: string; MozBoxDirection: string; MozBoxFlex: string; MozBoxOrdinalGroup: string; MozBoxOrient: string; MozBoxPack: string; MozBoxSizing: string; MozContextProperties: string; MozControlCharacterVisibility: string; MozDefaultAppearance: string; MozFloatEdge: string; MozFontFeatureSettings: string; MozFontLanguageOverride: string; MozForceBrokenImageIcon: string; MozHyphens: string; MozMarginEnd: string; MozMarginStart: string; MozOrient: string; MozOsxFontSmoothing: string; MozPaddingEnd: string; MozPaddingStart: string; MozPerspective: string; MozPerspectiveOrigin: string; MozSubtreeHiddenOnlyVisually: string; MozTabSize: string; MozTextSizeAdjust: string; MozTheme: string; MozTransform: string; MozTransformOrigin: string; MozTransformStyle: string; MozTransition: string; MozTransitionDelay: string; MozTransitionDuration: string; MozTransitionProperty: string; MozTransitionTimingFunction: string; MozUserFocus: string; MozUserSelect: string; MozWindowDragging: string; MozWindowInputRegionMargin: string; MozWindowOpacity: string; MozWindowShadow: string; MozWindowTransform: string; accentColor: string; alignContent: string; alignItems: string; alignSelf: string; alignmentBaseline: string; all: string; anchorName: string; anchorScope: string; animation: string; animationComposition: string; animationDelay: string; animationDirection: string; animationDuration: string; animationFillMode: string; animationIterationCount: string; animationName: string; animationPlayState: string; animationRange: string; animationRangeEnd: string; animationRangeStart: string; animationTimeline: string; animationTimingFunction: string; appearance: string; aspectRatio: string; backdropFilter: string; backfaceVisibility: string; background: string; backgroundAttachment: string; backgroundBlendMode: string; backgroundClip: string; backgroundColor: string; backgroundImage: string; backgroundOrigin: string; backgroundPosition: string; backgroundPositionX: string; backgroundPositionY: string; backgroundRepeat: string; backgroundSize: string; baselineShift: string; baselineSource: string; blockSize: string; border: string; borderBlock: string; borderBlockColor: string; borderBlockEnd: string; borderBlockEndColor: string; borderBlockEndStyle: string; borderBlockEndWidth: string; borderBlockStart: string; borderBlockStartColor: string; borderBlockStartStyle: string; borderBlockStartWidth: string; borderBlockStyle: string; borderBlockWidth: string; borderBottom: string; borderBottomColor: string; borderBottomLeftRadius: string; borderBottomRightRadius: string; borderBottomStyle: string; borderBottomWidth: string; borderCollapse: string; borderColor: string; borderEndEndRadius: string; borderEndStartRadius: string; borderImage: string; borderImageOutset: string; borderImageRepeat: string; borderImageSlice: string; borderImageSource: string; borderImageWidth: string; borderInline: string; borderInlineColor: string; borderInlineEnd: string; borderInlineEndColor: string; borderInlineEndStyle: string; borderInlineEndWidth: string; borderInlineStart: string; borderInlineStartColor: string; borderInlineStartStyle: string; borderInlineStartWidth: string; borderInlineStyle: string; borderInlineWidth: string; borderLeft: string; borderLeftColor: string; borderLeftStyle: string; borderLeftWidth: string; borderRadius: string; borderRight: string; borderRightColor: string; borderRightStyle: string; borderRightWidth: string; borderSpacing: string; borderStartEndRadius: string; borderStartStartRadius: string; borderStyle: string; borderTop: string; borderTopColor: string; borderTopLeftRadius: string; borderTopRightRadius: string; borderTopStyle: string; borderTopWidth: string; borderWidth: string; bottom: string; boxDecorationBreak: string; boxShadow: string; boxSizing: string; breakAfter: string; breakBefore: string; breakInside: string; captionSide: string; caretColor: string; clear: string; clip: string; clipPath: string; clipRule: string; color: string; colorAdjust: string; colorInterpolation: string; colorInterpolationFilters: string; colorScheme: string; columnCount: string; columnFill: string; columnGap: string; columnRule: string; columnRuleColor: string; columnRuleStyle: string; columnRuleWidth: string; columnSpan: string; columnWidth: string; columns: string; contain: string; containIntrinsicBlockSize: string; containIntrinsicHeight: string; containIntrinsicInlineSize: string; containIntrinsicSize: string; containIntrinsicWidth: string; container: string; containerName: string; containerType: string; content: string; contentVisibility: string; counterIncrement: string; counterReset: string; counterSet: string; cssFloat: string; cursor: string; cx: string; cy: string; d: string; direction: string; display: string; dominantBaseline: string; emptyCells: string; fieldSizing: string; fill: string; fillOpacity: string; fillRule: string; filter: string; flex: string; flexBasis: string; flexDirection: string; flexFlow: string; flexGrow: string; flexShrink: string; flexWrap: string; floodColor: string; floodOpacity: string; font: string; fontFamily: string; fontFeatureSettings: string; fontKerning: string; fontLanguageOverride: string; fontOpticalSizing: string; fontPalette: string; fontSize: string; fontSizeAdjust: string; fontStretch: string; fontStyle: string; fontSynthesis: string; fontSynthesisPosition: string; fontSynthesisSmallCaps: string; fontSynthesisStyle: string; fontSynthesisWeight: string; fontVariant: string; fontVariantAlternates: string; fontVariantCaps: string; fontVariantEastAsian: string; fontVariantEmoji: string; fontVariantLigatures: string; fontVariantNumeric: string; fontVariantPosition: string; fontVariationSettings: string; fontWeight: string; forcedColorAdjust: string; gap: string; grid: string; gridArea: string; gridAutoColumns: string; gridAutoFlow: string; gridAutoRows: string; gridColumn: string; gridColumnEnd: string; gridColumnGap: string; gridColumnStart: string; gridGap: string; gridRow: string; gridRowEnd: string; gridRowGap: string; gridRowStart: string; gridTemplate: string; gridTemplateAreas: string; gridTemplateColumns: string; gridTemplateRows: string; height: string; hyphenateCharacter: string; hyphenateLimitChars: string; hyphens: string; imageOrientation: string; imageRendering: string; imeMode: string; initialLetter: string; inlineSize: string; inset: string; insetBlock: string; insetBlockEnd: string; insetBlockStart: string; insetInline: string; insetInlineEnd: string; insetInlineStart: string; isolation: string; justifyContent: string; justifyItems: string; justifySelf: string; left: string; letterSpacing: string; lightingColor: string; lineBreak: string; lineHeight: string; listStyle: string; listStyleImage: string; listStylePosition: string; listStyleType: string; margin: string; marginBlock: string; marginBlockEnd: string; marginBlockStart: string; marginBottom: string; marginInline: string; marginInlineEnd: string; marginInlineStart: string; marginLeft: string; marginRight: string; marginTop: string; marker: string; markerEnd: string; markerMid: string; markerStart: string; mask: string; maskClip: string; maskComposite: string; maskImage: string; maskMode: string; maskOrigin: string; maskPosition: string; maskPositionX: string; maskPositionY: string; maskRepeat: string; maskSize: string; maskType: string; masonryAutoFlow: string; mathDepth: string; mathShift: string; mathStyle: string; maxBlockSize: string; maxHeight: string; maxInlineSize: string; maxWidth: string; minBlockSize: string; minHeight: string; minInlineSize: string; minWidth: string; mixBlendMode: string; objectFit: string; objectPosition: string; offset: string; offsetAnchor: string; offsetDistance: string; offsetPath: string; offsetPosition: string; offsetRotate: string; opacity: string; order: string; outline: string; outlineColor: string; outlineOffset: string; outlineStyle: string; outlineWidth: string; overflow: string; overflowAnchor: string; overflowBlock: string; overflowClipMargin: string; overflowInline: string; overflowWrap: string; overflowX: string; overflowY: string; overscrollBehavior: string; overscrollBehaviorBlock: string; overscrollBehaviorInline: string; overscrollBehaviorX: string; overscrollBehaviorY: string; padding: string; paddingBlock: string; paddingBlockEnd: string; paddingBlockStart: string; paddingBottom: string; paddingInline: string; paddingInlineEnd: string; paddingInlineStart: string; paddingLeft: string; paddingRight: string; paddingTop: string; page: string; pageBreakAfter: string; pageBreakBefore: string; pageBreakInside: string; paintOrder: string; perspective: string; perspectiveOrigin: string; placeContent: string; placeItems: string; placeSelf: string; pointerEvents: string; position: string; positionAnchor: string; positionArea: string; positionTry: string; positionTryFallbacks: string; positionTryOrder: string; positionVisibility: string; printColorAdjust: string; quotes: string; r: string; resize: string; right: string; rotate: string; rowGap: string; rubyAlign: string; rubyPosition: string; rx: string; ry: string; scale: string; scrollBehavior: string; scrollMargin: string; scrollMarginBlock: string; scrollMarginBlockEnd: string; scrollMarginBlockStart: string; scrollMarginBottom: string; scrollMarginInline: string; scrollMarginInlineEnd: string; scrollMarginInlineStart: string; scrollMarginLeft: string; scrollMarginRight: string; scrollMarginTop: string; scrollPadding: string; scrollPaddingBlock: string; scrollPaddingBlockEnd: string; scrollPaddingBlockStart: string; scrollPaddingBottom: string; scrollPaddingInline: string; scrollPaddingInlineEnd: string; scrollPaddingInlineStart: string; scrollPaddingLeft: string; scrollPaddingRight: string; scrollPaddingTop: string; scrollSnapAlign: string; scrollSnapStop: string; scrollSnapType: string; scrollTimeline: string; scrollTimelineAxis: string; scrollTimelineName: string; scrollbarColor: string; scrollbarGutter: string; scrollbarWidth: string; shapeImageThreshold: string; shapeMargin: string; shapeOutside: string; shapeRendering: string; stopColor: string; stopOpacity: string; stroke: string; strokeDasharray: string; strokeDashoffset: string; strokeLinecap: string; strokeLinejoin: string; strokeMiterlimit: string; strokeOpacity: string; strokeWidth: string; tabSize: string; tableLayout: string; textAlign: string; textAlignLast: string; textAnchor: string; textAutospace: string; textBox: string; textBoxEdge: string; textBoxTrim: string; textCombineUpright: string; textDecoration: string; textDecorationColor: string; textDecorationInset: string; textDecorationLine: string; textDecorationSkipInk: string; textDecorationStyle: string; textDecorationThickness: string; textEmphasis: string; textEmphasisColor: string; textEmphasisPosition: string; textEmphasisStyle: string; textIndent: string; textJustify: string; textOrientation: string; textOverflow: string; textRendering: string; textShadow: string; textTransform: string; textUnderlineOffset: string; textUnderlinePosition: string; textWrap: string; textWrapMode: string; textWrapStyle: string; timelineScope: string; top: string; touchAction: string; transform: string; transformBox: string; transformOrigin: string; transformStyle: string; transition: string; transitionBehavior: string; transitionDelay: string; transitionDuration: string; transitionProperty: string; transitionTimingFunction: string; translate: string; unicodeBidi: string; userSelect: string; vectorEffect: string; verticalAlign: string; viewTimeline: string; viewTimelineAxis: string; viewTimelineInset: string; viewTimelineName: string; viewTransitionClass: string; viewTransitionName: string; visibility: string; webkitAlignContent: string; webkitAlignItems: string; webkitAlignSelf: string; webkitAnimation: string; webkitAnimationDelay: string; webkitAnimationDirection: string; webkitAnimationDuration: string; webkitAnimationFillMode: string; webkitAnimationIterationCount: string; webkitAnimationName: string; webkitAnimationPlayState: string; webkitAnimationTimingFunction: string; webkitAppearance: string; webkitBackfaceVisibility: string; webkitBackgroundClip: string; webkitBackgroundOrigin: string; webkitBackgroundSize: string; webkitBorderBottomLeftRadius: string; webkitBorderBottomRightRadius: string; webkitBorderImage: string; webkitBorderRadius: string; webkitBorderTopLeftRadius: string; webkitBorderTopRightRadius: string; webkitBoxAlign: string; webkitBoxDirection: string; webkitBoxFlex: string; webkitBoxOrdinalGroup: string; webkitBoxOrient: string; webkitBoxPack: string; webkitBoxShadow: string; webkitBoxSizing: string; webkitClipPath: string; webkitFilter: string; webkitFlex: string; webkitFlexBasis: string; webkitFlexDirection: string; webkitFlexFlow: string; webkitFlexGrow: string; webkitFlexShrink: string; webkitFlexWrap: string; webkitFontFeatureSettings: string; webkitJustifyContent: string; webkitLineClamp: string; webkitMask: string; webkitMaskClip: string; webkitMaskComposite: string; webkitMaskImage: string; webkitMaskOrigin: string; webkitMaskPosition: string; webkitMaskPositionX: string; webkitMaskPositionY: string; webkitMaskRepeat: string; webkitMaskSize: string; webkitOrder: string; webkitPerspective: string; webkitPerspectiveOrigin: string; webkitTextFillColor: string; webkitTextSecurity: string; webkitTextSizeAdjust: string; webkitTextStroke: string; webkitTextStrokeColor: string; webkitTextStrokeWidth: string; webkitTransform: string; webkitTransformOrigin: string; webkitTransformStyle: string; webkitTransition: string; webkitTransitionDelay: string; webkitTransitionDuration: string; webkitTransitionProperty: string; webkitTransitionTimingFunction: string; webkitUserSelect: string; whiteSpace: string; whiteSpaceCollapse: string; width: string; willChange: string; wordBreak: string; wordSpacing: string; wordWrap: string; writingMode: string; x: string; y: string; zIndex: string; zoom: string; } declare var CSSStyleProperties: { prototype: CSSStyleProperties; new(): CSSStyleProperties; isInstance: IsInstance; }; interface CSSStyleRule extends CSSGroupingRule { readonly selectorCount: number; selectorText: string; readonly style: CSSStyleProperties; readonly styleMap: StylePropertyMap; getScopeRootFor(selectorIndex: number, element: Element, pseudo?: string, includeVisitedStyle?: boolean): Element | null; getSelectorWarnings(): SelectorWarning[]; selectorMatchesElement(selectorIndex: number, element: Element, pseudo?: string, includeVisitedStyle?: boolean): boolean; selectorSpecificityAt(index: number, desugared?: boolean): number; selectorTextAt(index: number, desugared?: boolean): string; } declare var CSSStyleRule: { prototype: CSSStyleRule; new(): CSSStyleRule; isInstance: IsInstance; }; interface CSSStyleSheet extends StyleSheet { readonly cssRules: CSSRuleList; readonly ownerRule: CSSRule | null; readonly parsingMode: CSSStyleSheetParsingMode; readonly rules: CSSRuleList; addRule(selector?: string, style?: string, index?: number): number; deleteRule(index: number): void; insertRule(rule: string, index?: number): number; removeRule(index?: number): void; replace(text: string): Promise; replaceSync(text: string): void; } declare var CSSStyleSheet: { prototype: CSSStyleSheet; new(options?: CSSStyleSheetInit): CSSStyleSheet; isInstance: IsInstance; }; interface CSSStyleValue { toString(): string; } declare var CSSStyleValue: { prototype: CSSStyleValue; new(): CSSStyleValue; isInstance: IsInstance; parse(property: string, cssText: string): CSSStyleValue; parseAll(property: string, cssText: string): CSSStyleValue[]; }; interface CSSSupportsRule extends CSSConditionRule { } declare var CSSSupportsRule: { prototype: CSSSupportsRule; new(): CSSSupportsRule; isInstance: IsInstance; }; interface CSSTransformComponent { is2D: boolean; toMatrix(): DOMMatrix; toString(): string; } declare var CSSTransformComponent: { prototype: CSSTransformComponent; new(): CSSTransformComponent; isInstance: IsInstance; }; interface CSSTransformValue extends CSSStyleValue { readonly is2D: boolean; readonly length: number; toMatrix(): DOMMatrix; forEach(callbackfn: (value: CSSTransformComponent, key: number, parent: CSSTransformValue) => void, thisArg?: any): void; [index: number]: CSSTransformComponent; } declare var CSSTransformValue: { prototype: CSSTransformValue; new(transforms: CSSTransformComponent[]): CSSTransformValue; isInstance: IsInstance; }; interface CSSTransition extends Animation { readonly transitionProperty: string; addEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CSSTransition: { prototype: CSSTransition; new(): CSSTransition; isInstance: IsInstance; }; interface CSSTranslate extends CSSTransformComponent { x: CSSNumericValue; y: CSSNumericValue; z: CSSNumericValue; } declare var CSSTranslate: { prototype: CSSTranslate; new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate; isInstance: IsInstance; }; interface CSSUnitValue extends CSSNumericValue { readonly unit: string; value: number; } declare var CSSUnitValue: { prototype: CSSUnitValue; new(value: number, unit: string): CSSUnitValue; isInstance: IsInstance; }; interface CSSUnparsedValue extends CSSStyleValue { readonly length: number; forEach(callbackfn: (value: CSSUnparsedSegment, key: number, parent: CSSUnparsedValue) => void, thisArg?: any): void; [index: number]: CSSUnparsedSegment; } declare var CSSUnparsedValue: { prototype: CSSUnparsedValue; new(members: CSSUnparsedSegment[]): CSSUnparsedValue; isInstance: IsInstance; }; interface CSSVariableReferenceValue { readonly fallback: CSSUnparsedValue | null; variable: string; } declare var CSSVariableReferenceValue: { prototype: CSSVariableReferenceValue; new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue; isInstance: IsInstance; }; interface Cache { add(request: RequestInfo | URL): Promise; addAll(requests: RequestInfo[]): Promise; delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise; keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise; match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise; matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise; put(request: RequestInfo | URL, response: Response): Promise; } declare var Cache: { prototype: Cache; new(): Cache; isInstance: IsInstance; }; interface CacheStorage { delete(cacheName: string): Promise; has(cacheName: string): Promise; keys(): Promise; match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise; open(cacheName: string): Promise; } declare var CacheStorage: { prototype: CacheStorage; new(namespace: CacheStorageNamespace, principal: Principal): CacheStorage; isInstance: IsInstance; }; interface CallbackDebuggerNotification extends DebuggerNotification { readonly phase: CallbackDebuggerNotificationPhase; } declare var CallbackDebuggerNotification: { prototype: CallbackDebuggerNotification; new(): CallbackDebuggerNotification; isInstance: IsInstance; }; interface CanonicalBrowsingContext extends BrowsingContext { readonly activeSessionHistoryEntry: nsISHEntry | null; readonly canOpenModalPicker: boolean; crossGroupOpener: CanonicalBrowsingContext | null; readonly currentRemoteType: string | null; readonly currentURI: URI | null; readonly currentWindowGlobal: WindowGlobalParent | null; readonly embedderWindowGlobal: WindowGlobalParent | null; forceAppWindowActive: boolean; isActive: boolean; readonly isReplaced: boolean; readonly isUnderHiddenEmbedderElement: boolean; readonly mediaController: MediaController | null; readonly mostRecentLoadingSessionHistoryEntry: nsISHEntry | null; readonly scopedPrefs: nsIScopedPrefs | null; readonly secureBrowserUI: nsISecureBrowserUI | null; readonly sessionHistory: nsISHistory | null; targetTopLevelLinkClicksToBlank: boolean; readonly topChromeWindow: WindowProxy | null; touchEventsOverride: TouchEventsOverride; readonly webProgress: nsIWebProgress | null; clearRestoreState(): void; fixupAndLoadURIString(aURI: string, aOptions?: LoadURIOptions): void; getWindowGlobals(): WindowGlobalParent[]; goBack(aCancelContentJSEpoch?: number, aRequireUserInteraction?: boolean, aUserActivation?: boolean): void; goForward(aCancelContentJSEpoch?: number, aRequireUserInteraction?: boolean, aUserActivation?: boolean): void; goToIndex(aIndex: number, aCancelContentJSEpoch?: number, aUserActivation?: boolean): void; loadURI(aURI: URI, aOptions?: LoadURIOptions): void; notifyMediaMutedChanged(muted: boolean): void; notifyStartDelayedAutoplayMedia(): void; print(aPrintSettings: nsIPrintSettings): Promise; reload(aReloadFlags: number): void; resetScalingZoom(): void; startApzAutoscroll(aAnchorX: number, aAnchorY: number, aScrollId: number, aPresShellId: number): boolean; stop(aStopFlags: number): void; stopApzAutoscroll(aScrollId: number, aPresShellId: number): void; } declare var CanonicalBrowsingContext: { prototype: CanonicalBrowsingContext; new(): CanonicalBrowsingContext; isInstance: IsInstance; countSiteOrigins(roots: BrowsingContext[]): number; }; interface CanvasCaptureMediaStream extends MediaStream { readonly canvas: HTMLCanvasElement; requestFrame(): void; addEventListener(type: K, listener: (this: CanvasCaptureMediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CanvasCaptureMediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CanvasCaptureMediaStream: { prototype: CanvasCaptureMediaStream; new(): CanvasCaptureMediaStream; isInstance: IsInstance; }; interface CanvasCompositing { globalAlpha: number; globalCompositeOperation: string; } interface CanvasDrawImage { contextProperties: CanvasContextProperties; drawImage(image: CanvasImageSource, dx: number, dy: number): void; drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void; drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void; } interface CanvasDrawPath { beginPath(): void; clip(winding?: CanvasWindingRule): void; clip(path: Path2D, winding?: CanvasWindingRule): void; fill(winding?: CanvasWindingRule): void; fill(path: Path2D, winding?: CanvasWindingRule): void; isPointInPath(x: number, y: number, winding?: CanvasWindingRule): boolean; isPointInPath(path: Path2D, x: number, y: number, winding?: CanvasWindingRule): boolean; isPointInStroke(x: number, y: number): boolean; isPointInStroke(path: Path2D, x: number, y: number): boolean; stroke(): void; stroke(path: Path2D): void; } interface CanvasFillStrokeStyles { fillStyle: string | CanvasGradient | CanvasPattern; strokeStyle: string | CanvasGradient | CanvasPattern; createConicGradient(angle: number, cx: number, cy: number): CanvasGradient; createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null; createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; } interface CanvasFilters { filter: string; } interface CanvasGradient { addColorStop(offset: number, color: string): void; } declare var CanvasGradient: { prototype: CanvasGradient; new(): CanvasGradient; isInstance: IsInstance; }; interface CanvasImageData { createImageData(sw: number, sh: number): ImageData; createImageData(imagedata: ImageData): ImageData; getImageData(sx: number, sy: number, sw: number, sh: number): ImageData; putImageData(imagedata: ImageData, dx: number, dy: number): void; putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void; } interface CanvasImageSmoothing { imageSmoothingEnabled: boolean; } interface CanvasPathDrawingStyles { lineCap: CanvasLineCap; lineDashOffset: number; lineJoin: CanvasLineJoin; lineWidth: number; miterLimit: number; getLineDash(): number[]; setLineDash(segments: number[]): void; } 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; roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void; } interface CanvasPattern { setTransform(matrix?: DOMMatrix2DInit): void; } declare var CanvasPattern: { prototype: CanvasPattern; new(): CanvasPattern; isInstance: IsInstance; }; interface CanvasRect { clearRect(x: number, y: number, w: number, h: number): void; fillRect(x: number, y: number, w: number, h: number): void; strokeRect(x: number, y: number, w: number, h: number): void; } interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPathDrawingStyles, CanvasPathMethods, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface { readonly canvas: HTMLCanvasElement | null; demote(): void; drawWindow(window: Window, x: number, y: number, w: number, h: number, bgColor: string, flags?: number): void; getContextAttributes(): CanvasRenderingContext2DSettings; getDebugInfo(ensureTarget?: boolean): CanvasRenderingContext2DDebugInfo; readonly DRAWWINDOW_DRAW_CARET: 0x01; readonly DRAWWINDOW_DO_NOT_FLUSH: 0x02; readonly DRAWWINDOW_DRAW_VIEW: 0x04; readonly DRAWWINDOW_USE_WIDGET_LAYERS: 0x08; readonly DRAWWINDOW_ASYNC_DECODE_IMAGES: 0x10; } declare var CanvasRenderingContext2D: { prototype: CanvasRenderingContext2D; new(): CanvasRenderingContext2D; readonly DRAWWINDOW_DRAW_CARET: 0x01; readonly DRAWWINDOW_DO_NOT_FLUSH: 0x02; readonly DRAWWINDOW_DRAW_VIEW: 0x04; readonly DRAWWINDOW_USE_WIDGET_LAYERS: 0x08; readonly DRAWWINDOW_ASYNC_DECODE_IMAGES: 0x10; isInstance: IsInstance; }; interface CanvasShadowStyles { shadowBlur: number; shadowColor: string; shadowOffsetX: number; shadowOffsetY: number; } interface CanvasState { isContextLost(): boolean; reset(): void; restore(): void; save(): void; } interface CanvasText { fillText(text: string, x: number, y: number, maxWidth?: number): void; measureText(text: string): TextMetrics; strokeText(text: string, x: number, y: number, maxWidth?: number): void; } interface CanvasTextDrawingStyles { direction: CanvasDirection; font: string; fontKerning: CanvasFontKerning; fontStretch: CanvasFontStretch; fontVariantCaps: CanvasFontVariantCaps; letterSpacing: string; textAlign: CanvasTextAlign; textBaseline: CanvasTextBaseline; textRendering: CanvasTextRendering; wordSpacing: string; } interface CanvasTransform { getTransform(): DOMMatrix; resetTransform(): void; rotate(angle: number): void; scale(x: number, y: number): void; setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void; setTransform(transform?: DOMMatrix2DInit): void; transform(a: number, b: number, c: number, d: number, e: number, f: number): void; translate(x: number, y: number): void; } interface CanvasUserInterface { drawFocusIfNeeded(element: Element): void; } interface CaretPosition { readonly offset: number; readonly offsetNode: Node | null; getClientRect(): DOMRect | null; } declare var CaretPosition: { prototype: CaretPosition; new(): CaretPosition; isInstance: IsInstance; }; interface CaretStateChangedEvent extends Event { readonly boundingClientRect: DOMRectReadOnly | null; readonly caretVisible: boolean; readonly caretVisuallyVisible: boolean; readonly clientX: number; readonly clientY: number; readonly collapsed: boolean; readonly reason: CaretChangedReason; readonly selectedTextContent: string; readonly selectionEditable: boolean; readonly selectionVisible: boolean; } declare var CaretStateChangedEvent: { prototype: CaretStateChangedEvent; new(type: string, eventInit?: CaretStateChangedEventInit): CaretStateChangedEvent; isInstance: IsInstance; }; interface ChannelMergerNode extends AudioNode { } declare var ChannelMergerNode: { prototype: ChannelMergerNode; new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode; isInstance: IsInstance; }; interface ChannelSplitterNode extends AudioNode { } declare var ChannelSplitterNode: { prototype: ChannelSplitterNode; new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode; isInstance: IsInstance; }; interface ChannelWrapperEventMap { "error": Event; "start": Event; "stop": Event; } interface ChannelWrapper extends EventTarget { readonly browserElement: nsISupports | null; readonly canModify: boolean; channel: MozChannel | null; contentType: string; readonly documentURI: URI | null; readonly documentURL: string | null; readonly errorString: string | null; readonly finalURI: URI | null; readonly finalURL: string; readonly frameAncestors: MozFrameAncestorInfo[] | null; readonly frameId: number; readonly id: number; readonly isServiceWorkerScript: boolean; readonly loadInfo: LoadInfo | null; readonly method: string; onerror: ((this: ChannelWrapper, ev: Event) => any) | null; onstart: ((this: ChannelWrapper, ev: Event) => any) | null; onstop: ((this: ChannelWrapper, ev: Event) => any) | null; readonly originURI: URI | null; readonly originURL: string | null; readonly parentFrameId: number; readonly proxyInfo: MozProxyInfo | null; readonly remoteAddress: string | null; readonly requestSize: number; readonly responseSize: number; readonly statusCode: number; readonly statusLine: string; readonly suspended: boolean; readonly thirdParty: boolean; readonly type: MozContentPolicyType; readonly urlClassification: MozUrlClassification | null; cancel(result: number, reason?: number): void; errorCheck(): void; getRequestHeader(header: string): string | null; getRequestHeaders(): MozHTTPHeader[]; getResponseHeaders(): MozHTTPHeader[]; matches(filter?: MozRequestFilter, extension?: WebExtensionPolicy | null, options?: MozRequestMatchOptions): boolean; redirectTo(url: URI): void; registerTraceableChannel(extension: WebExtensionPolicy, remoteTab: RemoteTab | null): void; resume(): void; setRequestHeader(header: string, value: string, merge?: boolean): void; setResponseHeader(header: string, value: string, merge?: boolean): void; suspend(profileMarkerText: string): void; upgradeToSecure(): void; addEventListener(type: K, listener: (this: ChannelWrapper, ev: ChannelWrapperEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ChannelWrapper, ev: ChannelWrapperEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ChannelWrapper: { prototype: ChannelWrapper; new(): ChannelWrapper; isInstance: IsInstance; get(channel: MozChannel): ChannelWrapper; getRegisteredChannel(aChannelId: number, extension: WebExtensionPolicy, remoteTab: RemoteTab | null): ChannelWrapper | null; }; interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { data: string; readonly length: number; appendData(data: string): void; deleteData(offset: number, count: number): void; insertData(offset: number, data: string): void; replaceData(offset: number, count: number, data: string): void; substringData(offset: number, count: number): string; } declare var CharacterData: { prototype: CharacterData; new(): CharacterData; isInstance: IsInstance; }; interface CheckerboardReportService { flushActiveReports(): void; getReports(): CheckerboardReport[]; isRecordingEnabled(): boolean; setRecordingEnabled(aEnabled: boolean): void; } declare var CheckerboardReportService: { prototype: CheckerboardReportService; new(): CheckerboardReportService; isInstance: IsInstance; }; interface ChildNode { after(...nodes: (Node | string)[]): void; before(...nodes: (Node | string)[]): void; remove(): void; replaceWith(...nodes: (Node | string)[]): void; } interface ChildProcessMessageManager extends SyncMessageSender { } declare var ChildProcessMessageManager: { prototype: ChildProcessMessageManager; new(): ChildProcessMessageManager; isInstance: IsInstance; }; interface ChildSHistory { readonly count: number; readonly index: number; canGo(aOffset: number, aRequireUserInteraction?: boolean): boolean; go(aOffset: number, aRequireUserInteraction?: boolean, aUserActivation?: boolean): void; reload(aReloadFlags: number): void; } declare var ChildSHistory: { prototype: ChildSHistory; new(): ChildSHistory; isInstance: IsInstance; }; interface ChromeMessageBroadcaster extends MessageBroadcaster, FrameScriptLoader { } declare var ChromeMessageBroadcaster: { prototype: ChromeMessageBroadcaster; new(): ChromeMessageBroadcaster; isInstance: IsInstance; }; interface ChromeMessageSender extends MessageSender, FrameScriptLoader { } declare var ChromeMessageSender: { prototype: ChromeMessageSender; new(): ChromeMessageSender; isInstance: IsInstance; }; interface ChromeNodeList extends NodeList { append(aNode: Node): void; remove(aNode: Node): void; } declare var ChromeNodeList: { prototype: ChromeNodeList; new(): ChromeNodeList; isInstance: IsInstance; }; interface ChromeWorker extends Worker { addEventListener(type: K, listener: (this: ChromeWorker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ChromeWorker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ChromeWorker: { prototype: ChromeWorker; new(scriptURL: string | URL, options?: WorkerOptions): ChromeWorker; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface Clipboard extends EventTarget { read(): Promise; readText(): Promise; write(data: ClipboardItems): Promise; writeText(data: string): Promise; } declare var Clipboard: { prototype: Clipboard; new(): Clipboard; isInstance: IsInstance; }; interface ClipboardEvent extends Event { readonly clipboardData: DataTransfer | null; } declare var ClipboardEvent: { prototype: ClipboardEvent; new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface ClipboardItem { readonly presentationStyle: PresentationStyle; readonly types: string[]; getType(type: string): Promise; } declare var ClipboardItem: { prototype: ClipboardItem; new(items: Record>, options?: ClipboardItemOptions): ClipboardItem; isInstance: IsInstance; supports(type: string): boolean; }; interface ClonedErrorHolder { } declare var ClonedErrorHolder: { prototype: ClonedErrorHolder; new(aError: any): ClonedErrorHolder; isInstance: IsInstance; }; interface CloseEvent extends Event { readonly code: number; readonly reason: string; readonly wasClean: boolean; } declare var CloseEvent: { prototype: CloseEvent; new(type: string, eventInitDict?: CloseEventInit): CloseEvent; isInstance: IsInstance; }; interface CloseWatcherEventMap { "cancel": Event; "close": Event; } interface CloseWatcher extends EventTarget { oncancel: ((this: CloseWatcher, ev: Event) => any) | null; onclose: ((this: CloseWatcher, ev: Event) => any) | null; close(): void; destroy(): void; requestClose(): void; addEventListener(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CloseWatcher: { prototype: CloseWatcher; new(options?: CloseWatcherOptions): CloseWatcher; isInstance: IsInstance; }; interface CommandEvent extends Event { readonly command: string; readonly source: Element | null; } declare var CommandEvent: { prototype: CommandEvent; new(type: string, eventInitDict?: CommandEventInit): CommandEvent; isInstance: IsInstance; }; interface Comment extends CharacterData { } declare var Comment: { prototype: Comment; new(data?: string): Comment; isInstance: IsInstance; }; interface CompositionEvent extends UIEvent { readonly data: string | null; readonly ranges: TextClause[]; initCompositionEvent(typeArg: string, canBubbleArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, dataArg?: string | null): void; } declare var CompositionEvent: { prototype: CompositionEvent; new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent; isInstance: IsInstance; }; interface CompressionStream extends GenericTransformStream { } declare var CompressionStream: { prototype: CompressionStream; new(format: CompressionFormat): CompressionStream; isInstance: IsInstance; }; interface ConsoleInstance { assert(condition?: boolean, ...data: any[]): void; clear(): void; count(label?: string): void; countReset(label?: string): void; debug(...data: any[]): void; dir(...data: any[]): void; dirxml(...data: any[]): void; error(...data: any[]): void; exception(...data: any[]): void; group(...data: any[]): void; groupCollapsed(...data: any[]): void; groupEnd(): void; info(...data: any[]): void; log(...data: any[]): void; profile(...data: any[]): void; profileEnd(...data: any[]): void; reportForServiceWorkerScope(scope: string, message: string, filename: string, lineNumber: number, columnNumber: number, level: ConsoleLevel): void; shouldLog(level: ConsoleLogLevel): boolean; table(...data: any[]): void; time(label?: string): void; timeEnd(label?: string): void; timeLog(label?: string, ...data: any[]): void; timeStamp(data?: any): void; trace(...data: any[]): void; warn(...data: any[]): void; } declare var ConsoleInstance: { prototype: ConsoleInstance; new(): ConsoleInstance; isInstance: IsInstance; }; interface ConstantSourceNode extends AudioScheduledSourceNode { readonly offset: AudioParam; addEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ConstantSourceNode: { prototype: ConstantSourceNode; new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; isInstance: IsInstance; }; interface ContentFrameMessageManager extends EventTarget, MessageListenerManagerMixin, MessageManagerGlobal, MessageSenderMixin, SyncMessageSenderMixin { readonly content: WindowProxy | null; readonly docShell: nsIDocShell | null; readonly tabEventTarget: nsIEventTarget | null; } declare var ContentFrameMessageManager: { prototype: ContentFrameMessageManager; new(): ContentFrameMessageManager; isInstance: IsInstance; }; interface ContentProcessMessageManager extends MessageListenerManagerMixin, MessageManagerGlobal, MessageSenderMixin, SyncMessageSenderMixin { readonly initialProcessData: any; readonly sharedData: MozSharedMap | null; } declare var ContentProcessMessageManager: { prototype: ContentProcessMessageManager; new(): ContentProcessMessageManager; isInstance: IsInstance; }; interface ContentVisibilityAutoStateChangeEvent extends Event { readonly skipped: boolean; } declare var ContentVisibilityAutoStateChangeEvent: { prototype: ContentVisibilityAutoStateChangeEvent; new(type: string, eventInitDict?: ContentVisibilityAutoStateChangeEventInit): ContentVisibilityAutoStateChangeEvent; isInstance: IsInstance; }; interface ConvolverNode extends AudioNode, AudioNodePassThrough { buffer: AudioBuffer | null; normalize: boolean; } declare var ConvolverNode: { prototype: ConvolverNode; new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface CookieChangeEvent extends Event { readonly changed: CookieListItem[]; readonly deleted: CookieListItem[]; } declare var CookieChangeEvent: { prototype: CookieChangeEvent; new(type: string, eventInitDict?: CookieChangeEventInit): CookieChangeEvent; isInstance: IsInstance; }; interface CookieStoreEventMap { "change": Event; } /** Available only in secure contexts. */ interface CookieStore extends EventTarget { onchange: ((this: CookieStore, ev: Event) => any) | null; delete(name: string): Promise; delete(options: CookieStoreDeleteOptions): Promise; get(name: string): Promise; get(options?: CookieStoreGetOptions): Promise; getAll(name: string): Promise; getAll(options?: CookieStoreGetOptions): Promise; set(name: string, value: string): Promise; set(options: CookieInit): Promise; addEventListener(type: K, listener: (this: CookieStore, ev: CookieStoreEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: CookieStore, ev: CookieStoreEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var CookieStore: { prototype: CookieStore; new(): CookieStore; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface CookieStoreManager { getSubscriptions(): Promise; subscribe(subscriptions: CookieStoreGetOptions[]): Promise; unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise; } declare var CookieStoreManager: { prototype: CookieStoreManager; new(): CookieStoreManager; isInstance: IsInstance; }; interface CountQueuingStrategy { readonly highWaterMark: number; readonly size: Function; } declare var CountQueuingStrategy: { prototype: CountQueuingStrategy; new(init: QueuingStrategyInit): CountQueuingStrategy; isInstance: IsInstance; }; interface CreateOfferRequest { readonly callID: string; readonly innerWindowID: number; readonly isSecure: boolean; readonly windowID: number; } declare var CreateOfferRequest: { prototype: CreateOfferRequest; new(): CreateOfferRequest; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface Credential { readonly id: string; readonly type: string; } declare var Credential: { prototype: Credential; new(): Credential; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface CredentialsContainer { create(options?: CredentialCreationOptions): Promise; get(options?: CredentialRequestOptions): Promise; preventSilentAccess(): Promise; store(credential: Credential): Promise; } declare var CredentialsContainer: { prototype: CredentialsContainer; new(): CredentialsContainer; isInstance: IsInstance; }; interface Crypto { /** Available only in secure contexts. */ readonly subtle: SubtleCrypto; getRandomValues(array: ArrayBufferView): ArrayBufferView; /** Available only in secure contexts. */ randomUUID(): string; } declare var Crypto: { prototype: Crypto; new(): Crypto; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface CryptoKey { readonly algorithm: any; readonly extractable: boolean; readonly type: KeyType; readonly usages: KeyUsage[]; } declare var CryptoKey: { prototype: CryptoKey; new(): CryptoKey; isInstance: IsInstance; }; interface CustomElementRegistry { define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void; get(name: string): CustomElementConstructor | undefined; getName(constructor: CustomElementConstructor): string | null; setElementCreationCallback(name: string, callback: CustomElementCreationCallback): void; upgrade(root: Node): void; whenDefined(name: string): Promise; } declare var CustomElementRegistry: { prototype: CustomElementRegistry; new(): CustomElementRegistry; isInstance: IsInstance; }; interface CustomEvent extends Event { readonly detail: any; initCustomEvent(type: string, canBubble?: boolean, cancelable?: boolean, detail?: any): void; } declare var CustomEvent: { prototype: CustomEvent; new(type: string, eventInitDict?: CustomEventInit): CustomEvent; isInstance: IsInstance; }; interface CustomStateSet { forEach(callbackfn: (value: string, key: string, parent: CustomStateSet) => void, thisArg?: any): void; } declare var CustomStateSet: { prototype: CustomStateSet; new(): CustomStateSet; isInstance: IsInstance; }; interface DOMApplication { } interface DOMException extends ExceptionMembers { readonly code: number; readonly message: string; readonly name: string; readonly INDEX_SIZE_ERR: 1; readonly DOMSTRING_SIZE_ERR: 2; readonly HIERARCHY_REQUEST_ERR: 3; readonly WRONG_DOCUMENT_ERR: 4; readonly INVALID_CHARACTER_ERR: 5; readonly NO_DATA_ALLOWED_ERR: 6; readonly NO_MODIFICATION_ALLOWED_ERR: 7; readonly NOT_FOUND_ERR: 8; readonly NOT_SUPPORTED_ERR: 9; readonly INUSE_ATTRIBUTE_ERR: 10; readonly INVALID_STATE_ERR: 11; readonly SYNTAX_ERR: 12; readonly INVALID_MODIFICATION_ERR: 13; readonly NAMESPACE_ERR: 14; readonly INVALID_ACCESS_ERR: 15; readonly VALIDATION_ERR: 16; readonly TYPE_MISMATCH_ERR: 17; readonly SECURITY_ERR: 18; readonly NETWORK_ERR: 19; readonly ABORT_ERR: 20; readonly URL_MISMATCH_ERR: 21; readonly QUOTA_EXCEEDED_ERR: 22; readonly TIMEOUT_ERR: 23; readonly INVALID_NODE_TYPE_ERR: 24; readonly DATA_CLONE_ERR: 25; } declare var DOMException: { prototype: DOMException; new(message?: string, name?: string): DOMException; readonly INDEX_SIZE_ERR: 1; readonly DOMSTRING_SIZE_ERR: 2; readonly HIERARCHY_REQUEST_ERR: 3; readonly WRONG_DOCUMENT_ERR: 4; readonly INVALID_CHARACTER_ERR: 5; readonly NO_DATA_ALLOWED_ERR: 6; readonly NO_MODIFICATION_ALLOWED_ERR: 7; readonly NOT_FOUND_ERR: 8; readonly NOT_SUPPORTED_ERR: 9; readonly INUSE_ATTRIBUTE_ERR: 10; readonly INVALID_STATE_ERR: 11; readonly SYNTAX_ERR: 12; readonly INVALID_MODIFICATION_ERR: 13; readonly NAMESPACE_ERR: 14; readonly INVALID_ACCESS_ERR: 15; readonly VALIDATION_ERR: 16; readonly TYPE_MISMATCH_ERR: 17; readonly SECURITY_ERR: 18; readonly NETWORK_ERR: 19; readonly ABORT_ERR: 20; readonly URL_MISMATCH_ERR: 21; readonly QUOTA_EXCEEDED_ERR: 22; readonly TIMEOUT_ERR: 23; readonly INVALID_NODE_TYPE_ERR: 24; readonly DATA_CLONE_ERR: 25; isInstance: IsInstance; }; interface DOMImplementation { createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): Document; createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; createHTMLDocument(title?: string): Document; hasFeature(): boolean; } declare var DOMImplementation: { prototype: DOMImplementation; new(): DOMImplementation; isInstance: IsInstance; }; interface DOMLocalization extends Localization { connectRoot(aElement: Node): void; disconnectRoot(aElement: Node): void; getAttributes(aElement: Element): L10nIdArgs; pauseObserving(): void; resumeObserving(): void; setArgs(aElement: Element, aArgs?: any): void; setAttributes(aElement: Element, aId: string, aArgs?: any): void; translateElements(aElements: Element[]): Promise; translateFragment(aNode: Node): Promise; translateRoots(): Promise; } declare var DOMLocalization: { prototype: DOMLocalization; new(aResourceIds: L10nResourceId[], aSync?: boolean, aRegistry?: L10nRegistry, aLocales?: string[]): DOMLocalization; isInstance: IsInstance; }; interface DOMMatrix extends DOMMatrixReadOnly { 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; invertSelf(): DOMMatrix; multiplySelf(other?: DOMMatrixInit): DOMMatrix; preMultiplySelf(other?: DOMMatrixInit): DOMMatrix; rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; setMatrixValue(transformList: string): DOMMatrix; skewXSelf(sx?: number): DOMMatrix; skewYSelf(sy?: number): DOMMatrix; translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; } declare var DOMMatrix: { prototype: DOMMatrix; new(init?: string | number[] | DOMMatrixReadOnly): DOMMatrix; isInstance: IsInstance; fromFloat32Array(array32: Float32Array): DOMMatrix; fromFloat64Array(array64: Float64Array): DOMMatrix; fromMatrix(other?: DOMMatrixInit): DOMMatrix; }; type WebKitCSSMatrix = DOMMatrix; declare var WebKitCSSMatrix: typeof DOMMatrix; interface DOMMatrixReadOnly { readonly a: number; readonly b: number; readonly c: number; readonly d: number; readonly e: number; readonly f: number; readonly is2D: boolean; readonly isIdentity: boolean; readonly m11: number; readonly m12: number; readonly m13: number; readonly m14: number; readonly m21: number; readonly m22: number; readonly m23: number; readonly m24: number; readonly m31: number; readonly m32: number; readonly m33: number; readonly m34: number; readonly m41: number; readonly m42: number; readonly m43: number; readonly m44: number; flipX(): DOMMatrix; flipY(): DOMMatrix; inverse(): DOMMatrix; multiply(other?: DOMMatrixInit): DOMMatrix; rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; rotateFromVector(x?: number, y?: number): DOMMatrix; scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; skewX(sx?: number): DOMMatrix; skewY(sy?: number): DOMMatrix; toFloat32Array(): Float32Array; toFloat64Array(): Float64Array; toJSON(): any; transformPoint(point?: DOMPointInit): DOMPoint; translate(tx?: number, ty?: number, tz?: number): DOMMatrix; toString(): string; } declare var DOMMatrixReadOnly: { prototype: DOMMatrixReadOnly; new(init?: string | number[] | DOMMatrixReadOnly): DOMMatrixReadOnly; isInstance: IsInstance; fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; }; interface DOMParser { forceEnableDTD(): void; forceEnableXULXBL(): void; parseFromBuffer(buf: number[], type: SupportedType): Document; parseFromBuffer(buf: Uint8Array, type: SupportedType): Document; parseFromSafeString(str: string, type: SupportedType): Document; parseFromStream(stream: InputStream, charset: string | null, contentLength: number, type: SupportedType): Document; parseFromString(str: TrustedHTML | string, type: SupportedType): Document; } declare var DOMParser: { prototype: DOMParser; new(): DOMParser; isInstance: IsInstance; }; interface DOMPoint extends DOMPointReadOnly { w: number; x: number; y: number; z: number; } declare var DOMPoint: { prototype: DOMPoint; new(x?: number, y?: number, z?: number, w?: number): DOMPoint; isInstance: IsInstance; fromPoint(other?: DOMPointInit): DOMPoint; }; interface DOMPointReadOnly { readonly w: number; readonly x: number; readonly y: number; readonly z: number; matrixTransform(matrix?: DOMMatrixInit): DOMPoint; toJSON(): any; } declare var DOMPointReadOnly: { prototype: DOMPointReadOnly; new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; isInstance: IsInstance; fromPoint(other?: DOMPointInit): DOMPointReadOnly; }; interface DOMQuad { readonly p1: DOMPoint; readonly p2: DOMPoint; readonly p3: DOMPoint; readonly p4: DOMPoint; getBounds(): DOMRectReadOnly; toJSON(): any; } declare var DOMQuad: { prototype: DOMQuad; new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad; new(rect: DOMRectReadOnly): DOMQuad; isInstance: IsInstance; fromQuad(other?: DOMQuadInit): DOMQuad; fromRect(other?: DOMRectInit): DOMQuad; }; interface DOMRect extends DOMRectReadOnly { height: number; width: number; x: number; y: number; } declare var DOMRect: { prototype: DOMRect; new(x?: number, y?: number, width?: number, height?: number): DOMRect; isInstance: IsInstance; fromRect(other?: DOMRectInit): DOMRect; }; interface DOMRectList { readonly length: number; item(index: number): DOMRect | null; [index: number]: DOMRect; } declare var DOMRectList: { prototype: DOMRectList; new(): DOMRectList; isInstance: IsInstance; }; interface DOMRectReadOnly { readonly bottom: number; readonly height: number; readonly left: number; readonly right: number; readonly top: number; readonly width: number; readonly x: number; readonly y: number; toJSON(): any; } declare var DOMRectReadOnly: { prototype: DOMRectReadOnly; new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; isInstance: IsInstance; fromRect(other?: DOMRectInit): DOMRectReadOnly; }; interface DOMStringList { readonly length: number; contains(string: string): boolean; item(index: number): string | null; [index: number]: string; } declare var DOMStringList: { prototype: DOMStringList; new(): DOMStringList; isInstance: IsInstance; }; interface DOMStringMap { } declare var DOMStringMap: { prototype: DOMStringMap; new(): DOMStringMap; isInstance: IsInstance; }; interface DOMTokenList { readonly length: number; value: string; toString(): string; add(...tokens: string[]): void; contains(token: string): boolean; item(index: number): string | null; remove(...tokens: string[]): void; replace(token: string, newToken: string): boolean; supports(token: string): boolean; toggle(token: string, force?: boolean): boolean; forEach(callbackfn: (value: string | null, key: number, parent: DOMTokenList) => void, thisArg?: any): void; [index: number]: string; } declare var DOMTokenList: { prototype: DOMTokenList; new(): DOMTokenList; isInstance: IsInstance; }; interface DataTransfer { dropEffect: string; effectAllowed: string; readonly files: FileList | null; readonly items: DataTransferItemList; mozCursor: string; readonly mozItemCount: number; mozShowFailAnimation: boolean; readonly mozSourceNode: Node | null; readonly mozTriggeringPrincipalURISpec: string; readonly mozUserCancelled: boolean; readonly policyContainer: PolicyContainer | null; readonly sourceTopWindowContext: WindowContext | null; readonly types: string[]; addElement(element: Element): void; clearData(format?: string): void; getData(format: string): string; mozClearDataAt(format: string, index: number): void; mozCloneForEvent(event: string): DataTransfer; mozGetDataAt(format: string, index: number): any; mozSetDataAt(format: string, data: any, index: number): void; mozTypesAt(index: number): DOMStringList; setData(format: string, data: string): void; setDragImage(image: Element, x: number, y: number): void; updateDragImage(image: Element, x: number, y: number): void; } declare var DataTransfer: { prototype: DataTransfer; new(): DataTransfer; isInstance: IsInstance; }; interface DataTransferItem { readonly kind: string; readonly type: string; getAsFile(): File | null; getAsString(callback: FunctionStringCallback | null): void; webkitGetAsEntry(): FileSystemEntry | null; } declare var DataTransferItem: { prototype: DataTransferItem; new(): DataTransferItem; isInstance: IsInstance; }; interface DataTransferItemList { readonly length: number; add(data: string, type: string): DataTransferItem | null; add(data: File): DataTransferItem | null; clear(): void; remove(index: number): void; [index: number]: DataTransferItem; } declare var DataTransferItemList: { prototype: DataTransferItemList; new(): DataTransferItemList; isInstance: IsInstance; }; interface DebuggerNotification { readonly global: any; readonly type: DebuggerNotificationType; } declare var DebuggerNotification: { prototype: DebuggerNotification; new(): DebuggerNotification; isInstance: IsInstance; }; interface DebuggerNotificationObserver { addListener(handler: DebuggerNotificationCallback): boolean; connect(global: any): boolean; disconnect(global: any): boolean; removeListener(handler: DebuggerNotificationCallback): boolean; } declare var DebuggerNotificationObserver: { prototype: DebuggerNotificationObserver; new(): DebuggerNotificationObserver; isInstance: IsInstance; }; interface DecompressionStream extends GenericTransformStream { } declare var DecompressionStream: { prototype: DecompressionStream; new(format: CompressionFormat): DecompressionStream; isInstance: IsInstance; }; interface DelayNode extends AudioNode, AudioNodePassThrough { readonly delayTime: AudioParam; } declare var DelayNode: { prototype: DelayNode; new(context: BaseAudioContext, options?: DelayOptions): DelayNode; isInstance: IsInstance; }; interface DeprecationReportBody extends ReportBody { readonly anticipatedRemoval: any; readonly columnNumber: number | null; readonly id: string; readonly lineNumber: number | null; readonly message: string; readonly sourceFile: string | null; toJSON(): any; } interface DeviceAcceleration { readonly x: number | null; readonly y: number | null; readonly z: number | null; } interface DeviceLightEvent extends Event { readonly value: number; } declare var DeviceLightEvent: { prototype: DeviceLightEvent; new(type: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent; isInstance: IsInstance; }; interface DeviceMotionEvent extends Event { readonly acceleration: DeviceAcceleration | null; readonly accelerationIncludingGravity: DeviceAcceleration | null; readonly interval: number | null; readonly rotationRate: DeviceRotationRate | null; initDeviceMotionEvent(type: string, canBubble?: boolean, cancelable?: boolean, acceleration?: DeviceAccelerationInit, accelerationIncludingGravity?: DeviceAccelerationInit, rotationRate?: DeviceRotationRateInit, interval?: number | null): void; } declare var DeviceMotionEvent: { prototype: DeviceMotionEvent; new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; isInstance: IsInstance; }; interface DeviceOrientationEvent extends Event { readonly absolute: boolean; readonly alpha: number | null; readonly beta: number | null; readonly gamma: number | null; initDeviceOrientationEvent(type: string, canBubble?: boolean, cancelable?: boolean, alpha?: number | null, beta?: number | null, gamma?: number | null, absolute?: boolean): void; } declare var DeviceOrientationEvent: { prototype: DeviceOrientationEvent; new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; isInstance: IsInstance; }; interface DeviceRotationRate { readonly alpha: number | null; readonly beta: number | null; readonly gamma: number | null; } /** Available only in secure contexts. */ interface DigitalCredential extends Credential { readonly data: any; readonly protocol: string; toJSON(): any; } declare var DigitalCredential: { prototype: DigitalCredential; new(): DigitalCredential; isInstance: IsInstance; userAgentAllowsProtocol(protocol: string): boolean; }; interface Directory { readonly name: string; readonly path: string; getFiles(recursiveFlag?: boolean): Promise; getFilesAndDirectories(): Promise<(File | Directory)[]>; } declare var Directory: { prototype: Directory; new(path: string): Directory; isInstance: IsInstance; }; interface DocumentEventMap extends GlobalEventHandlersEventMap, OnErrorEventHandlerForNodesEventMap, TouchEventHandlersEventMap { "fullscreenchange": Event; "fullscreenerror": Event; "pointerlockchange": Event; "pointerlockerror": Event; "readystatechange": Event; "visibilitychange": Event; } interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFaceSource, GeometryUtils, GlobalEventHandlers, NonElementParentNode, OnErrorEventHandlerForNodes, ParentNode, TouchEventHandlers, XPathEvaluatorMixin { readonly URL: string; readonly activeViewTransition: ViewTransition | null; alinkColor: string; readonly all: HTMLAllCollection; readonly anchors: HTMLCollection; readonly applets: HTMLCollection; bgColor: string; readonly blockedNodeByClassifierCount: number; readonly blockedNodesByClassifier: NodeList; body: HTMLElement | null; readonly characterSet: string; readonly charset: string; readonly commandDispatcher: XULCommandDispatcher | null; readonly compatMode: string; readonly contentLanguage: string; readonly contentType: string; cookie: string; readonly cookieJarSettings: nsICookieJarSettings; readonly cspJSON: string; readonly currentScript: Element | null; readonly defaultView: WindowProxy | null; designMode: string; devToolsAnonymousAndShadowEventsEnabled: boolean; devToolsWatchingDOMMutations: boolean; dir: string; readonly doctype: DocumentType | null; readonly documentElement: Element | null; readonly documentLoadGroup: nsILoadGroup | null; readonly documentReadyForIdle: Promise; readonly documentURI: string; readonly documentURIObject: URI | null; domain: string; readonly effectiveStoragePrincipal: Principal; readonly embeds: HTMLCollection; readonly featurePolicy: FeaturePolicy; fgColor: string; forceNonNativeTheme: boolean; readonly forms: HTMLCollection; readonly fragmentDirective: FragmentDirective; readonly fullscreen: boolean; readonly fullscreenEnabled: boolean; readonly hasBeenUserGestureActivated: boolean; readonly hasPendingL10nMutations: boolean; readonly hasValidTransientUserGestureActivation: boolean; readonly head: HTMLHeadElement | null; readonly hidden: boolean; readonly images: HTMLCollection; readonly implementation: DOMImplementation; readonly inAndroidPipMode: boolean; readonly inputEncoding: string; readonly isInitialDocument: boolean; readonly isSrcdocDocument: boolean; readonly isUncommittedInitialDocument: boolean; readonly l10n: DocumentL10n | null; readonly lastModified: string; readonly lastStyleSheetSet: string | null; readonly lastUserGestureTimeStamp: DOMHighResTimeStamp; linkColor: string; readonly links: HTMLCollection; readonly loadedFromPrototype: boolean; readonly location: Location | null; readonly mozDocumentURIIfNotForErrorPages: URI | null; readonly mozFullScreen: boolean; readonly mozFullScreenEnabled: boolean; readonly mozSyntheticDocument: boolean; onfullscreenchange: ((this: Document, ev: Event) => any) | null; onfullscreenerror: ((this: Document, ev: Event) => any) | null; onpointerlockchange: ((this: Document, ev: Event) => any) | null; onpointerlockerror: ((this: Document, ev: Event) => any) | null; onreadystatechange: ((this: Document, ev: Event) => any) | null; onvisibilitychange: ((this: Document, ev: Event) => any) | null; readonly partitionedPrincipal: Principal; pausedByDevTools: boolean; readonly permDelegateHandler: nsIPermissionDelegateHandler; readonly plugins: HTMLCollection; readonly policyContainer: PolicyContainer | null; readonly preferredStyleSheetSet: string | null; readonly readyState: string; readonly referrer: string; readonly referrerInfo: nsIReferrerInfo; readonly referrerPolicy: ReferrerPolicy; readonly rootElement: SVGSVGElement | null; readonly sandboxFlagsAsString: string | null; readonly scripts: HTMLCollection; readonly scrollingElement: Element | null; selectedStyleSheetSet: string | null; styleSheetChangeEventsEnabled: boolean; readonly styleSheetSets: DOMStringList; readonly timeline: DocumentTimeline; title: string; readonly tlsCertificateBindingURI: URI | null; readonly visibilityState: VisibilityState; vlinkColor: string; addCertException(isTemporary: boolean): Promise; adoptNode(node: Node): Node; blockParsing(promise: any, options?: BlockParsingOptions): Promise; blockUnblockOnload(block: boolean): void; captureEvents(): void; caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null; caretRangeFromPoint(x?: number, y?: number): Range | null; clear(): void; clearUserGestureActivation(): void; close(): void; consumeTransientUserGestureActivation(): boolean; createAttribute(name: string): Attr; createAttributeNS(namespace: string | null, name: string): Attr; createCDATASection(data: string): CDATASection; createComment(data: string): Comment; createDocumentFragment(): DocumentFragment; createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; /** @deprecated */ createElement(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K]; createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element; createEvent(eventInterface: "AddonEvent"): AddonEvent; createEvent(eventInterface: "AnimationEvent"): AnimationEvent; createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; createEvent(eventInterface: "BlobEvent"): BlobEvent; createEvent(eventInterface: "CSSCustomPropertyRegisteredEvent"): CSSCustomPropertyRegisteredEvent; createEvent(eventInterface: "CaretStateChangedEvent"): CaretStateChangedEvent; createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; createEvent(eventInterface: "CloseEvent"): CloseEvent; createEvent(eventInterface: "CommandEvent"): CommandEvent; createEvent(eventInterface: "CompositionEvent"): CompositionEvent; createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent; createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent; createEvent(eventInterface: "CustomEvent"): CustomEvent; createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent; createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; createEvent(eventInterface: "DocumentPictureInPictureEvent"): DocumentPictureInPictureEvent; createEvent(eventInterface: "DragEvent"): DragEvent; createEvent(eventInterface: "ErrorEvent"): ErrorEvent; createEvent(eventInterface: "FocusEvent"): FocusEvent; createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent; createEvent(eventInterface: "FormDataEvent"): FormDataEvent; createEvent(eventInterface: "FrameCrashedEvent"): FrameCrashedEvent; createEvent(eventInterface: "GPUUncapturedErrorEvent"): GPUUncapturedErrorEvent; createEvent(eventInterface: "GamepadAxisMoveEvent"): GamepadAxisMoveEvent; createEvent(eventInterface: "GamepadButtonEvent"): GamepadButtonEvent; createEvent(eventInterface: "GamepadEvent"): GamepadEvent; createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; createEvent(eventInterface: "ImageCaptureErrorEvent"): ImageCaptureErrorEvent; createEvent(eventInterface: "InputEvent"): InputEvent; createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; createEvent(eventInterface: "MIDIConnectionEvent"): MIDIConnectionEvent; createEvent(eventInterface: "MIDIMessageEvent"): MIDIMessageEvent; createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent; createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent; createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; createEvent(eventInterface: "MerchantValidationEvent"): MerchantValidationEvent; createEvent(eventInterface: "MessageEvent"): MessageEvent; createEvent(eventInterface: "MouseEvent"): MouseEvent; createEvent(eventInterface: "MouseEvents"): MouseEvent; createEvent(eventInterface: "MouseScrollEvent"): MouseScrollEvent; createEvent(eventInterface: "MozSharedMapChangeEvent"): MozSharedMapChangeEvent; createEvent(eventInterface: "NavigateEvent"): NavigateEvent; createEvent(eventInterface: "NavigationCurrentEntryChangeEvent"): NavigationCurrentEntryChangeEvent; createEvent(eventInterface: "NotifyPaintEvent"): NotifyPaintEvent; createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; createEvent(eventInterface: "PageRevealEvent"): PageRevealEvent; createEvent(eventInterface: "PageSwapEvent"): PageSwapEvent; createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; createEvent(eventInterface: "PerformanceEntryEvent"): PerformanceEntryEvent; createEvent(eventInterface: "PluginCrashedEvent"): PluginCrashedEvent; createEvent(eventInterface: "PointerEvent"): PointerEvent; createEvent(eventInterface: "PopStateEvent"): PopStateEvent; createEvent(eventInterface: "PopupBlockedEvent"): PopupBlockedEvent; createEvent(eventInterface: "PopupPositionedEvent"): PopupPositionedEvent; createEvent(eventInterface: "PositionStateEvent"): PositionStateEvent; createEvent(eventInterface: "ProgressEvent"): ProgressEvent; createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent; createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; createEvent(eventInterface: "RedirectBlockedEvent"): RedirectBlockedEvent; createEvent(eventInterface: "ScrollAreaEvent"): ScrollAreaEvent; createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; createEvent(eventInterface: "SimpleGestureEvent"): SimpleGestureEvent; createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent; createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; createEvent(eventInterface: "StorageEvent"): StorageEvent; createEvent(eventInterface: "StreamFilterDataEvent"): StreamFilterDataEvent; createEvent(eventInterface: "StyleSheetApplicableStateChangeEvent"): StyleSheetApplicableStateChangeEvent; createEvent(eventInterface: "StyleSheetRemovedEvent"): StyleSheetRemovedEvent; createEvent(eventInterface: "SubmitEvent"): SubmitEvent; createEvent(eventInterface: "TCPServerSocketEvent"): TCPServerSocketEvent; createEvent(eventInterface: "TCPSocketErrorEvent"): TCPSocketErrorEvent; createEvent(eventInterface: "TCPSocketEvent"): TCPSocketEvent; createEvent(eventInterface: "TaskPriorityChangeEvent"): TaskPriorityChangeEvent; createEvent(eventInterface: "TextEvent"): TextEvent; createEvent(eventInterface: "TimeEvent"): TimeEvent; createEvent(eventInterface: "ToggleEvent"): ToggleEvent; createEvent(eventInterface: "TouchEvent"): TouchEvent; createEvent(eventInterface: "TrackEvent"): TrackEvent; createEvent(eventInterface: "TransitionEvent"): TransitionEvent; createEvent(eventInterface: "UDPMessageEvent"): UDPMessageEvent; createEvent(eventInterface: "UIEvent"): UIEvent; createEvent(eventInterface: "UIEvents"): UIEvent; createEvent(eventInterface: "UserProximityEvent"): UserProximityEvent; createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent; createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; createEvent(eventInterface: "WheelEvent"): WheelEvent; createEvent(eventInterface: "XRInputSourceEvent"): XRInputSourceEvent; createEvent(eventInterface: "XRInputSourcesChangeEvent"): XRInputSourcesChangeEvent; createEvent(eventInterface: "XRReferenceSpaceEvent"): XRReferenceSpaceEvent; createEvent(eventInterface: "XRSessionEvent"): XRSessionEvent; createEvent(eventInterface: "XULCommandEvent"): XULCommandEvent; createEvent(eventInterface: string): Event; createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator; createProcessingInstruction(target: string, data: string): ProcessingInstruction; createRange(): Range; createTextNode(data: string): Text; createTouch(view?: Window | null, target?: EventTarget | null, identifier?: number, pageX?: number, pageY?: number, screenX?: number, screenY?: number, clientX?: number, clientY?: number, radiusX?: number, radiusY?: number, rotationAngle?: number, force?: number): Touch; createTouchList(touch: Touch, ...touches: Touch[]): TouchList; createTouchList(): TouchList; createTouchList(touches: Touch[]): TouchList; createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; createXULElement(localName: string, options?: string | ElementCreationOptions): Element; enableStyleSheetsForSet(name: string | null): void; execCommand(commandId: string, showUI?: boolean, value?: TrustedHTML | string): boolean; exitFullscreen(): Promise; exitPointerLock(): void; getConnectedShadowRoots(): ShadowRoot[]; getElementsByClassName(classNames: string): HTMLCollection; getElementsByName(elementName: string): NodeList; getElementsByTagName(localName: K): HTMLCollectionOf; getElementsByTagName(localName: K): HTMLCollectionOf; getElementsByTagName(localName: K): HTMLCollectionOf; /** @deprecated */ getElementsByTagName(localName: K): HTMLCollectionOf; getElementsByTagName(localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollection; getFailedCertSecurityInfo(): FailedCertSecurityInfo; getNetErrorInfo(): NetErrorInfo; getSelection(): Selection | null; getWireframe(aIncludeNodes?: boolean): Wireframe | null; hasFocus(): boolean; hasStorageAccess(): Promise; importNode(node: Node, deep?: boolean): Node; insertAnonymousContent(): AnonymousContent; isActive(): boolean; mozCancelFullScreen(): Promise; mozSetImageElement(aImageElementId: string, aImageElement: Element | null): void; notifyUserGestureActivation(): void; open(unused1?: string, unused2?: string): Document; open(url: string, name: string, features: string): WindowProxy | null; queryCommandEnabled(commandId: string): boolean; queryCommandIndeterm(commandId: string): boolean; queryCommandState(commandId: string): boolean; queryCommandSupported(commandId: string): boolean; queryCommandValue(commandId: string): string; releaseCapture(): void; releaseEvents(): void; reloadWithHttpsOnlyException(): void; removeAnonymousContent(aContent: AnonymousContent): void; requestStorageAccess(): Promise; requestStorageAccessForOrigin(thirdPartyOrigin: string, requireUserInteraction?: boolean): Promise; setKeyPressEventModel(aKeyPressEventModel: number): void; setNotifyFetchSuccess(aShouldNotify: boolean): void; setNotifyFormOrPasswordRemoved(aShouldNotify: boolean): void; setSuppressedEventListener(aListener: EventListener | null): void; startViewTransition(callbackOptions?: ViewTransitionUpdateCallback | StartViewTransitionOptions): ViewTransition; synchronouslyUpdateRemoteBrowserDimensions(aIncludeInactive?: boolean): void; userInteractionForTesting(): void; write(...text: (TrustedHTML | string)[]): void; writeln(...text: (TrustedHTML | string)[]): void; readonly KEYPRESS_EVENT_MODEL_DEFAULT: 0; readonly KEYPRESS_EVENT_MODEL_SPLIT: 1; readonly KEYPRESS_EVENT_MODEL_CONFLATED: 2; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Document: { prototype: Document; new(): Document; readonly KEYPRESS_EVENT_MODEL_DEFAULT: 0; readonly KEYPRESS_EVENT_MODEL_SPLIT: 1; readonly KEYPRESS_EVENT_MODEL_CONFLATED: 2; isInstance: IsInstance; parseHTML(html: string, options?: SetHTMLOptions): Document; parseHTMLUnsafe(html: TrustedHTML | string, options?: SetHTMLUnsafeOptions): Document; }; interface DocumentFragment extends Node, NonElementParentNode, ParentNode { } declare var DocumentFragment: { prototype: DocumentFragment; new(): DocumentFragment; isInstance: IsInstance; }; interface DocumentL10n extends DOMLocalization { readonly ready: Promise; connectRoot(aElement: Node, aTranslate?: boolean): void; } interface DocumentOrShadowRoot { readonly activeElement: Element | null; adoptedStyleSheets: CSSStyleSheet[]; readonly customElementRegistry: CustomElementRegistry | null; readonly fullscreenElement: Element | null; readonly mozFullScreenElement: Element | null; readonly pointerLockElement: Element | null; readonly styleSheets: StyleSheetList; elementFromPoint(x: number, y: number): Element | null; elementsFromPoint(x: number, y: number): Element[]; getAnimations(): Animation[]; nodeFromPoint(x: number, y: number): Node | null; nodesFromPoint(x: number, y: number): Node[]; } interface DocumentPictureInPictureEventMap { "enter": Event; } /** Available only in secure contexts. */ interface DocumentPictureInPicture extends EventTarget { onenter: ((this: DocumentPictureInPicture, ev: Event) => any) | null; readonly window: Window | null; requestWindow(options?: DocumentPictureInPictureOptions): Promise; addEventListener(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var DocumentPictureInPicture: { prototype: DocumentPictureInPicture; new(): DocumentPictureInPicture; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface DocumentPictureInPictureEvent extends Event { readonly window: Window; } declare var DocumentPictureInPictureEvent: { prototype: DocumentPictureInPictureEvent; new(type: string, eventInitDict: DocumentPictureInPictureEventInit): DocumentPictureInPictureEvent; isInstance: IsInstance; }; interface DocumentTimeline extends AnimationTimeline { } declare var DocumentTimeline: { prototype: DocumentTimeline; new(options?: DocumentTimelineOptions): DocumentTimeline; isInstance: IsInstance; }; interface DocumentType extends Node, ChildNode { readonly name: string; readonly publicId: string; readonly systemId: string; } declare var DocumentType: { prototype: DocumentType; new(): DocumentType; isInstance: IsInstance; }; interface DominatorTree { readonly root: NodeId; getImmediateDominator(node: NodeId): NodeId | null; getImmediatelyDominated(node: NodeId): NodeId[] | null; getRetainedSize(node: NodeId): NodeSize | null; } declare var DominatorTree: { prototype: DominatorTree; new(): DominatorTree; isInstance: IsInstance; }; interface DragEvent extends MouseEvent { readonly dataTransfer: DataTransfer | null; initDragEvent(type: string, canBubble?: boolean, cancelable?: boolean, aView?: Window | null, aDetail?: number, aScreenX?: number, aScreenY?: number, aClientX?: number, aClientY?: number, aCtrlKey?: boolean, aAltKey?: boolean, aShiftKey?: boolean, aMetaKey?: boolean, aButton?: number, aRelatedTarget?: EventTarget | null, aDataTransfer?: DataTransfer | null): void; } declare var DragEvent: { prototype: DragEvent; new(type: string, eventInitDict?: DragEventInit): DragEvent; isInstance: IsInstance; }; interface DynamicsCompressorNode extends AudioNode, AudioNodePassThrough { readonly attack: AudioParam; readonly knee: AudioParam; readonly ratio: AudioParam; readonly reduction: number; readonly release: AudioParam; readonly threshold: AudioParam; } declare var DynamicsCompressorNode: { prototype: DynamicsCompressorNode; new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode; isInstance: IsInstance; }; interface EXT_blend_minmax { readonly MIN_EXT: 0x8007; readonly MAX_EXT: 0x8008; } interface EXT_color_buffer_float { } interface EXT_color_buffer_half_float { readonly RGBA16F_EXT: 0x881A; readonly RGB16F_EXT: 0x881B; readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211; readonly UNSIGNED_NORMALIZED_EXT: 0x8C17; } interface EXT_depth_clamp { readonly DEPTH_CLAMP_EXT: 0x864F; } interface EXT_disjoint_timer_query { beginQueryEXT(target: GLenum, query: WebGLQuery): void; createQueryEXT(): WebGLQuery; deleteQueryEXT(query: WebGLQuery | null): void; endQueryEXT(target: GLenum): void; getQueryEXT(target: GLenum, pname: GLenum): any; getQueryObjectEXT(query: WebGLQuery, pname: GLenum): any; isQueryEXT(query: WebGLQuery | null): boolean; queryCounterEXT(query: WebGLQuery, target: GLenum): void; readonly QUERY_COUNTER_BITS_EXT: 0x8864; readonly CURRENT_QUERY_EXT: 0x8865; readonly QUERY_RESULT_EXT: 0x8866; readonly QUERY_RESULT_AVAILABLE_EXT: 0x8867; readonly TIME_ELAPSED_EXT: 0x88BF; readonly TIMESTAMP_EXT: 0x8E28; readonly GPU_DISJOINT_EXT: 0x8FBB; } interface EXT_float_blend { } interface EXT_frag_depth { } interface EXT_sRGB { readonly SRGB_EXT: 0x8C40; readonly SRGB_ALPHA_EXT: 0x8C42; readonly SRGB8_ALPHA8_EXT: 0x8C43; readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210; } interface EXT_shader_texture_lod { } interface EXT_texture_compression_bptc { readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C; readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D; readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: 0x8E8E; readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F; } interface EXT_texture_compression_rgtc { readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB; readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC; readonly COMPRESSED_RED_GREEN_RGTC2_EXT: 0x8DBD; readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: 0x8DBE; } interface EXT_texture_filter_anisotropic { readonly TEXTURE_MAX_ANISOTROPY_EXT: 0x84FE; readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF; } interface EXT_texture_norm16 { readonly R16_EXT: 0x822A; readonly RG16_EXT: 0x822C; readonly RGB16_EXT: 0x8054; readonly RGBA16_EXT: 0x805B; readonly R16_SNORM_EXT: 0x8F98; readonly RG16_SNORM_EXT: 0x8F99; readonly RGB16_SNORM_EXT: 0x8F9A; readonly RGBA16_SNORM_EXT: 0x8F9B; } interface ElementEventMap { "fullscreenchange": Event; "fullscreenerror": Event; } interface Element extends Node, ARIAMixin, ARIANotifyMixin, Animatable, ChildNode, GeometryUtils, NonDocumentTypeChildNode, ParentNode { readonly assignedSlot: HTMLSlotElement | null; readonly attributes: NamedNodeMap; readonly classList: DOMTokenList; className: string; readonly clientHeight: number; readonly clientHeightDouble: number; readonly clientLeft: number; readonly clientTop: number; readonly clientWidth: number; readonly clientWidthDouble: number; readonly currentCSSZoom: number; readonly customElementRegistry: CustomElementRegistry | null; readonly firstLineBoxBSize: number; readonly fontSizeInflation: number; readonly hasVisibleScrollbars: boolean; id: string; readonly implementedPseudoElement: string | null; innerHTML: TrustedHTML | string; readonly localName: string; readonly namespaceURI: string | null; onfullscreenchange: ((this: Element, ev: Event) => any) | null; onfullscreenerror: ((this: Element, ev: Event) => any) | null; readonly openOrClosedAssignedSlot: HTMLSlotElement | null; readonly openOrClosedShadowRoot: ShadowRoot | null; outerHTML: TrustedHTML | string; readonly part: DOMTokenList; readonly prefix: string | null; readonly screen: nsIScreen | null; readonly screenX: number; readonly screenY: number; readonly scrollHeight: number; scrollLeft: number; readonly scrollLeftMax: number; readonly scrollLeftMin: number; scrollTop: number; readonly scrollTopMax: number; readonly scrollTopMin: number; readonly scrollWidth: number; readonly shadowRoot: ShadowRoot | null; slot: string; readonly tagName: string; attachShadow(shadowRootInitDict: ShadowRootInit): ShadowRoot; checkVisibility(options?: CheckVisibilityOptions): boolean; closest(selector: string): Element | null; computedStyleMap(): StylePropertyMapReadOnly; getAsFlexContainer(): Flex | null; getAttribute(name: string): string | null; getAttributeNS(namespace: string | null, localName: string): string | null; getAttributeNames(): string[]; getAttributeNode(name: string): Attr | null; getAttributeNodeNS(namespaceURI: string | null, localName: string): Attr | null; getBoundingClientRect(): DOMRect; getClientRects(): DOMRectList; getElementsByClassName(classNames: string): HTMLCollection; getElementsByTagName(localName: K): HTMLCollectionOf; getElementsByTagName(localName: K): HTMLCollectionOf; getElementsByTagName(localName: K): HTMLCollectionOf; /** @deprecated */ getElementsByTagName(localName: K): HTMLCollectionOf; getElementsByTagName(localName: string): HTMLCollectionOf; getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollection; getElementsWithGrid(): Element[]; getGridFragments(): Grid[]; getHTML(options?: GetHTMLOptions): string; getTransformToAncestor(ancestor: Element): DOMMatrixReadOnly; getTransformToParent(): DOMMatrixReadOnly; getTransformToViewport(): DOMMatrixReadOnly; hasAttribute(name: string): boolean; hasAttributeNS(namespace: string | null, localName: string): boolean; hasAttributes(): boolean; hasGridFragments(): boolean; hasPointerCapture(pointerId: number): boolean; insertAdjacentElement(where: string, element: Element): Element | null; insertAdjacentHTML(position: string, text: TrustedHTML | string): void; insertAdjacentText(where: string, data: string): void; matches(selector: string): boolean; mozMatchesSelector(selector: string): boolean; mozRequestFullScreen(): Promise; mozScrollSnap(): void; releaseCapture(): void; releasePointerCapture(pointerId: number): void; removeAttribute(name: string): void; removeAttributeNS(namespace: string | null, localName: string): void; removeAttributeNode(oldAttr: Attr): Attr | null; requestFullscreen(): Promise; requestPointerLock(): void; scroll(x: number, y: number): void; scroll(options?: ScrollToOptions): void; scrollBy(x: number, y: number): void; scrollBy(options?: ScrollToOptions): void; scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; scrollTo(x: number, y: number): void; scrollTo(options?: ScrollToOptions): void; setAttribute(name: string, value: TrustedType | string): void; setAttributeDevtools(name: string, value: string): void; setAttributeDevtoolsNS(namespace: string | null, name: string, value: string): void; setAttributeNS(namespace: string | null, name: string, value: TrustedType | string): void; setAttributeNode(newAttr: Attr): Attr | null; setAttributeNodeNS(newAttr: Attr): Attr | null; setCapture(retargetToElement?: boolean): void; setCaptureAlways(retargetToElement?: boolean): void; setHTML(aInnerHTML: string, options?: SetHTMLOptions): void; setHTMLUnsafe(html: TrustedHTML | string, options?: SetHTMLUnsafeOptions): void; setPointerCapture(pointerId: number): void; toggleAttribute(name: string, force?: boolean): boolean; webkitMatchesSelector(selector: string): boolean; addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Element: { prototype: Element; new(): Element; isInstance: IsInstance; }; interface ElementCSSInlineStyle { readonly attributeStyleMap: StylePropertyMap; readonly style: CSSStyleProperties; } interface ElementInternals extends ARIAMixin { readonly form: Element | null; readonly labels: NodeList; readonly shadowRoot: ShadowRoot | null; readonly states: CustomStateSet; readonly validationAnchor: HTMLElement | null; readonly validationMessage: string; readonly validity: ValidityState; readonly willValidate: boolean; checkValidity(): boolean; reportValidity(): boolean; setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void; setValidity(flags?: ValidityStateFlags, message?: string, anchor?: HTMLElement): void; } declare var ElementInternals: { prototype: ElementInternals; new(): ElementInternals; isInstance: IsInstance; }; interface ElementOffsetAttributes { readonly offsetHeight: number; readonly offsetLeft: number; readonly offsetParent: Element | null; readonly offsetTop: number; readonly offsetWidth: number; } interface EncodedAudioChunk { readonly byteLength: number; readonly duration: number | null; readonly timestamp: number; readonly type: EncodedAudioChunkType; copyTo(destination: AllowSharedBufferSource): void; } declare var EncodedAudioChunk: { prototype: EncodedAudioChunk; new(init: EncodedAudioChunkInit): EncodedAudioChunk; isInstance: IsInstance; }; interface EncodedVideoChunk { readonly byteLength: number; readonly duration: number | null; readonly timestamp: number; readonly type: EncodedVideoChunkType; copyTo(destination: AllowSharedBufferSource): void; } declare var EncodedVideoChunk: { prototype: EncodedVideoChunk; new(init: EncodedVideoChunkInit): EncodedVideoChunk; isInstance: IsInstance; }; interface ErrorEvent extends Event { readonly colno: number; readonly error: any; readonly filename: string; readonly lineno: number; readonly message: string; } declare var ErrorEvent: { prototype: ErrorEvent; new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent; isInstance: IsInstance; }; interface Event { readonly bubbles: boolean; cancelBubble: boolean; readonly cancelable: boolean; readonly composed: boolean; readonly composedTarget: EventTarget | null; readonly currentTarget: EventTarget | null; readonly defaultPrevented: boolean; readonly defaultPreventedByChrome: boolean; readonly defaultPreventedByContent: boolean; readonly eventPhase: number; readonly explicitOriginalTarget: EventTarget | null; readonly isReplyEventFromRemoteContent: boolean; readonly isSynthesized: boolean; readonly isTrusted: boolean; readonly isWaitingReplyFromRemoteContent: boolean; readonly multipleActionsPrevented: boolean; readonly originalTarget: EventTarget | null; returnValue: boolean; readonly target: EventTarget | null; readonly timeStamp: DOMHighResTimeStamp; readonly type: string; composedPath(): EventTarget[]; initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; preventDefault(): void; preventMultipleActions(): void; requestReplyFromRemoteContent(): void; stopImmediatePropagation(): void; stopPropagation(): void; readonly NONE: 0; readonly CAPTURING_PHASE: 1; readonly AT_TARGET: 2; readonly BUBBLING_PHASE: 3; readonly ALT_MASK: 0x00000001; readonly CONTROL_MASK: 0x00000002; readonly SHIFT_MASK: 0x00000004; readonly META_MASK: 0x00000008; } declare var Event: { prototype: Event; new(type: string, eventInitDict?: EventInit): Event; readonly NONE: 0; readonly CAPTURING_PHASE: 1; readonly AT_TARGET: 2; readonly BUBBLING_PHASE: 3; readonly ALT_MASK: 0x00000001; readonly CONTROL_MASK: 0x00000002; readonly SHIFT_MASK: 0x00000004; readonly META_MASK: 0x00000008; isInstance: IsInstance; }; interface EventCallbackDebuggerNotification extends CallbackDebuggerNotification { readonly event: Event; readonly targetType: EventCallbackDebuggerNotificationType; } declare var EventCallbackDebuggerNotification: { prototype: EventCallbackDebuggerNotification; new(): EventCallbackDebuggerNotification; isInstance: IsInstance; }; interface EventCounts { forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void; } declare var EventCounts: { prototype: EventCounts; new(): EventCounts; isInstance: IsInstance; }; interface EventHandler { } interface EventListenerOrEventListenerObject { } interface EventSourceEventMap { "error": Event; "message": Event; "open": Event; } interface EventSource extends EventTarget { onerror: ((this: EventSource, ev: Event) => any) | null; onmessage: ((this: EventSource, ev: Event) => any) | null; onopen: ((this: EventSource, ev: Event) => any) | null; readonly readyState: number; readonly url: string; readonly withCredentials: boolean; close(): void; readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSED: 2; addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var EventSource: { prototype: EventSource; new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSED: 2; isInstance: IsInstance; }; interface EventTarget { readonly ownerGlobal: WindowProxy | null; addEventListener(type: string, listener: EventListener | null, options?: AddEventListenerOptions | boolean, wantsUntrusted?: boolean | null): void; dispatchEvent(event: Event): boolean; getEventHandler(type: string): EventHandler; removeEventListener(type: string, listener: EventListener | null, options?: EventListenerOptions | boolean): void; setEventHandler(type: string, handler: EventHandler): void; } declare var EventTarget: { prototype: EventTarget; new(): EventTarget; isInstance: IsInstance; }; interface Exception extends ExceptionMembers { readonly message: string; readonly name: string; toString(): string; } interface ExceptionMembers { readonly columnNumber: number; readonly data: nsISupports | null; readonly filename: string; readonly lineNumber: number; readonly location: StackFrame | null; readonly result: number; readonly stack: string; } interface External { AddSearchProvider(): void; IsSearchProviderInstalled(): void; } interface FeaturePolicy { allowedFeatures(): string[]; allowsFeature(feature: string, origin?: string): boolean; features(): string[]; getAllowlistForFeature(feature: string): string[]; } interface FeaturePolicyViolationReportBody extends ReportBody { readonly columnNumber: number | null; readonly disposition: string; readonly featureId: string; readonly lineNumber: number | null; readonly sourceFile: string | null; } declare var FeaturePolicyViolationReportBody: { prototype: FeaturePolicyViolationReportBody; new(): FeaturePolicyViolationReportBody; isInstance: IsInstance; }; interface FetchObserverEventMap { "requestprogress": Event; "responseprogress": Event; "statechange": Event; } interface FetchObserver extends EventTarget { onrequestprogress: ((this: FetchObserver, ev: Event) => any) | null; onresponseprogress: ((this: FetchObserver, ev: Event) => any) | null; onstatechange: ((this: FetchObserver, ev: Event) => any) | null; readonly state: FetchState; addEventListener(type: K, listener: (this: FetchObserver, ev: FetchObserverEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: FetchObserver, ev: FetchObserverEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var FetchObserver: { prototype: FetchObserver; new(): FetchObserver; isInstance: IsInstance; }; interface File extends Blob { readonly lastModified: number; readonly mozFullPath: string; readonly name: string; readonly webkitRelativePath: string; setMozRelativePath(name: string): void; } declare var File: { prototype: File; new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; isInstance: IsInstance; createFromFileName(fileName: string, options?: ChromeFilePropertyBag): Promise; createFromNsIFile(file: nsIFile, options?: ChromeFilePropertyBag): Promise; }; interface FileList { readonly length: number; item(index: number): File | null; [index: number]: File; } declare var FileList: { prototype: FileList; new(): FileList; isInstance: IsInstance; }; interface FileReaderEventMap { "abort": Event; "error": Event; "load": Event; "loadend": Event; "loadstart": Event; "progress": Event; } interface FileReader extends EventTarget { readonly error: DOMException | null; onabort: ((this: FileReader, ev: Event) => any) | null; onerror: ((this: FileReader, ev: Event) => any) | null; onload: ((this: FileReader, ev: Event) => any) | null; onloadend: ((this: FileReader, ev: Event) => any) | null; onloadstart: ((this: FileReader, ev: Event) => any) | null; onprogress: ((this: FileReader, ev: Event) => any) | null; readonly readyState: number; readonly result: string | ArrayBuffer | null; abort(): void; readAsArrayBuffer(blob: Blob): void; readAsBinaryString(filedata: Blob): void; readAsDataURL(blob: Blob): void; readAsText(blob: Blob, label?: string): void; readonly EMPTY: 0; readonly LOADING: 1; readonly DONE: 2; addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var FileReader: { prototype: FileReader; new(): FileReader; readonly EMPTY: 0; readonly LOADING: 1; readonly DONE: 2; isInstance: IsInstance; }; interface FileSystem { readonly name: string; readonly root: FileSystemDirectoryEntry; } declare var FileSystem: { prototype: FileSystem; new(): FileSystem; isInstance: IsInstance; }; interface FileSystemDirectoryEntry extends FileSystemEntry { createReader(): FileSystemDirectoryReader; getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; getFile(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemDirectoryEntry: { prototype: FileSystemDirectoryEntry; new(): FileSystemDirectoryEntry; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface FileSystemDirectoryHandle extends FileSystemHandle { getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise; getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise; removeEntry(name: string, options?: FileSystemRemoveOptions): Promise; resolve(possibleDescendant: FileSystemHandle): Promise; } declare var FileSystemDirectoryHandle: { prototype: FileSystemDirectoryHandle; new(): FileSystemDirectoryHandle; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface FileSystemDirectoryIterator { next(): Promise; } interface FileSystemDirectoryReader { readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemDirectoryReader: { prototype: FileSystemDirectoryReader; new(): FileSystemDirectoryReader; isInstance: IsInstance; }; interface FileSystemEntry { readonly filesystem: FileSystem; readonly fullPath: string; readonly isDirectory: boolean; readonly isFile: boolean; readonly name: string; getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemEntry: { prototype: FileSystemEntry; new(): FileSystemEntry; isInstance: IsInstance; }; interface FileSystemFileEntry extends FileSystemEntry { file(successCallback: FileCallback, errorCallback?: ErrorCallback): void; } declare var FileSystemFileEntry: { prototype: FileSystemFileEntry; new(): FileSystemFileEntry; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface FileSystemFileHandle extends FileSystemHandle { createWritable(options?: FileSystemCreateWritableOptions): Promise; getFile(): Promise; } declare var FileSystemFileHandle: { prototype: FileSystemFileHandle; new(): FileSystemFileHandle; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface FileSystemHandle { readonly kind: FileSystemHandleKind; readonly name: string; isSameEntry(other: FileSystemHandle): Promise; move(name: string): Promise; move(parent: FileSystemDirectoryHandle): Promise; move(parent: FileSystemDirectoryHandle, name: string): Promise; } declare var FileSystemHandle: { prototype: FileSystemHandle; new(): FileSystemHandle; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface FileSystemWritableFileStream extends WritableStream { seek(position: number): Promise; truncate(size: number): Promise; write(data: FileSystemWriteChunkType): Promise; } declare var FileSystemWritableFileStream: { prototype: FileSystemWritableFileStream; new(): FileSystemWritableFileStream; isInstance: IsInstance; }; interface Flex { readonly crossAxisDirection: FlexPhysicalDirection; readonly mainAxisDirection: FlexPhysicalDirection; getLines(): FlexLineValues[]; } declare var Flex: { prototype: Flex; new(): Flex; isInstance: IsInstance; }; interface FlexItemValues { readonly clampState: FlexItemClampState; readonly crossMaxSize: number; readonly crossMinSize: number; readonly frameRect: DOMRectReadOnly; readonly mainBaseSize: number; readonly mainDeltaSize: number; readonly mainMaxSize: number; readonly mainMinSize: number; readonly node: Node | null; } declare var FlexItemValues: { prototype: FlexItemValues; new(): FlexItemValues; isInstance: IsInstance; }; interface FlexLineValues { readonly crossSize: number; readonly crossStart: number; readonly firstBaselineOffset: number; readonly growthState: FlexLineGrowthState; readonly lastBaselineOffset: number; getItems(): FlexItemValues[]; } declare var FlexLineValues: { prototype: FlexLineValues; new(): FlexLineValues; isInstance: IsInstance; }; interface FluentBundle { readonly locales: string[]; addResource(aResource: FluentResource, aOptions?: FluentBundleAddResourceOptions): void; formatPattern(pattern: FluentPattern, aArgs?: L10nArgs | null, aErrors?: any): string; getMessage(id: string): FluentMessage | null; hasMessage(id: string): boolean; } declare var FluentBundle: { prototype: FluentBundle; new(aLocales: string | string[], aOptions?: FluentBundleOptions): FluentBundle; isInstance: IsInstance; }; interface FluentBundleAsyncIterator { next(): Promise; values(): FluentBundleAsyncIterator; } interface FluentBundleIterator { next(): FluentBundleIteratorResult; values(): FluentBundleIterator; } interface FluentPattern { } declare var FluentPattern: { prototype: FluentPattern; new(): FluentPattern; isInstance: IsInstance; }; interface FluentResource { textElements(): FluentTextElementItem[]; } declare var FluentResource: { prototype: FluentResource; new(source: string): FluentResource; isInstance: IsInstance; }; interface FocusEvent extends UIEvent { readonly relatedTarget: EventTarget | null; } declare var FocusEvent: { prototype: FocusEvent; new(typeArg: string, focusEventInitDict?: FocusEventInit): FocusEvent; isInstance: IsInstance; }; interface FontFace { ascentOverride: string; descentOverride: string; display: string; family: string; featureSettings: string; lineGapOverride: string; readonly loaded: Promise; sizeAdjust: string; readonly status: FontFaceLoadStatus; stretch: string; style: string; unicodeRange: string; variant: string; variationSettings: string; weight: string; load(): Promise; } declare var FontFace: { prototype: FontFace; new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace; isInstance: IsInstance; }; interface FontFaceSetEventMap { "loading": Event; "loadingdone": Event; "loadingerror": Event; } interface FontFaceSet extends EventTarget { onloading: ((this: FontFaceSet, ev: Event) => any) | null; onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null; onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null; readonly ready: Promise; readonly size: number; readonly status: FontFaceSetLoadStatus; add(font: FontFace): void; check(font: string, text?: string): boolean; clear(): void; delete(font: FontFace): boolean; entries(): FontFaceSetIterator; forEach(cb: FontFaceSetForEachCallback, thisArg?: any): void; has(font: FontFace): boolean; load(font: string, text?: string): Promise; values(): FontFaceSetIterator; addEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var FontFaceSet: { prototype: FontFaceSet; new(): FontFaceSet; isInstance: IsInstance; }; interface FontFaceSetIterator { next(): FontFaceSetIteratorResult; } interface FontFaceSetLoadEvent extends Event { readonly fontfaces: FontFace[]; } declare var FontFaceSetLoadEvent: { prototype: FontFaceSetLoadEvent; new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent; isInstance: IsInstance; }; interface FontFaceSource { readonly fonts: FontFaceSet; } interface FormData { append(name: string, value: Blob, filename?: string): void; append(name: string, value: string): void; delete(name: string): void; get(name: string): FormDataEntryValue | null; getAll(name: string): FormDataEntryValue[]; has(name: string): boolean; set(name: string, value: Blob, filename?: string): void; set(name: string, value: string): void; forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void; } declare var FormData: { prototype: FormData; new(form?: HTMLFormElement, submitter?: HTMLElement | null): FormData; isInstance: IsInstance; }; interface FormDataEvent extends Event { readonly formData: FormData; } declare var FormDataEvent: { prototype: FormDataEvent; new(type: string, eventInitDict?: FormDataEventInit): FormDataEvent; isInstance: IsInstance; }; interface FragmentDirective { createTextDirectiveForRanges(ranges: Range[]): Promise; getTextDirectiveRanges(): Range[]; removeAllTextDirectives(): void; } declare var FragmentDirective: { prototype: FragmentDirective; new(): FragmentDirective; isInstance: IsInstance; }; interface FrameCrashedEvent extends Event { readonly browsingContextId: number; readonly childID: number; readonly isTopFrame: boolean; } declare var FrameCrashedEvent: { prototype: FrameCrashedEvent; new(type: string, eventInitDict?: FrameCrashedEventInit): FrameCrashedEvent; isInstance: IsInstance; }; interface FrameLoader extends WebBrowserPersistable { readonly browsingContext: BrowsingContext | null; readonly childID: number; readonly depthTooGreat: boolean; readonly docShell: nsIDocShell | null; readonly isDead: boolean; readonly isRemoteFrame: boolean; readonly lazyHeight: number; readonly lazyWidth: number; readonly loadContext: LoadContext | null; readonly messageManager: MessageSender | null; readonly ownerElement: Element | null; readonly remoteTab: RemoteTab | null; exitPrintPreview(): void; printPreview(aPrintSettings: nsIPrintSettings, aSourceBrowsingContext: BrowsingContext | null): Promise; requestEpochUpdate(aEpoch: number): void; requestSHistoryUpdate(): void; requestTabStateFlush(): Promise; requestUpdatePosition(): void; } declare var FrameLoader: { prototype: FrameLoader; new(): FrameLoader; isInstance: IsInstance; }; interface FrameScriptLoader { getDelayedFrameScripts(): any[][]; loadFrameScript(url: string, allowDelayedLoad: boolean, runInGlobalScope?: boolean): void; removeDelayedFrameScript(url: string): void; } /** Available only in secure contexts. */ interface GPU { readonly wgslLanguageFeatures: WGSLLanguageFeatures; getPreferredCanvasFormat(): GPUTextureFormat; requestAdapter(options?: GPURequestAdapterOptions): Promise; } declare var GPU: { prototype: GPU; new(): GPU; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUAdapter { readonly features: GPUSupportedFeatures; readonly info: GPUAdapterInfo; readonly limits: GPUSupportedLimits; readonly missingFeatures: number; requestDevice(descriptor?: GPUDeviceDescriptor): Promise; } declare var GPUAdapter: { prototype: GPUAdapter; new(): GPUAdapter; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUAdapterInfo { readonly architecture: string; readonly description: string; readonly device: string; readonly isFallbackAdapter: boolean; readonly subgroupMaxSize: number; readonly subgroupMinSize: number; readonly vendor: string; readonly wgpuBackend: string; readonly wgpuDevice: number; readonly wgpuDeviceType: string; readonly wgpuDriver: string; readonly wgpuDriverInfo: string; readonly wgpuName: string; readonly wgpuVendor: number; } declare var GPUAdapterInfo: { prototype: GPUAdapterInfo; new(): GPUAdapterInfo; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUBindGroup extends GPUObjectBase { } declare var GPUBindGroup: { prototype: GPUBindGroup; new(): GPUBindGroup; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUBindGroupLayout extends GPUObjectBase { } declare var GPUBindGroupLayout: { prototype: GPUBindGroupLayout; new(): GPUBindGroupLayout; isInstance: IsInstance; }; interface GPUBindingCommandsMixin { setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: GPUBufferDynamicOffset[]): void; setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsetsData: Uint32Array, dynamicOffsetsDataStart: GPUSize64, dynamicOffsetsDataLength: GPUSize32): void; } /** Available only in secure contexts. */ interface GPUBuffer extends GPUObjectBase { readonly mapState: GPUBufferMapState; readonly size: GPUSize64Out; readonly usage: GPUFlagsConstant; destroy(): void; getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer; mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise; unmap(): void; } declare var GPUBuffer: { prototype: GPUBuffer; new(): GPUBuffer; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUCanvasContext { readonly canvas: HTMLCanvasElement | OffscreenCanvas; configure(configuration: GPUCanvasConfiguration): void; getConfiguration(): GPUCanvasConfiguration | null; getCurrentTexture(): GPUTexture; unconfigure(): void; } declare var GPUCanvasContext: { prototype: GPUCanvasContext; new(): GPUCanvasContext; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUCommandBuffer extends GPUObjectBase { } declare var GPUCommandBuffer: { prototype: GPUCommandBuffer; new(): GPUCommandBuffer; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUCommandEncoder extends GPUDebugCommandsMixin, GPUObjectBase { beginComputePass(descriptor?: GPUComputePassDescriptor): GPUComputePassEncoder; beginRenderPass(descriptor: GPURenderPassDescriptor): GPURenderPassEncoder; clearBuffer(buffer: GPUBuffer, offset?: GPUSize64, size?: GPUSize64): void; copyBufferToBuffer(source: GPUBuffer, destination: GPUBuffer, size?: GPUSize64): void; copyBufferToBuffer(source: GPUBuffer, sourceOffset: GPUSize64, destination: GPUBuffer, destinationOffset: GPUSize64, size?: GPUSize64): void; copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void; copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: GPUExtent3D): void; copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void; finish(descriptor?: GPUCommandBufferDescriptor): GPUCommandBuffer; resolveQuerySet(querySet: GPUQuerySet, firstQuery: GPUSize32, queryCount: GPUSize32, destination: GPUBuffer, destinationOffset: GPUSize64): void; } declare var GPUCommandEncoder: { prototype: GPUCommandEncoder; new(): GPUCommandEncoder; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUCompilationInfo { readonly messages: GPUCompilationMessage[]; } declare var GPUCompilationInfo: { prototype: GPUCompilationInfo; new(): GPUCompilationInfo; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUCompilationMessage { readonly length: number; readonly lineNum: number; readonly linePos: number; readonly message: string; readonly offset: number; readonly type: GPUCompilationMessageType; } declare var GPUCompilationMessage: { prototype: GPUCompilationMessage; new(): GPUCompilationMessage; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUComputePassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase { dispatchWorkgroups(workgroupCountX: GPUSize32, workgroupCountY?: GPUSize32, workgroupCountZ?: GPUSize32): void; dispatchWorkgroupsIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void; end(): void; setPipeline(pipeline: GPUComputePipeline): void; } declare var GPUComputePassEncoder: { prototype: GPUComputePassEncoder; new(): GPUComputePassEncoder; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUComputePipeline extends GPUObjectBase, GPUPipelineBase { } declare var GPUComputePipeline: { prototype: GPUComputePipeline; new(): GPUComputePipeline; isInstance: IsInstance; }; interface GPUDebugCommandsMixin { insertDebugMarker(markerLabel: string): void; popDebugGroup(): void; pushDebugGroup(groupLabel: string): void; } interface GPUDeviceEventMap { "uncapturederror": Event; } /** Available only in secure contexts. */ interface GPUDevice extends EventTarget, GPUObjectBase { readonly adapterInfo: GPUAdapterInfo; readonly features: GPUSupportedFeatures; readonly limits: GPUSupportedLimits; readonly lost: Promise; onuncapturederror: ((this: GPUDevice, ev: Event) => any) | null; readonly queue: GPUQueue; createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup; createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout; createBuffer(descriptor: GPUBufferDescriptor): GPUBuffer; createCommandEncoder(descriptor?: GPUCommandEncoderDescriptor): GPUCommandEncoder; createComputePipeline(descriptor: GPUComputePipelineDescriptor): GPUComputePipeline; createComputePipelineAsync(descriptor: GPUComputePipelineDescriptor): Promise; createPipelineLayout(descriptor: GPUPipelineLayoutDescriptor): GPUPipelineLayout; createQuerySet(descriptor: GPUQuerySetDescriptor): GPUQuerySet; createRenderBundleEncoder(descriptor: GPURenderBundleEncoderDescriptor): GPURenderBundleEncoder; createRenderPipeline(descriptor: GPURenderPipelineDescriptor): GPURenderPipeline; createRenderPipelineAsync(descriptor: GPURenderPipelineDescriptor): Promise; createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler; createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule; createTexture(descriptor: GPUTextureDescriptor): GPUTexture; destroy(): void; importExternalTexture(descriptor: GPUExternalTextureDescriptor): GPUExternalTexture; popErrorScope(): Promise; pushErrorScope(filter: GPUErrorFilter): void; addEventListener(type: K, listener: (this: GPUDevice, ev: GPUDeviceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: GPUDevice, ev: GPUDeviceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var GPUDevice: { prototype: GPUDevice; new(): GPUDevice; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUDeviceLostInfo { readonly message: string; readonly reason: GPUDeviceLostReason; } declare var GPUDeviceLostInfo: { prototype: GPUDeviceLostInfo; new(): GPUDeviceLostInfo; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUError { readonly message: string; } declare var GPUError: { prototype: GPUError; new(): GPUError; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUExternalTexture extends GPUObjectBase { } declare var GPUExternalTexture: { prototype: GPUExternalTexture; new(): GPUExternalTexture; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUInternalError extends GPUError { } declare var GPUInternalError: { prototype: GPUInternalError; new(message: string): GPUInternalError; isInstance: IsInstance; }; interface GPUObjectBase { label: string; } /** Available only in secure contexts. */ interface GPUOutOfMemoryError extends GPUError { } declare var GPUOutOfMemoryError: { prototype: GPUOutOfMemoryError; new(message: string): GPUOutOfMemoryError; isInstance: IsInstance; }; interface GPUPipelineBase { getBindGroupLayout(index: number): GPUBindGroupLayout; } /** Available only in secure contexts. */ interface GPUPipelineError extends DOMException { readonly reason: GPUPipelineErrorReason; } declare var GPUPipelineError: { prototype: GPUPipelineError; new(message?: string, options: GPUPipelineErrorInit): GPUPipelineError; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUPipelineLayout extends GPUObjectBase { } declare var GPUPipelineLayout: { prototype: GPUPipelineLayout; new(): GPUPipelineLayout; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUQuerySet extends GPUObjectBase { readonly count: GPUSize32Out; readonly type: GPUQueryType; destroy(): void; } declare var GPUQuerySet: { prototype: GPUQuerySet; new(): GPUQuerySet; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUQueue extends GPUObjectBase { copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: GPUExtent3D): void; onSubmittedWorkDone(): Promise; submit(buffers: GPUCommandBuffer[]): void; writeBuffer(buffer: GPUBuffer, bufferOffset: GPUSize64, data: AllowSharedBufferSource, dataOffset?: GPUSize64, size?: GPUSize64): void; writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: GPUExtent3D): void; } declare var GPUQueue: { prototype: GPUQueue; new(): GPUQueue; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPURenderBundle extends GPUObjectBase { } declare var GPURenderBundle: { prototype: GPURenderBundle; new(): GPURenderBundle; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPURenderBundleEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin { finish(descriptor?: GPURenderBundleDescriptor): GPURenderBundle; } declare var GPURenderBundleEncoder: { prototype: GPURenderBundleEncoder; new(): GPURenderBundleEncoder; isInstance: IsInstance; }; interface GPURenderCommandsMixin { draw(vertexCount: GPUSize32, instanceCount?: GPUSize32, firstVertex?: GPUSize32, firstInstance?: GPUSize32): void; drawIndexed(indexCount: GPUSize32, instanceCount?: GPUSize32, firstIndex?: GPUSize32, baseVertex?: GPUSignedOffset32, firstInstance?: GPUSize32): void; drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void; drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void; setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset?: GPUSize64, size?: GPUSize64): void; setPipeline(pipeline: GPURenderPipeline): void; setVertexBuffer(slot: GPUIndex32, buffer: GPUBuffer, offset?: GPUSize64, size?: GPUSize64): void; } /** Available only in secure contexts. */ interface GPURenderPassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin { beginOcclusionQuery(queryIndex: GPUSize32): void; end(): void; endOcclusionQuery(): void; executeBundles(bundles: GPURenderBundle[]): void; setBlendConstant(color: GPUColor): void; setScissorRect(x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate): void; setStencilReference(reference: GPUStencilValue): void; setViewport(x: number, y: number, width: number, height: number, minDepth: number, maxDepth: number): void; } declare var GPURenderPassEncoder: { prototype: GPURenderPassEncoder; new(): GPURenderPassEncoder; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPURenderPipeline extends GPUObjectBase, GPUPipelineBase { } declare var GPURenderPipeline: { prototype: GPURenderPipeline; new(): GPURenderPipeline; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUSampler extends GPUObjectBase { } declare var GPUSampler: { prototype: GPUSampler; new(): GPUSampler; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUShaderModule extends GPUObjectBase { getCompilationInfo(): Promise; } declare var GPUShaderModule: { prototype: GPUShaderModule; new(): GPUShaderModule; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUSupportedFeatures { forEach(callbackfn: (value: string, key: string, parent: GPUSupportedFeatures) => void, thisArg?: any): void; } declare var GPUSupportedFeatures: { prototype: GPUSupportedFeatures; new(): GPUSupportedFeatures; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUSupportedLimits { readonly maxBindGroups: number; readonly maxBindGroupsPlusVertexBuffers: number; readonly maxBindingsPerBindGroup: number; readonly maxBufferSize: number; readonly maxColorAttachmentBytesPerSample: number; readonly maxColorAttachments: number; readonly maxComputeInvocationsPerWorkgroup: number; readonly maxComputeWorkgroupSizeX: number; readonly maxComputeWorkgroupSizeY: number; readonly maxComputeWorkgroupSizeZ: number; readonly maxComputeWorkgroupStorageSize: number; readonly maxComputeWorkgroupsPerDimension: number; readonly maxDynamicStorageBuffersPerPipelineLayout: number; readonly maxDynamicUniformBuffersPerPipelineLayout: number; readonly maxInterStageShaderVariables: number; readonly maxSampledTexturesPerShaderStage: number; readonly maxSamplersPerShaderStage: number; readonly maxStorageBufferBindingSize: number; readonly maxStorageBuffersPerShaderStage: number; readonly maxStorageTexturesPerShaderStage: number; readonly maxTextureArrayLayers: number; readonly maxTextureDimension1D: number; readonly maxTextureDimension2D: number; readonly maxTextureDimension3D: number; readonly maxUniformBufferBindingSize: number; readonly maxUniformBuffersPerShaderStage: number; readonly maxVertexAttributes: number; readonly maxVertexBufferArrayStride: number; readonly maxVertexBuffers: number; readonly minStorageBufferOffsetAlignment: number; readonly minUniformBufferOffsetAlignment: number; } declare var GPUSupportedLimits: { prototype: GPUSupportedLimits; new(): GPUSupportedLimits; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUTexture extends GPUObjectBase { readonly depthOrArrayLayers: GPUIntegerCoordinateOut; readonly dimension: GPUTextureDimension; readonly format: GPUTextureFormat; readonly height: GPUIntegerCoordinateOut; readonly mipLevelCount: GPUIntegerCoordinateOut; readonly sampleCount: GPUSize32Out; readonly usage: GPUFlagsConstant; readonly width: GPUIntegerCoordinateOut; createView(descriptor?: GPUTextureViewDescriptor): GPUTextureView; destroy(): void; } declare var GPUTexture: { prototype: GPUTexture; new(): GPUTexture; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUTextureView extends GPUObjectBase { } declare var GPUTextureView: { prototype: GPUTextureView; new(): GPUTextureView; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUUncapturedErrorEvent extends Event { readonly error: GPUError; } declare var GPUUncapturedErrorEvent: { prototype: GPUUncapturedErrorEvent; new(type: string, gpuUncapturedErrorEventInitDict: GPUUncapturedErrorEventInit): GPUUncapturedErrorEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GPUValidationError extends GPUError { } declare var GPUValidationError: { prototype: GPUValidationError; new(message: string): GPUValidationError; isInstance: IsInstance; }; interface GainNode extends AudioNode, AudioNodePassThrough { readonly gain: AudioParam; } declare var GainNode: { prototype: GainNode; new(context: BaseAudioContext, options?: GainOptions): GainNode; isInstance: IsInstance; }; interface Gamepad { readonly axes: number[]; readonly buttons: GamepadButton[]; readonly connected: boolean; readonly hand: GamepadHand; readonly hapticActuators: GamepadHapticActuator[]; readonly id: string; readonly index: number; readonly lightIndicators: GamepadLightIndicator[]; readonly mapping: GamepadMappingType; readonly pose: GamepadPose | null; readonly timestamp: DOMHighResTimeStamp; readonly touchEvents: GamepadTouch[]; } declare var Gamepad: { prototype: Gamepad; new(): Gamepad; isInstance: IsInstance; }; interface GamepadAxisMoveEvent extends GamepadEvent { readonly axis: number; readonly value: number; } declare var GamepadAxisMoveEvent: { prototype: GamepadAxisMoveEvent; new(type: string, eventInitDict?: GamepadAxisMoveEventInit): GamepadAxisMoveEvent; isInstance: IsInstance; }; interface GamepadButton { readonly pressed: boolean; readonly touched: boolean; readonly value: number; } declare var GamepadButton: { prototype: GamepadButton; new(): GamepadButton; isInstance: IsInstance; }; interface GamepadButtonEvent extends GamepadEvent { readonly button: number; } declare var GamepadButtonEvent: { prototype: GamepadButtonEvent; new(type: string, eventInitDict?: GamepadButtonEventInit): GamepadButtonEvent; isInstance: IsInstance; }; interface GamepadEvent extends Event { readonly gamepad: Gamepad | null; } declare var GamepadEvent: { prototype: GamepadEvent; new(type: string, eventInitDict?: GamepadEventInit): GamepadEvent; isInstance: IsInstance; }; interface GamepadHapticActuator { readonly type: GamepadHapticActuatorType; pulse(value: number, duration: number): Promise; } declare var GamepadHapticActuator: { prototype: GamepadHapticActuator; new(): GamepadHapticActuator; isInstance: IsInstance; }; interface GamepadLightIndicator { readonly type: GamepadLightIndicatorType; setColor(color: GamepadLightColor): Promise; } declare var GamepadLightIndicator: { prototype: GamepadLightIndicator; new(): GamepadLightIndicator; isInstance: IsInstance; }; interface GamepadPose { readonly angularAcceleration: Float32Array | null; readonly angularVelocity: Float32Array | null; readonly hasOrientation: boolean; readonly hasPosition: boolean; readonly linearAcceleration: Float32Array | null; readonly linearVelocity: Float32Array | null; readonly orientation: Float32Array | null; readonly position: Float32Array | null; } declare var GamepadPose: { prototype: GamepadPose; new(): GamepadPose; isInstance: IsInstance; }; interface GamepadServiceTest { readonly leftHand: GamepadHand; readonly noHand: GamepadHand; readonly noMapping: GamepadMappingType; readonly rightHand: GamepadHand; readonly standardMapping: GamepadMappingType; addGamepad(id: string, mapping: GamepadMappingType, hand: GamepadHand, numButtons: number, numAxes: number, numHaptics: number, numLightIndicator: number, numTouchEvents: number): Promise; newAxisMoveEvent(index: number, axis: number, value: number): Promise; newButtonEvent(index: number, button: number, pressed: boolean, touched: boolean): Promise; newButtonValueEvent(index: number, button: number, pressed: boolean, touched: boolean, value: number): Promise; newPoseMove(index: number, orient: Float32Array | null, pos: Float32Array | null, angVelocity: Float32Array | null, angAcceleration: Float32Array | null, linVelocity: Float32Array | null, linAcceleration: Float32Array | null): Promise; newTouch(index: number, aTouchArrayIndex: number, touchId: number, surfaceId: number, position: Float32Array, surfaceDimension: Float32Array | null): Promise; removeGamepad(index: number): Promise; } declare var GamepadServiceTest: { prototype: GamepadServiceTest; new(): GamepadServiceTest; isInstance: IsInstance; }; interface GamepadTouch { readonly position: Float32Array; readonly surfaceDimensions: Uint32Array | null; readonly surfaceId: number; readonly touchId: number; } declare var GamepadTouch: { prototype: GamepadTouch; new(): GamepadTouch; isInstance: IsInstance; }; interface GenericTransformStream { readonly readable: ReadableStream; readonly writable: WritableStream; } interface Geolocation { clearWatch(watchId: number): void; getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void; watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number; } declare var Geolocation: { prototype: Geolocation; new(): Geolocation; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GeolocationCoordinates { 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; toJSON(): any; } declare var GeolocationCoordinates: { prototype: GeolocationCoordinates; new(): GeolocationCoordinates; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface GeolocationPosition { readonly coords: GeolocationCoordinates; readonly timestamp: EpochTimeStamp; toJSON(): any; } declare var GeolocationPosition: { prototype: GeolocationPosition; new(): GeolocationPosition; isInstance: IsInstance; }; interface GeolocationPositionError { readonly code: number; readonly message: string; readonly PERMISSION_DENIED: 1; readonly POSITION_UNAVAILABLE: 2; readonly TIMEOUT: 3; } declare var GeolocationPositionError: { prototype: GeolocationPositionError; new(): GeolocationPositionError; readonly PERMISSION_DENIED: 1; readonly POSITION_UNAVAILABLE: 2; readonly TIMEOUT: 3; isInstance: IsInstance; }; interface GeometryUtils { convertPointFromNode(point: DOMPointInit, from: GeometryNode, options?: ConvertCoordinateOptions): DOMPoint; convertQuadFromNode(quad: DOMQuad, from: GeometryNode, options?: ConvertCoordinateOptions): DOMQuad; convertRectFromNode(rect: DOMRectReadOnly, from: GeometryNode, options?: ConvertCoordinateOptions): DOMQuad; getBoxQuads(options?: BoxQuadOptions): DOMQuad[]; getBoxQuadsFromWindowOrigin(options?: BoxQuadOptions): DOMQuad[]; } interface GetUserMediaRequest { readonly callID: string; readonly devices: nsIMediaDevice[]; readonly innerWindowID: number; readonly isHandlingUserInput: boolean; readonly isSecure: boolean; readonly mediaSource: string; readonly rawID: string; readonly type: GetUserMediaRequestType; readonly windowID: number; getAudioOutputOptions(): AudioOutputOptions; getConstraints(): MediaStreamConstraints; } interface GleanBoolean extends GleanMetric { set(value: boolean): void; testGetValue(aPingName?: string): boolean | null; } declare var GleanBoolean: { prototype: GleanBoolean; new(): GleanBoolean; isInstance: IsInstance; }; interface GleanCategory { } declare var GleanCategory: { prototype: GleanCategory; new(): GleanCategory; isInstance: IsInstance; }; interface GleanCounter extends GleanMetric { add(aAmount?: number): void; testGetValue(aPingName?: string): number | null; } declare var GleanCounter: { prototype: GleanCounter; new(): GleanCounter; isInstance: IsInstance; }; interface GleanCustomDistribution extends GleanMetric { accumulateSamples(aSamples: number[]): void; accumulateSingleSample(aSample: number): void; testGetValue(aPingName?: string): GleanDistributionData | null; } declare var GleanCustomDistribution: { prototype: GleanCustomDistribution; new(): GleanCustomDistribution; isInstance: IsInstance; }; interface GleanDatetime extends GleanMetric { set(aValue?: number): void; testGetValue(aPingName?: string): any; } declare var GleanDatetime: { prototype: GleanDatetime; new(): GleanDatetime; isInstance: IsInstance; }; interface GleanDenominator extends GleanMetric { add(aAmount?: number): void; testGetValue(aPingName?: string): number | null; } declare var GleanDenominator: { prototype: GleanDenominator; new(): GleanDenominator; isInstance: IsInstance; }; interface GleanDualLabeledCounter extends GleanMetric { get(aKey: string, aCategory: string): GleanCounter; } declare var GleanDualLabeledCounter: { prototype: GleanDualLabeledCounter; new(): GleanDualLabeledCounter; isInstance: IsInstance; }; interface GleanEvent extends GleanMetric { record(aExtra?: Record | null): void; testGetValue(aPingName?: string): GleanEventRecord[] | null; } declare var GleanEvent: { prototype: GleanEvent; new(): GleanEvent; isInstance: IsInstance; }; interface GleanImpl { } declare var GleanImpl: { prototype: GleanImpl; new(): GleanImpl; isInstance: IsInstance; }; interface GleanLabeled { testGetValue(aPingName?: string): Record | null; } declare var GleanLabeled: { prototype: GleanLabeled; new(): GleanLabeled; isInstance: IsInstance; }; interface GleanMemoryDistribution extends GleanMetric { accumulate(aSample: number): void; testGetValue(aPingName?: string): GleanDistributionData | null; } declare var GleanMemoryDistribution: { prototype: GleanMemoryDistribution; new(): GleanMemoryDistribution; isInstance: IsInstance; }; interface GleanMetric { } declare var GleanMetric: { prototype: GleanMetric; new(): GleanMetric; isInstance: IsInstance; }; interface GleanNumerator extends GleanMetric { addToNumerator(aAmount?: number): void; testGetValue(aPingName?: string): GleanRateData | null; } declare var GleanNumerator: { prototype: GleanNumerator; new(): GleanNumerator; isInstance: IsInstance; }; interface GleanObject extends GleanMetric { set(value: any): void; testGetValue(aPingName?: string): any; } declare var GleanObject: { prototype: GleanObject; new(): GleanObject; isInstance: IsInstance; }; interface GleanPingsImpl { } declare var GleanPingsImpl: { prototype: GleanPingsImpl; new(): GleanPingsImpl; isInstance: IsInstance; }; interface GleanQuantity extends GleanMetric { set(aValue: number): void; testGetValue(aPingName?: string): number | null; } declare var GleanQuantity: { prototype: GleanQuantity; new(): GleanQuantity; isInstance: IsInstance; }; interface GleanRate extends GleanMetric { addToDenominator(aAmount?: number): void; addToNumerator(aAmount?: number): void; testGetValue(aPingName?: string): GleanRateData | null; } declare var GleanRate: { prototype: GleanRate; new(): GleanRate; isInstance: IsInstance; }; interface GleanString extends GleanMetric { set(aValue: string | null): void; testGetValue(aPingName?: string): string | null; } declare var GleanString: { prototype: GleanString; new(): GleanString; isInstance: IsInstance; }; interface GleanStringList extends GleanMetric { add(value: string): void; set(aValue: string[]): void; testGetValue(aPingName?: string): string[] | null; } declare var GleanStringList: { prototype: GleanStringList; new(): GleanStringList; isInstance: IsInstance; }; interface GleanText extends GleanMetric { set(aValue: string): void; testGetValue(aPingName?: string): string | null; } declare var GleanText: { prototype: GleanText; new(): GleanText; isInstance: IsInstance; }; interface GleanTimespan extends GleanMetric { cancel(): void; setRaw(aDuration: number): void; start(): void; stop(): void; testGetValue(aPingName?: string): number | null; } declare var GleanTimespan: { prototype: GleanTimespan; new(): GleanTimespan; isInstance: IsInstance; }; interface GleanTimingDistribution extends GleanMetric { accumulateSamples(aSamples: number[]): void; accumulateSingleSample(aSample: number): void; cancel(aId: number): void; start(): number; stopAndAccumulate(aId: number): void; testAccumulateRawMillis(aSample: number): void; testGetValue(aPingName?: string): GleanDistributionData | null; } declare var GleanTimingDistribution: { prototype: GleanTimingDistribution; new(): GleanTimingDistribution; isInstance: IsInstance; }; interface GleanUrl extends GleanMetric { set(aValue: string): void; testGetValue(aPingName?: string): string | null; } declare var GleanUrl: { prototype: GleanUrl; new(): GleanUrl; isInstance: IsInstance; }; interface GleanUuid extends GleanMetric { generateAndSet(): void; set(aValue: string): void; testGetValue(aPingName?: string): string | null; } declare var GleanUuid: { prototype: GleanUuid; new(): GleanUuid; isInstance: IsInstance; }; interface GlobalCrypto { readonly crypto: Crypto; } interface GlobalEventHandlersEventMap { "abort": Event; "animationcancel": Event; "animationend": Event; "animationiteration": Event; "animationstart": Event; "auxclick": Event; "beforeinput": Event; "beforematch": Event; "beforetoggle": Event; "blur": Event; "cancel": Event; "canplay": Event; "canplaythrough": Event; "change": Event; "click": Event; "close": Event; "command": Event; "contentvisibilityautostatechange": Event; "contextlost": Event; "contextmenu": Event; "contextrestored": Event; "copy": Event; "cuechange": Event; "cut": Event; "dblclick": Event; "drag": Event; "dragend": Event; "dragenter": Event; "dragexit": Event; "dragleave": Event; "dragover": Event; "dragstart": Event; "drop": Event; "durationchange": Event; "emptied": Event; "ended": Event; "focus": Event; "formdata": Event; "gotpointercapture": Event; "input": Event; "invalid": Event; "keydown": Event; "keypress": Event; "keyup": Event; "load": Event; "loadeddata": Event; "loadedmetadata": Event; "loadstart": Event; "lostpointercapture": Event; "mousedown": Event; "mouseenter": Event; "mouseleave": Event; "mousemove": Event; "mouseout": Event; "mouseover": Event; "mouseup": Event; "mozfullscreenchange": Event; "mozfullscreenerror": Event; "paste": Event; "pause": Event; "play": Event; "playing": Event; "pointercancel": Event; "pointerdown": Event; "pointerenter": Event; "pointerleave": Event; "pointermove": Event; "pointerout": Event; "pointerover": Event; "pointerrawupdate": Event; "pointerup": Event; "progress": Event; "ratechange": Event; "reset": Event; "resize": Event; "scroll": Event; "scrollend": Event; "securitypolicyviolation": Event; "seeked": Event; "seeking": Event; "select": Event; "selectionchange": Event; "selectstart": Event; "slotchange": Event; "stalled": Event; "submit": Event; "suspend": Event; "timeupdate": Event; "toggle": Event; "transitioncancel": Event; "transitionend": Event; "transitionrun": Event; "transitionstart": Event; "volumechange": Event; "waiting": Event; "webkitanimationend": Event; "webkitanimationiteration": Event; "webkitanimationstart": Event; "webkittransitionend": Event; "wheel": Event; } interface GlobalEventHandlers { onabort: ((this: GlobalEventHandlers, ev: Event) => any) | null; onanimationcancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; onanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; onanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; onanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; onauxclick: ((this: GlobalEventHandlers, ev: Event) => any) | null; onbeforeinput: ((this: GlobalEventHandlers, ev: Event) => any) | null; onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null; onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; onblur: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onclick: ((this: GlobalEventHandlers, ev: Event) => any) | null; onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncontentvisibilityautostatechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncontextmenu: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncopy: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; oncut: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondblclick: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondrag: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondragend: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondragenter: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondragexit: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondragleave: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondragover: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondragstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondrop: ((this: GlobalEventHandlers, ev: Event) => any) | null; ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; onfocus: ((this: GlobalEventHandlers, ev: Event) => any) | null; onformdata: ((this: GlobalEventHandlers, ev: Event) => any) | null; ongotpointercapture: ((this: GlobalEventHandlers, ev: Event) => any) | null; oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; onkeydown: ((this: GlobalEventHandlers, ev: Event) => any) | null; onkeypress: ((this: GlobalEventHandlers, ev: Event) => any) | null; onkeyup: ((this: GlobalEventHandlers, ev: Event) => any) | null; onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; onlostpointercapture: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmousedown: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmouseenter: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmouseleave: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmousemove: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmouseout: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmouseover: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmouseup: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmozfullscreenchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onmozfullscreenerror: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpaste: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointercancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointerdown: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointerenter: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointerleave: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointermove: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointerout: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointerover: ((this: GlobalEventHandlers, ev: Event) => any) | null; /** Available only in secure contexts. */ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; onpointerup: ((this: GlobalEventHandlers, ev: Event) => any) | null; onprogress: ((this: GlobalEventHandlers, ev: Event) => any) | null; onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; onresize: ((this: GlobalEventHandlers, ev: Event) => any) | null; onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null; onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: Event) => any) | null; onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null; onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontransitioncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontransitionrun: ((this: GlobalEventHandlers, ev: Event) => any) | null; ontransitionstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; onwheel: ((this: GlobalEventHandlers, ev: Event) => any) | null; addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } interface GlobalPrivacyControl { readonly globalPrivacyControl: boolean; } interface GlobalProcessScriptLoader { readonly initialProcessData: any; readonly sharedData: MozWritableSharedMap; } interface Grid { readonly areas: GridArea[]; readonly cols: GridDimension; readonly rows: GridDimension; } declare var Grid: { prototype: Grid; new(): Grid; isInstance: IsInstance; }; interface GridArea { readonly columnEnd: number; readonly columnStart: number; readonly name: string; readonly rowEnd: number; readonly rowStart: number; readonly type: GridDeclaration; } declare var GridArea: { prototype: GridArea; new(): GridArea; isInstance: IsInstance; }; interface GridDimension { readonly lines: GridLines; readonly tracks: GridTracks; } declare var GridDimension: { prototype: GridDimension; new(): GridDimension; isInstance: IsInstance; }; interface GridLine { readonly breadth: number; readonly names: string[]; readonly negativeNumber: number; readonly number: number; readonly start: number; readonly type: GridDeclaration; } declare var GridLine: { prototype: GridLine; new(): GridLine; isInstance: IsInstance; }; interface GridLines { readonly length: number; item(index: number): GridLine | null; [index: number]: GridLine; } declare var GridLines: { prototype: GridLines; new(): GridLines; isInstance: IsInstance; }; interface GridTrack { readonly breadth: number; readonly start: number; readonly state: GridTrackState; readonly type: GridDeclaration; } declare var GridTrack: { prototype: GridTrack; new(): GridTrack; isInstance: IsInstance; }; interface GridTracks { readonly length: number; item(index: number): GridTrack | null; [index: number]: GridTrack; } declare var GridTracks: { prototype: GridTracks; new(): GridTracks; isInstance: IsInstance; }; 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; isInstance: IsInstance; }; interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { charset: string; coords: string; download: string; hreflang: string; name: string; ping: string; referrerPolicy: string; rel: string; readonly relList: DOMTokenList; rev: string; shape: string; target: string; text: string; type: string; addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLAnchorElement: { prototype: HTMLAnchorElement; new(): HTMLAnchorElement; isInstance: IsInstance; }; interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { alt: string; coords: string; download: string; noHref: boolean; ping: string; referrerPolicy: string; rel: string; readonly relList: DOMTokenList; shape: string; target: string; addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLAreaElement: { prototype: HTMLAreaElement; new(): HTMLAreaElement; isInstance: IsInstance; }; interface HTMLAudioElement extends HTMLMediaElement { addEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLAudioElement: { prototype: HTMLAudioElement; new(): HTMLAudioElement; isInstance: IsInstance; }; interface HTMLBRElement extends HTMLElement { clear: string; readonly isPaddingForEmptyEditor: boolean; readonly isPaddingForEmptyLastLine: boolean; addEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLBRElement: { prototype: HTMLBRElement; new(): HTMLBRElement; isInstance: IsInstance; }; interface HTMLBaseElement extends HTMLElement { href: string; target: string; addEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLBaseElement: { prototype: HTMLBaseElement; new(): HTMLBaseElement; isInstance: IsInstance; }; interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap { } interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { aLink: string; background: string; bgColor: string; link: string; text: string; vLink: string; addEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLBodyElement: { prototype: HTMLBodyElement; new(): HTMLBodyElement; isInstance: IsInstance; }; interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement { command: string; commandForElement: Element | null; disabled: boolean; readonly form: Element | null; formAction: string; formEnctype: string; formMethod: string; formNoValidate: boolean; formTarget: string; readonly labels: NodeList; name: string; type: string; readonly validationMessage: string; readonly validity: ValidityState; value: string; readonly willValidate: boolean; checkValidity(): boolean; reportValidity(): boolean; setCustomValidity(error: string): void; addEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLButtonElement: { prototype: HTMLButtonElement; new(): HTMLButtonElement; isInstance: IsInstance; }; interface HTMLCanvasElement extends HTMLElement { height: number; mozOpaque: boolean; mozPrintCallback: PrintCallback | null; width: number; captureStream(frameRate?: number): CanvasCaptureMediaStream; getContext(contextId: string, contextOptions?: any): nsISupports | null; toBlob(callback: BlobCallback, type?: string, encoderOptions?: any): void; toDataURL(type?: string, encoderOptions?: any): string; transferControlToOffscreen(): OffscreenCanvas; addEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLCanvasElement: { prototype: HTMLCanvasElement; new(): HTMLCanvasElement; isInstance: IsInstance; }; interface HTMLCollectionBase { readonly length: number; item(index: number): Element | null; [index: number]: Element; } interface HTMLCollection extends HTMLCollectionBase { namedItem(name: string): Element | null; } declare var HTMLCollection: { prototype: HTMLCollection; new(): HTMLCollection; isInstance: IsInstance; }; interface HTMLDListElement extends HTMLElement { compact: boolean; addEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLDListElement: { prototype: HTMLDListElement; new(): HTMLDListElement; isInstance: IsInstance; }; interface HTMLDataElement extends HTMLElement { value: string; addEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDataElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLDataElement: { prototype: HTMLDataElement; new(): HTMLDataElement; isInstance: IsInstance; }; interface HTMLDataListElement extends HTMLElement { readonly options: HTMLCollection; addEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLDataListElement: { prototype: HTMLDataListElement; new(): HTMLDataListElement; isInstance: IsInstance; }; interface HTMLDetailsElement extends HTMLElement { name: string; open: boolean; addEventListener(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLDetailsElement: { prototype: HTMLDetailsElement; new(): HTMLDetailsElement; isInstance: IsInstance; }; interface HTMLDialogElement extends HTMLElement { closedBy: string; open: boolean; returnValue: string; close(returnValue?: string): void; requestClose(returnValue?: string): void; show(): void; showModal(): void; addEventListener(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLDialogElement: { prototype: HTMLDialogElement; new(): HTMLDialogElement; isInstance: IsInstance; }; interface HTMLDirectoryElement extends HTMLElement { compact: boolean; addEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDirectoryElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLDirectoryElement: { prototype: HTMLDirectoryElement; new(): HTMLDirectoryElement; isInstance: IsInstance; }; interface HTMLDivElement extends HTMLElement { align: string; addEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLDivElement: { prototype: HTMLDivElement; new(): HTMLDivElement; isInstance: IsInstance; }; interface HTMLDocument extends Document { addEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; [name: string]: any; } declare var HTMLDocument: { prototype: HTMLDocument; new(): HTMLDocument; isInstance: IsInstance; }; interface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap, OnErrorEventHandlerForNodesEventMap, TouchEventHandlersEventMap { } interface HTMLElement extends Element, ElementCSSInlineStyle, ElementOffsetAttributes, GlobalEventHandlers, HTMLOrForeignElement, OnErrorEventHandlerForNodes, TouchEventHandlers { accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; autocorrect: boolean; contentEditable: string; dir: string; draggable: boolean; enterKeyHint: string; hidden: boolean | number | string | null; inert: boolean; innerText: string; inputMode: string; readonly internals: ElementInternals | null; readonly isContentEditable: boolean; readonly isFormAssociatedCustomElement: boolean; lang: string; nonce: string; outerText: string; popover: string | null; spellcheck: boolean; title: string; translate: boolean; attachInternals(): ElementInternals; click(): void; hidePopover(): void; showPopover(options?: ShowPopoverOptions): void; togglePopover(options?: TogglePopoverOptions | boolean): boolean; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLElement: { prototype: HTMLElement; new(): HTMLElement; isInstance: IsInstance; }; interface HTMLEmbedElement extends HTMLElement, MozFrameLoaderOwner, MozObjectLoadingContent { align: string; height: string; name: string; src: string; type: string; width: string; getSVGDocument(): Document | null; addEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLEmbedElement: { prototype: HTMLEmbedElement; new(): HTMLEmbedElement; readonly TYPE_LOADING: 0; readonly TYPE_DOCUMENT: 1; readonly TYPE_FALLBACK: 2; isInstance: IsInstance; }; interface HTMLFieldSetElement extends HTMLElement { disabled: boolean; readonly elements: HTMLCollection; readonly form: Element | null; name: string; readonly type: string; readonly validationMessage: string; readonly validity: ValidityState; readonly willValidate: boolean; checkValidity(): boolean; reportValidity(): boolean; setCustomValidity(error: string): void; addEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLFieldSetElement: { prototype: HTMLFieldSetElement; new(): HTMLFieldSetElement; isInstance: IsInstance; }; interface HTMLFontElement extends HTMLElement { color: string; face: string; size: string; addEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLFontElement: { prototype: HTMLFontElement; new(): HTMLFontElement; isInstance: IsInstance; }; interface HTMLFormControlsCollection extends HTMLCollectionBase { namedItem(name: string): RadioNodeList | Element | null; } declare var HTMLFormControlsCollection: { prototype: HTMLFormControlsCollection; new(): HTMLFormControlsCollection; isInstance: IsInstance; }; interface HTMLFormElement extends HTMLElement { acceptCharset: string; action: string; autocomplete: string; readonly elements: HTMLFormControlsCollection; encoding: string; enctype: string; readonly length: number; method: string; name: string; noValidate: boolean; rel: string; readonly relList: DOMTokenList; target: string; checkValidity(): boolean; reportValidity(): boolean; requestSubmit(submitter?: HTMLElement | null): void; reset(): void; submit(): void; addEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; [index: number]: Element; } declare var HTMLFormElement: { prototype: HTMLFormElement; new(): HTMLFormElement; isInstance: IsInstance; }; interface HTMLFrameElement extends HTMLElement, MozFrameLoaderOwner { readonly contentDocument: Document | null; readonly contentWindow: WindowProxy | null; frameBorder: string; longDesc: string; marginHeight: string; marginWidth: string; name: string; noResize: boolean; scrolling: string; src: string; addEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLFrameElement: { prototype: HTMLFrameElement; new(): HTMLFrameElement; isInstance: IsInstance; }; interface HTMLFrameSetElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap { } interface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers { cols: string; rows: string; addEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLFrameSetElement, ev: HTMLFrameSetElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLFrameSetElement: { prototype: HTMLFrameSetElement; new(): HTMLFrameSetElement; isInstance: IsInstance; }; interface HTMLHRElement extends HTMLElement { align: string; color: string; noShade: boolean; size: string; width: string; addEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLHRElement: { prototype: HTMLHRElement; new(): HTMLHRElement; isInstance: IsInstance; }; interface HTMLHeadElement extends HTMLElement { addEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLHeadElement: { prototype: HTMLHeadElement; new(): HTMLHeadElement; isInstance: IsInstance; }; interface HTMLHeadingElement extends HTMLElement { align: string; addEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLHeadingElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLHeadingElement: { prototype: HTMLHeadingElement; new(): HTMLHeadingElement; isInstance: IsInstance; }; interface HTMLHtmlElement extends HTMLElement { version: string; addEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLHtmlElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLHtmlElement: { prototype: HTMLHtmlElement; new(): HTMLHtmlElement; isInstance: IsInstance; }; interface HTMLHyperlinkElementUtils { hash: string; host: string; hostname: string; href: string; toString(): string; readonly origin: string; password: string; pathname: string; port: string; protocol: string; search: string; username: string; } interface HTMLIFrameElement extends HTMLElement, MozFrameLoaderOwner { align: string; allow: string; allowFullscreen: boolean; readonly contentDocument: Document | null; readonly contentWindow: WindowProxy | null; readonly featurePolicy: FeaturePolicy; frameBorder: string; height: string; loading: string; longDesc: string; marginHeight: string; marginWidth: string; name: string; referrerPolicy: string; readonly sandbox: DOMTokenList; scrolling: string; src: string; srcdoc: TrustedHTML | string; width: string; getSVGDocument(): Document | null; addEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLIFrameElement: { prototype: HTMLIFrameElement; new(): HTMLIFrameElement; isInstance: IsInstance; }; interface HTMLImageElement extends HTMLElement, MozImageLoadingContent { align: string; alt: string; border: string; readonly complete: boolean; crossOrigin: string | null; readonly currentSrc: string; decoding: string; fetchPriority: string; height: number; hspace: number; isMap: boolean; loading: string; longDesc: string; lowsrc: string; name: string; readonly naturalHeight: number; readonly naturalWidth: number; referrerPolicy: string; sizes: string; src: string; srcset: string; useMap: string; vspace: number; width: number; readonly x: number; readonly y: number; decode(): Promise; recognizeCurrentImageText(): Promise; addEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLImageElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLImageElement: { prototype: HTMLImageElement; new(): HTMLImageElement; readonly UNKNOWN_REQUEST: -1; readonly CURRENT_REQUEST: 0; readonly PENDING_REQUEST: 1; isInstance: IsInstance; }; interface HTMLInputElement extends HTMLElement, MozEditableElement, MozImageLoadingContent, PopoverInvokerElement { accept: string; align: string; alpha: boolean; alt: string; autocomplete: string; autofillState: string; capture: string; checked: boolean; colorSpace: string; readonly controllers: XULControllers | null; readonly dateTimeBoxElement: Element | null; defaultChecked: boolean; defaultValue: string; dirName: string; disabled: boolean; files: FileList | null; readonly form: Element | null; formAction: string; formEnctype: string; formMethod: string; formNoValidate: boolean; formTarget: string; readonly hasBeenTypePassword: boolean; height: number; indeterminate: boolean; readonly labels: NodeList | null; readonly lastInteractiveValue: string; readonly list: Element | null; max: string; maxLength: number; min: string; minLength: number; multiple: boolean; name: string; pattern: string; placeholder: string; previewValue: string; readOnly: boolean; required: boolean; revealPassword: boolean; selectionDirection: string | null; selectionEnd: number | null; selectionStart: number | null; size: number; src: string; step: string; readonly textLength: number; type: string; useMap: string; readonly validationMessage: string; readonly validity: ValidityState; value: string; valueAsDate: any; valueAsNumber: number; readonly webkitEntries: FileSystemEntry[]; webkitdirectory: boolean; width: number; readonly willValidate: boolean; checkValidity(): boolean; closeDateTimePicker(): void; getAutocompleteInfo(): AutocompleteInfo | null; getColor(): InputPickerColor; getDateTimeInputBoxValue(): DateTimeValue; getFilesAndDirectories(): Promise<(File | Directory)[]>; getMaximum(): number; getMinimum(): number; getStep(): number; getStepBase(): number; mozGetFileNameArray(): string[]; mozIsTextField(aExcludePassword: boolean): boolean; mozSetDirectory(directoryPath: string): void; mozSetDndFilesAndDirectories(list: (File | Directory)[]): void; mozSetFileArray(files: File[]): void; mozSetFileNameArray(fileNames: string[]): void; openDateTimePicker(initialValue?: DateTimeValue): void; reportValidity(): boolean; select(): void; setCustomValidity(error: string): void; setFocusState(aIsFocused: boolean): void; setOpenState(aIsOpen: boolean): void; setRangeText(replacement: string): void; setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void; setSelectionRange(start: number, end: number, direction?: string): void; setUserInputColor(aColor: InputPickerColor): void; showPicker(): void; stepDown(n?: number): void; stepUp(n?: number): void; updateValidityState(): void; addEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLInputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLInputElement: { prototype: HTMLInputElement; new(): HTMLInputElement; readonly UNKNOWN_REQUEST: -1; readonly CURRENT_REQUEST: 0; readonly PENDING_REQUEST: 1; isInstance: IsInstance; }; interface HTMLLIElement extends HTMLElement { type: string; value: number; addEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLLIElement: { prototype: HTMLLIElement; new(): HTMLLIElement; isInstance: IsInstance; }; interface HTMLLabelElement extends HTMLElement { readonly control: HTMLElement | null; readonly form: Element | null; htmlFor: string; addEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLLabelElement: { prototype: HTMLLabelElement; new(): HTMLLabelElement; isInstance: IsInstance; }; interface HTMLLegendElement extends HTMLElement { align: string; readonly form: Element | null; addEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLLegendElement: { prototype: HTMLLegendElement; new(): HTMLLegendElement; isInstance: IsInstance; }; interface HTMLLinkElement extends HTMLElement, LinkStyle { as: string; readonly blocking: DOMTokenList; charset: string; crossOrigin: string | null; disabled: boolean; fetchPriority: string; href: string; hreflang: string; imageSizes: string; imageSrcset: string; integrity: string; media: string; referrerPolicy: string; rel: string; readonly relList: DOMTokenList; rev: string; readonly sizes: DOMTokenList; target: string; type: string; addEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLLinkElement: { prototype: HTMLLinkElement; new(): HTMLLinkElement; isInstance: IsInstance; }; interface HTMLMapElement extends HTMLElement { readonly areas: HTMLCollection; name: string; addEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLMapElement: { prototype: HTMLMapElement; new(): HTMLMapElement; isInstance: IsInstance; }; interface HTMLMarqueeElement extends HTMLElement { behavior: string; bgColor: string; direction: string; height: string; hspace: number; loop: number; scrollAmount: number; scrollDelay: number; trueSpeed: boolean; vspace: number; width: string; start(): void; stop(): void; addEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMarqueeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLMarqueeElement: { prototype: HTMLMarqueeElement; new(): HTMLMarqueeElement; isInstance: IsInstance; }; interface HTMLMediaElementEventMap extends HTMLElementEventMap { "encrypted": Event; "waitingforkey": Event; } interface HTMLMediaElement extends HTMLElement { readonly allowedToPlay: boolean; readonly audiblePlayTime: number; readonly audioTracks: AudioTrackList; autoplay: boolean; readonly buffered: TimeRanges; readonly computedMuted: boolean; readonly computedVolume: number; controls: boolean; crossOrigin: string | null; readonly currentSrc: string; currentTime: number; defaultMuted: boolean; defaultPlaybackRate: number; readonly duration: number; readonly ended: boolean; readonly error: MediaError | null; readonly inaudiblePlayTime: number; readonly invisiblePlayTime: number; readonly isEncrypted: boolean; readonly isInViewPort: boolean; readonly isSuspendedByInactiveDocOrDocShell: boolean; readonly isVideoDecodingSuspended: boolean; loop: boolean; readonly mediaKeys: MediaKeys | null; mozAllowCasting: boolean; readonly mozAudioCaptured: boolean; readonly mozFragmentEnd: number; mozIsCasting: boolean; readonly mozMediaSourceObject: MediaSource | null; muted: boolean; readonly mutedPlayTime: number; readonly networkState: number; onencrypted: ((this: HTMLMediaElement, ev: Event) => any) | null; onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null; readonly paused: boolean; playbackRate: number; readonly played: TimeRanges; preload: string; preservesPitch: boolean; readonly readyState: number; readonly seekable: TimeRanges; readonly seeking: boolean; /** Available only in secure contexts. */ readonly sinkId: string; src: string; srcObject: MediaStream | null; readonly textTracks: TextTrackList | null; readonly totalAudioPlayTime: number; readonly totalVideoHDRPlayTime: number; readonly totalVideoPlayTime: number; readonly videoTracks: VideoTrackList; readonly visiblePlayTime: number; volume: number; addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack; canPlayType(type: string): string; captureStream(): MediaStream; fastSeek(time: number): void; hasSuspendTaint(): boolean; load(): void; mozCaptureStream(): MediaStream; mozCaptureStreamUntilEnded(): MediaStream; mozGetMetadata(): any; mozRequestDebugInfo(): Promise; mozRequestDebugLog(): Promise; pause(): void; play(): Promise; seekToNextFrame(): Promise; setAudioSinkFailedStartup(): void; setDecodeError(error: string): void; setFormatDiagnosticsReportForMimeType(mimeType: string, error: DecoderDoctorReportType): void; setMediaKeys(mediaKeys: MediaKeys | null): Promise; /** Available only in secure contexts. */ setSinkId(sinkId: string): Promise; setVisible(aVisible: boolean): void; readonly NETWORK_EMPTY: 0; readonly NETWORK_IDLE: 1; readonly NETWORK_LOADING: 2; readonly NETWORK_NO_SOURCE: 3; readonly HAVE_NOTHING: 0; readonly HAVE_METADATA: 1; readonly HAVE_CURRENT_DATA: 2; readonly HAVE_FUTURE_DATA: 3; readonly HAVE_ENOUGH_DATA: 4; addEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMediaElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLMediaElement: { prototype: HTMLMediaElement; new(): HTMLMediaElement; readonly NETWORK_EMPTY: 0; readonly NETWORK_IDLE: 1; readonly NETWORK_LOADING: 2; readonly NETWORK_NO_SOURCE: 3; readonly HAVE_NOTHING: 0; readonly HAVE_METADATA: 1; readonly HAVE_CURRENT_DATA: 2; readonly HAVE_FUTURE_DATA: 3; readonly HAVE_ENOUGH_DATA: 4; isInstance: IsInstance; mozEnableDebugLog(): void; }; interface HTMLMenuElement extends HTMLElement { compact: boolean; addEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMenuElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLMenuElement: { prototype: HTMLMenuElement; new(): HTMLMenuElement; isInstance: IsInstance; }; interface HTMLMetaElement extends HTMLElement { content: string; httpEquiv: string; media: string; name: string; scheme: string; addEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLMetaElement: { prototype: HTMLMetaElement; new(): HTMLMetaElement; isInstance: IsInstance; }; interface HTMLMeterElement extends HTMLElement { high: number; readonly labels: NodeList; low: number; max: number; min: number; optimum: number; value: number; addEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLMeterElement: { prototype: HTMLMeterElement; new(): HTMLMeterElement; isInstance: IsInstance; }; interface HTMLModElement extends HTMLElement { cite: string; dateTime: string; addEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLModElement: { prototype: HTMLModElement; new(): HTMLModElement; isInstance: IsInstance; }; interface HTMLOListElement extends HTMLElement { compact: boolean; reversed: boolean; start: number; type: string; addEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLOListElement: { prototype: HTMLOListElement; new(): HTMLOListElement; isInstance: IsInstance; }; interface HTMLObjectElement extends HTMLElement, MozFrameLoaderOwner, MozObjectLoadingContent { align: string; archive: string; border: string; code: string; codeBase: string; codeType: string; readonly contentDocument: Document | null; readonly contentWindow: WindowProxy | null; data: string; declare: boolean; readonly form: Element | null; height: string; hspace: number; name: string; standby: string; type: string; useMap: string; readonly validationMessage: string; readonly validity: ValidityState; vspace: number; width: string; readonly willValidate: boolean; checkValidity(): boolean; getSVGDocument(): Document | null; reportValidity(): boolean; setCustomValidity(error: string): void; addEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLObjectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLObjectElement: { prototype: HTMLObjectElement; new(): HTMLObjectElement; readonly TYPE_LOADING: 0; readonly TYPE_DOCUMENT: 1; readonly TYPE_FALLBACK: 2; isInstance: IsInstance; }; interface HTMLOptGroupElement extends HTMLElement { disabled: boolean; label: string; addEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLOptGroupElement: { prototype: HTMLOptGroupElement; new(): HTMLOptGroupElement; isInstance: IsInstance; }; interface HTMLOptionElement extends HTMLElement { defaultSelected: boolean; disabled: boolean; readonly form: Element | null; readonly index: number; label: string; selected: boolean; text: string; value: string; addEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLOptionElement: { prototype: HTMLOptionElement; new(): HTMLOptionElement; isInstance: IsInstance; }; interface HTMLOptionsCollection extends HTMLCollectionBase { length: number; selectedIndex: number; add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void; remove(index: number): void; } declare var HTMLOptionsCollection: { prototype: HTMLOptionsCollection; new(): HTMLOptionsCollection; isInstance: IsInstance; }; interface HTMLOrForeignElement { autofocus: boolean; readonly dataset: DOMStringMap; tabIndex: number; blur(): void; focus(options?: FocusOptions): void; } interface HTMLOutputElement extends HTMLElement { defaultValue: string; readonly form: Element | null; readonly htmlFor: DOMTokenList; readonly labels: NodeList; 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(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLOutputElement: { prototype: HTMLOutputElement; new(): HTMLOutputElement; isInstance: IsInstance; }; interface HTMLParagraphElement extends HTMLElement { align: string; addEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLParagraphElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLParagraphElement: { prototype: HTMLParagraphElement; new(): HTMLParagraphElement; isInstance: IsInstance; }; interface HTMLParamElement extends HTMLElement { name: string; type: string; value: string; valueType: string; addEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLParamElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLParamElement: { prototype: HTMLParamElement; new(): HTMLParamElement; isInstance: IsInstance; }; interface HTMLPictureElement extends HTMLElement { addEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPictureElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLPictureElement: { prototype: HTMLPictureElement; new(): HTMLPictureElement; isInstance: IsInstance; }; interface HTMLPreElement extends HTMLElement { width: number; addEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPreElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLPreElement: { prototype: HTMLPreElement; new(): HTMLPreElement; isInstance: IsInstance; }; interface HTMLProgressElement extends HTMLElement { readonly labels: NodeList; max: number; readonly position: number; value: number; addEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLProgressElement: { prototype: HTMLProgressElement; new(): HTMLProgressElement; isInstance: IsInstance; }; interface HTMLQuoteElement extends HTMLElement { cite: string; addEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLQuoteElement: { prototype: HTMLQuoteElement; new(): HTMLQuoteElement; isInstance: IsInstance; }; // @ts-ignore interface HTMLScriptElement extends HTMLElement { async: boolean; readonly blocking: DOMTokenList; charset: string; crossOrigin: string | null; defer: boolean; event: string; fetchPriority: string; htmlFor: string; innerText: TrustedScript | string; integrity: string; noModule: boolean; referrerPolicy: string; src: TrustedScriptURL | string; text: TrustedScript | string; textContent: TrustedScript | string | null; type: string; addEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLScriptElement: { prototype: HTMLScriptElement; new(): HTMLScriptElement; isInstance: IsInstance; supports(type: string): boolean; }; interface HTMLSelectElement extends HTMLElement { autocomplete: string; autofillState: string; disabled: boolean; readonly form: Element | null; readonly isCombobox: boolean; readonly labels: NodeList; length: number; multiple: boolean; name: string; openInParentProcess: boolean; readonly options: HTMLOptionsCollection; previewValue: string; required: boolean; selectedIndex: number; readonly selectedOptions: HTMLCollection; size: number; readonly type: string; readonly validationMessage: string; readonly validity: ValidityState; value: string; readonly willValidate: boolean; add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void; checkValidity(): boolean; getAutocompleteInfo(): AutocompleteInfo; item(index: number): Element | null; namedItem(name: string): HTMLOptionElement | null; remove(index: number): void; remove(): void; reportValidity(): boolean; setCustomValidity(error: string): void; showPicker(): void; userFinishedInteracting(changed: boolean): void; addEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; [index: number]: Element; } declare var HTMLSelectElement: { prototype: HTMLSelectElement; new(): HTMLSelectElement; isInstance: IsInstance; }; interface HTMLSlotElement extends HTMLElement { name: string; assign(...nodes: (Element | Text)[]): void; assignedElements(options?: AssignedNodesOptions): Element[]; assignedNodes(options?: AssignedNodesOptions): Node[]; addEventListener(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSlotElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLSlotElement: { prototype: HTMLSlotElement; new(): HTMLSlotElement; isInstance: IsInstance; }; interface HTMLSourceElement extends HTMLElement { height: number; media: string; sizes: string; src: string; srcset: string; type: string; width: number; addEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLSourceElement: { prototype: HTMLSourceElement; new(): HTMLSourceElement; isInstance: IsInstance; }; interface HTMLSpanElement extends HTMLElement { addEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSpanElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLSpanElement: { prototype: HTMLSpanElement; new(): HTMLSpanElement; isInstance: IsInstance; }; interface HTMLStyleElement extends HTMLElement, LinkStyle { readonly blocking: DOMTokenList; disabled: boolean; media: string; type: string; setDevtoolsAsTriggeringPrincipal(): void; addEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLStyleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLStyleElement: { prototype: HTMLStyleElement; new(): HTMLStyleElement; isInstance: IsInstance; }; interface HTMLTableCaptionElement extends HTMLElement { align: string; addEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTableCaptionElement: { prototype: HTMLTableCaptionElement; new(): HTMLTableCaptionElement; isInstance: IsInstance; }; interface HTMLTableCellElement extends HTMLElement { abbr: string; align: string; axis: string; bgColor: string; readonly cellIndex: number; ch: string; chOff: string; colSpan: number; headers: string; height: string; noWrap: boolean; rowSpan: number; scope: string; vAlign: string; width: string; addEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTableCellElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTableCellElement: { prototype: HTMLTableCellElement; new(): HTMLTableCellElement; isInstance: IsInstance; }; interface HTMLTableColElement extends HTMLElement { align: string; ch: string; chOff: string; span: number; vAlign: string; width: string; addEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTableColElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTableColElement: { prototype: HTMLTableColElement; new(): HTMLTableColElement; isInstance: IsInstance; }; interface HTMLTableElement extends HTMLElement { align: string; bgColor: string; border: string; caption: HTMLTableCaptionElement | null; cellPadding: string; cellSpacing: string; frame: string; readonly rows: HTMLCollection; rules: string; summary: string; readonly tBodies: HTMLCollection; tFoot: HTMLTableSectionElement | null; tHead: HTMLTableSectionElement | null; width: string; createCaption(): HTMLElement; createTBody(): HTMLElement; createTFoot(): HTMLElement; createTHead(): HTMLElement; deleteCaption(): void; deleteRow(index: number): void; deleteTFoot(): void; deleteTHead(): void; insertRow(index?: number): HTMLElement; addEventListener(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTableElement: { prototype: HTMLTableElement; new(): HTMLTableElement; isInstance: IsInstance; }; interface HTMLTableRowElement extends HTMLElement { align: string; bgColor: string; readonly cells: HTMLCollection; ch: string; chOff: string; readonly rowIndex: number; readonly sectionRowIndex: number; vAlign: string; deleteCell(index: number): void; insertCell(index?: number): HTMLElement; addEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTableRowElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTableRowElement: { prototype: HTMLTableRowElement; new(): HTMLTableRowElement; isInstance: IsInstance; }; interface HTMLTableSectionElement extends HTMLElement { align: string; ch: string; chOff: string; readonly rows: HTMLCollection; vAlign: string; deleteRow(index: number): void; insertRow(index?: number): HTMLElement; addEventListener(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTableSectionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTableSectionElement: { prototype: HTMLTableSectionElement; new(): HTMLTableSectionElement; isInstance: IsInstance; }; interface HTMLTemplateElement extends HTMLElement { readonly content: DocumentFragment; shadowRootClonable: boolean; shadowRootDelegatesFocus: boolean; shadowRootMode: string; shadowRootReferenceTarget: string | null; shadowRootSerializable: boolean; addEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTemplateElement: { prototype: HTMLTemplateElement; new(): HTMLTemplateElement; isInstance: IsInstance; }; interface HTMLTextAreaElement extends HTMLElement, MozEditableElement { autocomplete: string; autofillState: string; cols: number; readonly controllers: XULControllers; defaultValue: string; dirName: string; disabled: boolean; readonly form: Element | null; readonly labels: NodeList; maxLength: number; minLength: number; name: string; placeholder: string; previewValue: string; readOnly: boolean; required: boolean; rows: number; selectionDirection: string | null; selectionEnd: number | null; selectionStart: number | null; readonly textLength: number; readonly type: string; readonly validationMessage: string; readonly validity: ValidityState; value: string; readonly willValidate: boolean; wrap: string; checkValidity(): boolean; getAutocompleteInfo(): AutocompleteInfo; reportValidity(): boolean; select(): void; setCustomValidity(error: string): void; setRangeText(replacement: string): void; setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void; setSelectionRange(start: number, end: number, direction?: string): void; addEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTextAreaElement: { prototype: HTMLTextAreaElement; new(): HTMLTextAreaElement; isInstance: IsInstance; }; interface HTMLTimeElement extends HTMLElement { dateTime: string; addEventListener(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTimeElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTimeElement: { prototype: HTMLTimeElement; new(): HTMLTimeElement; isInstance: IsInstance; }; interface HTMLTitleElement extends HTMLElement { text: string; addEventListener(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTitleElement: { prototype: HTMLTitleElement; new(): HTMLTitleElement; isInstance: IsInstance; }; interface HTMLTrackElement extends HTMLElement { default: boolean; kind: string; label: string; readonly readyState: number; src: string; srclang: string; readonly track: TextTrack | null; readonly NONE: 0; readonly LOADING: 1; readonly LOADED: 2; readonly ERROR: 3; addEventListener(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLTrackElement: { prototype: HTMLTrackElement; new(): HTMLTrackElement; readonly NONE: 0; readonly LOADING: 1; readonly LOADED: 2; readonly ERROR: 3; isInstance: IsInstance; }; interface HTMLUListElement extends HTMLElement { compact: boolean; type: string; addEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLUListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLUListElement: { prototype: HTMLUListElement; new(): HTMLUListElement; isInstance: IsInstance; }; interface HTMLUnknownElement extends HTMLElement { addEventListener(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLUnknownElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLUnknownElement: { prototype: HTMLUnknownElement; new(): HTMLUnknownElement; isInstance: IsInstance; }; interface HTMLVideoElement extends HTMLMediaElement { disablePictureInPicture: boolean; height: number; readonly isCloningElementVisually: boolean; readonly mozDecodedFrames: number; readonly mozFrameDelay: number; readonly mozHasAudio: boolean; readonly mozPaintedFrames: number; readonly mozParsedFrames: number; readonly mozPresentedFrames: number; poster: string; readonly videoHeight: number; readonly videoWidth: number; width: number; cancelVideoFrameCallback(handle: number): void; cloneElementVisually(target: HTMLVideoElement): Promise; getVideoPlaybackQuality(): VideoPlaybackQuality; requestVideoFrameCallback(callback: VideoFrameRequestCallback): number; stopCloningElementVisually(): void; addEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLVideoElement, ev: HTMLMediaElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var HTMLVideoElement: { prototype: HTMLVideoElement; new(): HTMLVideoElement; isInstance: IsInstance; }; interface HashChangeEvent extends Event { readonly newURL: string; readonly oldURL: string; } declare var HashChangeEvent: { prototype: HashChangeEvent; new(type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent; isInstance: IsInstance; }; interface Headers { guard: HeadersGuardEnum; append(name: string, value: string): void; delete(name: string): void; get(name: string): string | null; getSetCookie(): string[]; has(name: string): boolean; set(name: string, value: string): void; forEach(callbackfn: (value: string, key: string, parent: Headers) => void, thisArg?: any): void; } declare var Headers: { prototype: Headers; new(init?: HeadersInit): Headers; isInstance: IsInstance; }; interface HeapSnapshot { readonly creationTime: number | null; computeDominatorTree(): DominatorTree; computeShortestPaths(start: NodeId, targets: NodeId[], maxNumPaths: number): any; describeNode(breakdown: any, node: NodeId): any; takeCensus(options: any): any; } declare var HeapSnapshot: { prototype: HeapSnapshot; new(): HeapSnapshot; isInstance: IsInstance; }; interface Highlight { priority: number; type: HighlightType; forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void; } declare var Highlight: { prototype: Highlight; new(...initialRanges: AbstractRange[]): Highlight; isInstance: IsInstance; }; interface HighlightRegistry { highlightsFromPoint(x: number, y: number, options?: HighlightsFromPointOptions): HighlightHitResult[]; forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void; } declare var HighlightRegistry: { prototype: HighlightRegistry; new(): HighlightRegistry; isInstance: IsInstance; }; interface History { readonly length: number; scrollRestoration: ScrollRestoration; readonly state: any; 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; isInstance: IsInstance; }; interface IDBCursor { readonly direction: IDBCursorDirection; readonly key: any; readonly primaryKey: any; readonly request: IDBRequest; readonly source: IDBObjectStore | IDBIndex; advance(count: number): void; continue(key?: any): void; continuePrimaryKey(key: any, primaryKey: any): void; delete(): IDBRequest; update(value: any): IDBRequest; } declare var IDBCursor: { prototype: IDBCursor; new(): IDBCursor; isInstance: IsInstance; }; interface IDBCursorWithValue extends IDBCursor { readonly value: any; } declare var IDBCursorWithValue: { prototype: IDBCursorWithValue; new(): IDBCursorWithValue; isInstance: IsInstance; }; interface IDBDatabaseEventMap { "abort": Event; "close": Event; "error": Event; "versionchange": Event; } interface IDBDatabase extends EventTarget { readonly name: string; readonly objectStoreNames: DOMStringList; onabort: ((this: IDBDatabase, ev: Event) => any) | null; onclose: ((this: IDBDatabase, ev: Event) => any) | null; onerror: ((this: IDBDatabase, ev: Event) => any) | null; onversionchange: ((this: IDBDatabase, ev: Event) => any) | null; readonly version: number; close(): void; createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore; deleteObjectStore(name: string): void; transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction; addEventListener(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var IDBDatabase: { prototype: IDBDatabase; new(): IDBDatabase; isInstance: IsInstance; }; interface IDBFactory { cmp(first: any, second: any): number; databases(): Promise; deleteDatabase(name: string): IDBOpenDBRequest; deleteForPrincipal(principal: Principal, name: string, options?: IDBOpenDBOptions): IDBOpenDBRequest; open(name: string, version?: number): IDBOpenDBRequest; openForPrincipal(principal: Principal, name: string, version: number): IDBOpenDBRequest; openForPrincipal(principal: Principal, name: string, options?: IDBOpenDBOptions): IDBOpenDBRequest; } declare var IDBFactory: { prototype: IDBFactory; new(): IDBFactory; isInstance: IsInstance; }; interface IDBIndex { readonly isAutoLocale: boolean; readonly keyPath: any; readonly locale: string | null; readonly multiEntry: boolean; name: string; readonly objectStore: IDBObjectStore; readonly unique: boolean; count(query?: any): IDBRequest; get(query: any): IDBRequest; getAll(query?: any, count?: number): IDBRequest; getAllKeys(query?: any, count?: number): IDBRequest; getKey(query: any): IDBRequest; openCursor(query?: any, direction?: IDBCursorDirection): IDBRequest; openKeyCursor(query?: any, direction?: IDBCursorDirection): IDBRequest; } declare var IDBIndex: { prototype: IDBIndex; new(): IDBIndex; isInstance: IsInstance; }; interface IDBKeyRange { readonly lower: any; readonly lowerOpen: boolean; readonly upper: any; readonly upperOpen: boolean; includes(key: any): boolean; } declare var IDBKeyRange: { prototype: IDBKeyRange; new(): IDBKeyRange; isInstance: IsInstance; 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 autoIncrement: boolean; readonly indexNames: DOMStringList; readonly keyPath: any; name: string; readonly transaction: IDBTransaction; add(value: any, key?: any): IDBRequest; clear(): IDBRequest; count(key?: any): IDBRequest; createIndex(name: string, keyPath: string | string[], optionalParameters?: IDBIndexParameters): IDBIndex; delete(key: any): IDBRequest; deleteIndex(indexName: string): void; get(key: any): IDBRequest; getAll(query?: any, count?: number): IDBRequest; getAllKeys(query?: any, count?: number): IDBRequest; getKey(key: any): IDBRequest; index(name: string): IDBIndex; openCursor(range?: any, direction?: IDBCursorDirection): IDBRequest; openKeyCursor(query?: any, direction?: IDBCursorDirection): IDBRequest; put(value: any, key?: any): IDBRequest; } declare var IDBObjectStore: { prototype: IDBObjectStore; new(): IDBObjectStore; isInstance: IsInstance; }; interface IDBOpenDBRequestEventMap extends IDBRequestEventMap { "blocked": Event; "upgradeneeded": Event; } interface IDBOpenDBRequest extends IDBRequest { onblocked: ((this: IDBOpenDBRequest, ev: Event) => any) | null; onupgradeneeded: ((this: IDBOpenDBRequest, ev: Event) => any) | null; addEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var IDBOpenDBRequest: { prototype: IDBOpenDBRequest; new(): IDBOpenDBRequest; isInstance: IsInstance; }; interface IDBRequestEventMap { "error": Event; "success": Event; } interface IDBRequest extends EventTarget { readonly error: DOMException | null; onerror: ((this: IDBRequest, ev: Event) => any) | null; onsuccess: ((this: IDBRequest, ev: Event) => any) | null; readonly readyState: IDBRequestReadyState; readonly result: any; readonly source: IDBObjectStore | IDBIndex | IDBCursor | null; readonly transaction: IDBTransaction | null; addEventListener(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: IDBRequest, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var IDBRequest: { prototype: IDBRequest; new(): IDBRequest; isInstance: IsInstance; }; interface IDBTransactionEventMap { "abort": Event; "complete": Event; "error": Event; } interface IDBTransaction extends EventTarget { readonly db: IDBDatabase; readonly durability: IDBTransactionDurability; readonly error: DOMException | null; readonly mode: IDBTransactionMode; readonly objectStoreNames: DOMStringList; onabort: ((this: IDBTransaction, ev: Event) => any) | null; oncomplete: ((this: IDBTransaction, ev: Event) => any) | null; onerror: ((this: IDBTransaction, ev: Event) => any) | null; abort(): void; commit(): void; objectStore(name: string): IDBObjectStore; addEventListener(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var IDBTransaction: { prototype: IDBTransaction; new(): IDBTransaction; isInstance: IsInstance; }; interface IDBVersionChangeEvent extends Event { readonly newVersion: number | null; readonly oldVersion: number; } declare var IDBVersionChangeEvent: { prototype: IDBVersionChangeEvent; new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent; isInstance: IsInstance; }; interface IIRFilterNode extends AudioNode, AudioNodePassThrough { getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; } declare var IIRFilterNode: { prototype: IIRFilterNode; new(context: BaseAudioContext, options: IIRFilterOptions): IIRFilterNode; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface IdentityCredential extends Credential { readonly configURL: string; readonly isAutoSelected: boolean; readonly token: string | null; } declare var IdentityCredential: { prototype: IdentityCredential; new(): IdentityCredential; isInstance: IsInstance; disconnect(options?: IdentityCredentialDisconnectOptions): Promise; }; /** Available only in secure contexts. */ interface IdentityProvider { } declare var IdentityProvider: { prototype: IdentityProvider; new(): IdentityProvider; isInstance: IsInstance; close(): void; resolve(token: string, options?: IdentityResolveOptions): Promise; }; interface IdleDeadline { readonly didTimeout: boolean; timeRemaining(): DOMHighResTimeStamp; } declare var IdleDeadline: { prototype: IdleDeadline; new(): IdleDeadline; isInstance: IsInstance; }; interface ImageBitmap { readonly height: number; readonly width: number; close(): void; } declare var ImageBitmap: { prototype: ImageBitmap; new(): ImageBitmap; isInstance: IsInstance; }; interface ImageBitmapRenderingContext { readonly canvas: CanvasSource | null; transferFromImageBitmap(bitmap: ImageBitmap | null): void; transferImageBitmap(bitmap: ImageBitmap): void; } declare var ImageBitmapRenderingContext: { prototype: ImageBitmapRenderingContext; new(): ImageBitmapRenderingContext; isInstance: IsInstance; }; interface ImageCaptureEventMap { "error": Event; "photo": Event; } interface ImageCapture extends EventTarget { onerror: ((this: ImageCapture, ev: Event) => any) | null; onphoto: ((this: ImageCapture, ev: Event) => any) | null; readonly videoStreamTrack: MediaStreamTrack; takePhoto(): void; addEventListener(type: K, listener: (this: ImageCapture, ev: ImageCaptureEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ImageCapture, ev: ImageCaptureEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ImageCapture: { prototype: ImageCapture; new(track: MediaStreamTrack): ImageCapture; isInstance: IsInstance; }; interface ImageCaptureError { readonly code: number; readonly message: string; readonly FRAME_GRAB_ERROR: 1; readonly SETTINGS_ERROR: 2; readonly PHOTO_ERROR: 3; readonly ERROR_UNKNOWN: 4; } interface ImageCaptureErrorEvent extends Event { readonly imageCaptureError: ImageCaptureError | null; } declare var ImageCaptureErrorEvent: { prototype: ImageCaptureErrorEvent; new(type: string, imageCaptureErrorInitDict?: ImageCaptureErrorEventInit): ImageCaptureErrorEvent; isInstance: IsInstance; }; interface ImageData { readonly data: Uint8ClampedArray; readonly height: number; readonly width: number; } declare var ImageData: { prototype: ImageData; new(sw: number, sh: number): ImageData; new(data: Uint8ClampedArray, sw: number, sh?: number): ImageData; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface ImageDecoder { readonly complete: boolean; readonly completed: Promise; readonly tracks: ImageTrackList; readonly type: string; close(): void; decode(options?: ImageDecodeOptions): Promise; reset(): void; } declare var ImageDecoder: { prototype: ImageDecoder; new(init: ImageDecoderInit): ImageDecoder; isInstance: IsInstance; isTypeSupported(type: string): Promise; }; interface ImageDocument extends HTMLDocument { readonly imageIsOverflowing: boolean; readonly imageIsResized: boolean; restoreImage(): void; shrinkToFit(): void; addEventListener(type: K, listener: (this: ImageDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ImageDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ImageDocument: { prototype: ImageDocument; new(): ImageDocument; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface ImageTrack { readonly animated: boolean; readonly frameCount: number; readonly repetitionCount: number; selected: boolean; getSizes(): ImageSize[]; } declare var ImageTrack: { prototype: ImageTrack; new(): ImageTrack; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface ImageTrackList { readonly length: number; readonly ready: Promise; readonly selectedIndex: number; readonly selectedTrack: ImageTrack | null; [index: number]: ImageTrack; } declare var ImageTrackList: { prototype: ImageTrackList; new(): ImageTrackList; isInstance: IsInstance; }; interface InferenceSession { readonly inputNames: string[]; readonly outputNames: string[]; endProfiling(): void; release(): Promise; run(feeds: InferenceSessionFeedsType, options?: InferenceSessionRunOptions): Promise; startProfiling(): void; } declare var InferenceSession: { prototype: InferenceSession; new(): InferenceSession; isInstance: IsInstance; create(uriOrBuffer: string | Uint8Array, options?: InferenceSessionSessionOptions): Promise; }; interface InputEvent extends UIEvent { readonly data: string | null; readonly dataTransfer: DataTransfer | null; readonly inputType: string; readonly isComposing: boolean; getTargetRanges(): StaticRange[]; } declare var InputEvent: { prototype: InputEvent; new(type: string, eventInitDict?: InputEventInit): InputEvent; isInstance: IsInstance; }; interface InspectorCSSParser { readonly columnNumber: number; readonly lineNumber: number; nextToken(): InspectorCSSToken | null; } declare var InspectorCSSParser: { prototype: InspectorCSSParser; new(text: string): InspectorCSSParser; isInstance: IsInstance; }; interface InspectorFontFace { readonly CSSFamilyName: string; readonly CSSGeneric: string; readonly URI: string; readonly format: string; readonly fromFontGroup: boolean; readonly fromLanguagePrefs: boolean; readonly fromSystemFallback: boolean; readonly localName: string; readonly metadata: string; readonly name: string; readonly ranges: Range[]; readonly rule: CSSFontFaceRule | null; readonly srcIndex: number; getFeatures(): InspectorFontFeature[]; getNameString(id: number): string; getVariationAxes(): InspectorVariationAxis[]; getVariationInstances(): InspectorVariationInstance[]; readonly NAME_ID_COPYRIGHT: 0; readonly NAME_ID_FAMILY: 1; readonly NAME_ID_SUBFAMILY: 2; readonly NAME_ID_UNIQUE: 3; readonly NAME_ID_FULL: 4; readonly NAME_ID_VERSION: 5; readonly NAME_ID_POSTSCRIPT: 6; readonly NAME_ID_TRADEMARK: 7; readonly NAME_ID_MANUFACTURER: 8; readonly NAME_ID_DESIGNER: 9; readonly NAME_ID_DESCRIPTION: 10; readonly NAME_ID_VENDOR_URL: 11; readonly NAME_ID_DESIGNER_URL: 12; readonly NAME_ID_LICENSE: 13; readonly NAME_ID_LICENSE_URL: 14; readonly NAME_ID_TYPOGRAPHIC_FAMILY: 16; readonly NAME_ID_TYPOGRAPHIC_SUBFAMILY: 17; readonly NAME_ID_COMPATIBLE_FULL: 18; readonly NAME_ID_SAMPLE_TEXT: 19; } declare var InspectorFontFace: { prototype: InspectorFontFace; new(): InspectorFontFace; readonly NAME_ID_COPYRIGHT: 0; readonly NAME_ID_FAMILY: 1; readonly NAME_ID_SUBFAMILY: 2; readonly NAME_ID_UNIQUE: 3; readonly NAME_ID_FULL: 4; readonly NAME_ID_VERSION: 5; readonly NAME_ID_POSTSCRIPT: 6; readonly NAME_ID_TRADEMARK: 7; readonly NAME_ID_MANUFACTURER: 8; readonly NAME_ID_DESIGNER: 9; readonly NAME_ID_DESCRIPTION: 10; readonly NAME_ID_VENDOR_URL: 11; readonly NAME_ID_DESIGNER_URL: 12; readonly NAME_ID_LICENSE: 13; readonly NAME_ID_LICENSE_URL: 14; readonly NAME_ID_TYPOGRAPHIC_FAMILY: 16; readonly NAME_ID_TYPOGRAPHIC_SUBFAMILY: 17; readonly NAME_ID_COMPATIBLE_FULL: 18; readonly NAME_ID_SAMPLE_TEXT: 19; isInstance: IsInstance; }; interface IntegrityViolationReportBody extends ReportBody { readonly blockedURL: string; readonly destination: string; readonly documentURL: string; readonly reason: IntegrityViolationReason | null; readonly reportOnly: boolean; toJSON(): any; } declare var IntegrityViolationReportBody: { prototype: IntegrityViolationReportBody; new(): IntegrityViolationReportBody; isInstance: IsInstance; }; interface IntersectionObserver { readonly root: Node | null; readonly rootMargin: string; readonly scrollMargin: string; readonly thresholds: number[]; disconnect(): void; observe(target: Element): void; takeRecords(): IntersectionObserverEntry[]; unobserve(target: Element): void; } declare var IntersectionObserver: { prototype: IntersectionObserver; new(intersectionCallback: IntersectionCallback, options?: IntersectionObserverInit): IntersectionObserver; isInstance: IsInstance; }; interface IntersectionObserverEntry { readonly boundingClientRect: DOMRectReadOnly; readonly intersectionRatio: number; readonly intersectionRect: DOMRectReadOnly; readonly isIntersecting: boolean; readonly rootBounds: DOMRectReadOnly | null; readonly target: Element; readonly time: DOMHighResTimeStamp; } declare var IntersectionObserverEntry: { prototype: IntersectionObserverEntry; new(): IntersectionObserverEntry; isInstance: IsInstance; }; interface IntlUtils { getDisplayNames(locales: string[], options?: DisplayNameOptions): DisplayNameResult; isAppLocaleRTL(): boolean; } interface JSActor { readonly name: string; sendAsyncMessage(messageName: string, obj?: any, transferables?: any): void; sendQuery(messageName: string, obj?: any): Promise; } interface JSProcessActorChild extends JSActor { readonly manager: nsIDOMProcessChild; } declare var JSProcessActorChild: { prototype: JSProcessActorChild; new(): JSProcessActorChild; isInstance: IsInstance; }; interface JSProcessActorParent extends JSActor { readonly manager: nsIDOMProcessParent; } declare var JSProcessActorParent: { prototype: JSProcessActorParent; new(): JSProcessActorParent; isInstance: IsInstance; }; interface JSString { } interface JSWindowActorChild extends JSActor { readonly browsingContext: BrowsingContext | null; readonly contentWindow: WindowProxy | null; readonly docShell: nsIDocShell | null; readonly document: Document | null; readonly manager: WindowGlobalChild | null; readonly windowContext: WindowContext | null; } declare var JSWindowActorChild: { prototype: JSWindowActorChild; new(): JSWindowActorChild; isInstance: IsInstance; }; interface JSWindowActorParent extends JSActor { readonly browsingContext: CanonicalBrowsingContext | null; readonly manager: WindowGlobalParent | null; readonly windowContext: WindowContext | null; } declare var JSWindowActorParent: { prototype: JSWindowActorParent; new(): JSWindowActorParent; isInstance: IsInstance; }; interface KeyEvent extends KeyEventMixin { } declare var KeyEvent: { prototype: KeyEvent; new(): KeyEvent; readonly DOM_VK_CANCEL: 0x03; readonly DOM_VK_HELP: 0x06; readonly DOM_VK_BACK_SPACE: 0x08; readonly DOM_VK_TAB: 0x09; readonly DOM_VK_CLEAR: 0x0C; readonly DOM_VK_RETURN: 0x0D; readonly DOM_VK_SHIFT: 0x10; readonly DOM_VK_CONTROL: 0x11; readonly DOM_VK_ALT: 0x12; readonly DOM_VK_PAUSE: 0x13; readonly DOM_VK_CAPS_LOCK: 0x14; readonly DOM_VK_KANA: 0x15; readonly DOM_VK_HANGUL: 0x15; readonly DOM_VK_EISU: 0x16; readonly DOM_VK_JUNJA: 0x17; readonly DOM_VK_FINAL: 0x18; readonly DOM_VK_HANJA: 0x19; readonly DOM_VK_KANJI: 0x19; readonly DOM_VK_ESCAPE: 0x1B; readonly DOM_VK_CONVERT: 0x1C; readonly DOM_VK_NONCONVERT: 0x1D; readonly DOM_VK_ACCEPT: 0x1E; readonly DOM_VK_MODECHANGE: 0x1F; readonly DOM_VK_SPACE: 0x20; readonly DOM_VK_PAGE_UP: 0x21; readonly DOM_VK_PAGE_DOWN: 0x22; readonly DOM_VK_END: 0x23; readonly DOM_VK_HOME: 0x24; readonly DOM_VK_LEFT: 0x25; readonly DOM_VK_UP: 0x26; readonly DOM_VK_RIGHT: 0x27; readonly DOM_VK_DOWN: 0x28; readonly DOM_VK_SELECT: 0x29; readonly DOM_VK_PRINT: 0x2A; readonly DOM_VK_EXECUTE: 0x2B; readonly DOM_VK_PRINTSCREEN: 0x2C; readonly DOM_VK_INSERT: 0x2D; readonly DOM_VK_DELETE: 0x2E; readonly DOM_VK_0: 0x30; readonly DOM_VK_1: 0x31; readonly DOM_VK_2: 0x32; readonly DOM_VK_3: 0x33; readonly DOM_VK_4: 0x34; readonly DOM_VK_5: 0x35; readonly DOM_VK_6: 0x36; readonly DOM_VK_7: 0x37; readonly DOM_VK_8: 0x38; readonly DOM_VK_9: 0x39; readonly DOM_VK_COLON: 0x3A; readonly DOM_VK_SEMICOLON: 0x3B; readonly DOM_VK_LESS_THAN: 0x3C; readonly DOM_VK_EQUALS: 0x3D; readonly DOM_VK_GREATER_THAN: 0x3E; readonly DOM_VK_QUESTION_MARK: 0x3F; readonly DOM_VK_AT: 0x40; readonly DOM_VK_A: 0x41; readonly DOM_VK_B: 0x42; readonly DOM_VK_C: 0x43; readonly DOM_VK_D: 0x44; readonly DOM_VK_E: 0x45; readonly DOM_VK_F: 0x46; readonly DOM_VK_G: 0x47; readonly DOM_VK_H: 0x48; readonly DOM_VK_I: 0x49; readonly DOM_VK_J: 0x4A; readonly DOM_VK_K: 0x4B; readonly DOM_VK_L: 0x4C; readonly DOM_VK_M: 0x4D; readonly DOM_VK_N: 0x4E; readonly DOM_VK_O: 0x4F; readonly DOM_VK_P: 0x50; readonly DOM_VK_Q: 0x51; readonly DOM_VK_R: 0x52; readonly DOM_VK_S: 0x53; readonly DOM_VK_T: 0x54; readonly DOM_VK_U: 0x55; readonly DOM_VK_V: 0x56; readonly DOM_VK_W: 0x57; readonly DOM_VK_X: 0x58; readonly DOM_VK_Y: 0x59; readonly DOM_VK_Z: 0x5A; readonly DOM_VK_WIN: 0x5B; readonly DOM_VK_CONTEXT_MENU: 0x5D; readonly DOM_VK_SLEEP: 0x5F; readonly DOM_VK_NUMPAD0: 0x60; readonly DOM_VK_NUMPAD1: 0x61; readonly DOM_VK_NUMPAD2: 0x62; readonly DOM_VK_NUMPAD3: 0x63; readonly DOM_VK_NUMPAD4: 0x64; readonly DOM_VK_NUMPAD5: 0x65; readonly DOM_VK_NUMPAD6: 0x66; readonly DOM_VK_NUMPAD7: 0x67; readonly DOM_VK_NUMPAD8: 0x68; readonly DOM_VK_NUMPAD9: 0x69; readonly DOM_VK_MULTIPLY: 0x6A; readonly DOM_VK_ADD: 0x6B; readonly DOM_VK_SEPARATOR: 0x6C; readonly DOM_VK_SUBTRACT: 0x6D; readonly DOM_VK_DECIMAL: 0x6E; readonly DOM_VK_DIVIDE: 0x6F; readonly DOM_VK_F1: 0x70; readonly DOM_VK_F2: 0x71; readonly DOM_VK_F3: 0x72; readonly DOM_VK_F4: 0x73; readonly DOM_VK_F5: 0x74; readonly DOM_VK_F6: 0x75; readonly DOM_VK_F7: 0x76; readonly DOM_VK_F8: 0x77; readonly DOM_VK_F9: 0x78; readonly DOM_VK_F10: 0x79; readonly DOM_VK_F11: 0x7A; readonly DOM_VK_F12: 0x7B; readonly DOM_VK_F13: 0x7C; readonly DOM_VK_F14: 0x7D; readonly DOM_VK_F15: 0x7E; readonly DOM_VK_F16: 0x7F; readonly DOM_VK_F17: 0x80; readonly DOM_VK_F18: 0x81; readonly DOM_VK_F19: 0x82; readonly DOM_VK_F20: 0x83; readonly DOM_VK_F21: 0x84; readonly DOM_VK_F22: 0x85; readonly DOM_VK_F23: 0x86; readonly DOM_VK_F24: 0x87; readonly DOM_VK_NUM_LOCK: 0x90; readonly DOM_VK_SCROLL_LOCK: 0x91; readonly DOM_VK_WIN_OEM_FJ_JISHO: 0x92; readonly DOM_VK_WIN_OEM_FJ_MASSHOU: 0x93; readonly DOM_VK_WIN_OEM_FJ_TOUROKU: 0x94; readonly DOM_VK_WIN_OEM_FJ_LOYA: 0x95; readonly DOM_VK_WIN_OEM_FJ_ROYA: 0x96; readonly DOM_VK_CIRCUMFLEX: 0xA0; readonly DOM_VK_EXCLAMATION: 0xA1; readonly DOM_VK_DOUBLE_QUOTE: 0xA2; readonly DOM_VK_HASH: 0xA3; readonly DOM_VK_DOLLAR: 0xA4; readonly DOM_VK_PERCENT: 0xA5; readonly DOM_VK_AMPERSAND: 0xA6; readonly DOM_VK_UNDERSCORE: 0xA7; readonly DOM_VK_OPEN_PAREN: 0xA8; readonly DOM_VK_CLOSE_PAREN: 0xA9; readonly DOM_VK_ASTERISK: 0xAA; readonly DOM_VK_PLUS: 0xAB; readonly DOM_VK_PIPE: 0xAC; readonly DOM_VK_HYPHEN_MINUS: 0xAD; readonly DOM_VK_OPEN_CURLY_BRACKET: 0xAE; readonly DOM_VK_CLOSE_CURLY_BRACKET: 0xAF; readonly DOM_VK_TILDE: 0xB0; readonly DOM_VK_VOLUME_MUTE: 0xB5; readonly DOM_VK_VOLUME_DOWN: 0xB6; readonly DOM_VK_VOLUME_UP: 0xB7; readonly DOM_VK_COMMA: 0xBC; readonly DOM_VK_PERIOD: 0xBE; readonly DOM_VK_SLASH: 0xBF; readonly DOM_VK_BACK_QUOTE: 0xC0; readonly DOM_VK_OPEN_BRACKET: 0xDB; readonly DOM_VK_BACK_SLASH: 0xDC; readonly DOM_VK_CLOSE_BRACKET: 0xDD; readonly DOM_VK_QUOTE: 0xDE; readonly DOM_VK_META: 0xE0; readonly DOM_VK_ALTGR: 0xE1; readonly DOM_VK_WIN_ICO_HELP: 0xE3; readonly DOM_VK_WIN_ICO_00: 0xE4; readonly DOM_VK_PROCESSKEY: 0xE5; readonly DOM_VK_WIN_ICO_CLEAR: 0xE6; readonly DOM_VK_WIN_OEM_RESET: 0xE9; readonly DOM_VK_WIN_OEM_JUMP: 0xEA; readonly DOM_VK_WIN_OEM_PA1: 0xEB; readonly DOM_VK_WIN_OEM_PA2: 0xEC; readonly DOM_VK_WIN_OEM_PA3: 0xED; readonly DOM_VK_WIN_OEM_WSCTRL: 0xEE; readonly DOM_VK_WIN_OEM_CUSEL: 0xEF; readonly DOM_VK_WIN_OEM_ATTN: 0xF0; readonly DOM_VK_WIN_OEM_FINISH: 0xF1; readonly DOM_VK_WIN_OEM_COPY: 0xF2; readonly DOM_VK_WIN_OEM_AUTO: 0xF3; readonly DOM_VK_WIN_OEM_ENLW: 0xF4; readonly DOM_VK_WIN_OEM_BACKTAB: 0xF5; readonly DOM_VK_ATTN: 0xF6; readonly DOM_VK_CRSEL: 0xF7; readonly DOM_VK_EXSEL: 0xF8; readonly DOM_VK_EREOF: 0xF9; readonly DOM_VK_PLAY: 0xFA; readonly DOM_VK_ZOOM: 0xFB; readonly DOM_VK_PA1: 0xFD; readonly DOM_VK_WIN_OEM_CLEAR: 0xFE; isInstance: IsInstance; }; interface KeyEventMixin { readonly DOM_VK_CANCEL: 0x03; readonly DOM_VK_HELP: 0x06; readonly DOM_VK_BACK_SPACE: 0x08; readonly DOM_VK_TAB: 0x09; readonly DOM_VK_CLEAR: 0x0C; readonly DOM_VK_RETURN: 0x0D; readonly DOM_VK_SHIFT: 0x10; readonly DOM_VK_CONTROL: 0x11; readonly DOM_VK_ALT: 0x12; readonly DOM_VK_PAUSE: 0x13; readonly DOM_VK_CAPS_LOCK: 0x14; readonly DOM_VK_KANA: 0x15; readonly DOM_VK_HANGUL: 0x15; readonly DOM_VK_EISU: 0x16; readonly DOM_VK_JUNJA: 0x17; readonly DOM_VK_FINAL: 0x18; readonly DOM_VK_HANJA: 0x19; readonly DOM_VK_KANJI: 0x19; readonly DOM_VK_ESCAPE: 0x1B; readonly DOM_VK_CONVERT: 0x1C; readonly DOM_VK_NONCONVERT: 0x1D; readonly DOM_VK_ACCEPT: 0x1E; readonly DOM_VK_MODECHANGE: 0x1F; readonly DOM_VK_SPACE: 0x20; readonly DOM_VK_PAGE_UP: 0x21; readonly DOM_VK_PAGE_DOWN: 0x22; readonly DOM_VK_END: 0x23; readonly DOM_VK_HOME: 0x24; readonly DOM_VK_LEFT: 0x25; readonly DOM_VK_UP: 0x26; readonly DOM_VK_RIGHT: 0x27; readonly DOM_VK_DOWN: 0x28; readonly DOM_VK_SELECT: 0x29; readonly DOM_VK_PRINT: 0x2A; readonly DOM_VK_EXECUTE: 0x2B; readonly DOM_VK_PRINTSCREEN: 0x2C; readonly DOM_VK_INSERT: 0x2D; readonly DOM_VK_DELETE: 0x2E; readonly DOM_VK_0: 0x30; readonly DOM_VK_1: 0x31; readonly DOM_VK_2: 0x32; readonly DOM_VK_3: 0x33; readonly DOM_VK_4: 0x34; readonly DOM_VK_5: 0x35; readonly DOM_VK_6: 0x36; readonly DOM_VK_7: 0x37; readonly DOM_VK_8: 0x38; readonly DOM_VK_9: 0x39; readonly DOM_VK_COLON: 0x3A; readonly DOM_VK_SEMICOLON: 0x3B; readonly DOM_VK_LESS_THAN: 0x3C; readonly DOM_VK_EQUALS: 0x3D; readonly DOM_VK_GREATER_THAN: 0x3E; readonly DOM_VK_QUESTION_MARK: 0x3F; readonly DOM_VK_AT: 0x40; readonly DOM_VK_A: 0x41; readonly DOM_VK_B: 0x42; readonly DOM_VK_C: 0x43; readonly DOM_VK_D: 0x44; readonly DOM_VK_E: 0x45; readonly DOM_VK_F: 0x46; readonly DOM_VK_G: 0x47; readonly DOM_VK_H: 0x48; readonly DOM_VK_I: 0x49; readonly DOM_VK_J: 0x4A; readonly DOM_VK_K: 0x4B; readonly DOM_VK_L: 0x4C; readonly DOM_VK_M: 0x4D; readonly DOM_VK_N: 0x4E; readonly DOM_VK_O: 0x4F; readonly DOM_VK_P: 0x50; readonly DOM_VK_Q: 0x51; readonly DOM_VK_R: 0x52; readonly DOM_VK_S: 0x53; readonly DOM_VK_T: 0x54; readonly DOM_VK_U: 0x55; readonly DOM_VK_V: 0x56; readonly DOM_VK_W: 0x57; readonly DOM_VK_X: 0x58; readonly DOM_VK_Y: 0x59; readonly DOM_VK_Z: 0x5A; readonly DOM_VK_WIN: 0x5B; readonly DOM_VK_CONTEXT_MENU: 0x5D; readonly DOM_VK_SLEEP: 0x5F; readonly DOM_VK_NUMPAD0: 0x60; readonly DOM_VK_NUMPAD1: 0x61; readonly DOM_VK_NUMPAD2: 0x62; readonly DOM_VK_NUMPAD3: 0x63; readonly DOM_VK_NUMPAD4: 0x64; readonly DOM_VK_NUMPAD5: 0x65; readonly DOM_VK_NUMPAD6: 0x66; readonly DOM_VK_NUMPAD7: 0x67; readonly DOM_VK_NUMPAD8: 0x68; readonly DOM_VK_NUMPAD9: 0x69; readonly DOM_VK_MULTIPLY: 0x6A; readonly DOM_VK_ADD: 0x6B; readonly DOM_VK_SEPARATOR: 0x6C; readonly DOM_VK_SUBTRACT: 0x6D; readonly DOM_VK_DECIMAL: 0x6E; readonly DOM_VK_DIVIDE: 0x6F; readonly DOM_VK_F1: 0x70; readonly DOM_VK_F2: 0x71; readonly DOM_VK_F3: 0x72; readonly DOM_VK_F4: 0x73; readonly DOM_VK_F5: 0x74; readonly DOM_VK_F6: 0x75; readonly DOM_VK_F7: 0x76; readonly DOM_VK_F8: 0x77; readonly DOM_VK_F9: 0x78; readonly DOM_VK_F10: 0x79; readonly DOM_VK_F11: 0x7A; readonly DOM_VK_F12: 0x7B; readonly DOM_VK_F13: 0x7C; readonly DOM_VK_F14: 0x7D; readonly DOM_VK_F15: 0x7E; readonly DOM_VK_F16: 0x7F; readonly DOM_VK_F17: 0x80; readonly DOM_VK_F18: 0x81; readonly DOM_VK_F19: 0x82; readonly DOM_VK_F20: 0x83; readonly DOM_VK_F21: 0x84; readonly DOM_VK_F22: 0x85; readonly DOM_VK_F23: 0x86; readonly DOM_VK_F24: 0x87; readonly DOM_VK_NUM_LOCK: 0x90; readonly DOM_VK_SCROLL_LOCK: 0x91; readonly DOM_VK_WIN_OEM_FJ_JISHO: 0x92; readonly DOM_VK_WIN_OEM_FJ_MASSHOU: 0x93; readonly DOM_VK_WIN_OEM_FJ_TOUROKU: 0x94; readonly DOM_VK_WIN_OEM_FJ_LOYA: 0x95; readonly DOM_VK_WIN_OEM_FJ_ROYA: 0x96; readonly DOM_VK_CIRCUMFLEX: 0xA0; readonly DOM_VK_EXCLAMATION: 0xA1; readonly DOM_VK_DOUBLE_QUOTE: 0xA2; readonly DOM_VK_HASH: 0xA3; readonly DOM_VK_DOLLAR: 0xA4; readonly DOM_VK_PERCENT: 0xA5; readonly DOM_VK_AMPERSAND: 0xA6; readonly DOM_VK_UNDERSCORE: 0xA7; readonly DOM_VK_OPEN_PAREN: 0xA8; readonly DOM_VK_CLOSE_PAREN: 0xA9; readonly DOM_VK_ASTERISK: 0xAA; readonly DOM_VK_PLUS: 0xAB; readonly DOM_VK_PIPE: 0xAC; readonly DOM_VK_HYPHEN_MINUS: 0xAD; readonly DOM_VK_OPEN_CURLY_BRACKET: 0xAE; readonly DOM_VK_CLOSE_CURLY_BRACKET: 0xAF; readonly DOM_VK_TILDE: 0xB0; readonly DOM_VK_VOLUME_MUTE: 0xB5; readonly DOM_VK_VOLUME_DOWN: 0xB6; readonly DOM_VK_VOLUME_UP: 0xB7; readonly DOM_VK_COMMA: 0xBC; readonly DOM_VK_PERIOD: 0xBE; readonly DOM_VK_SLASH: 0xBF; readonly DOM_VK_BACK_QUOTE: 0xC0; readonly DOM_VK_OPEN_BRACKET: 0xDB; readonly DOM_VK_BACK_SLASH: 0xDC; readonly DOM_VK_CLOSE_BRACKET: 0xDD; readonly DOM_VK_QUOTE: 0xDE; readonly DOM_VK_META: 0xE0; readonly DOM_VK_ALTGR: 0xE1; readonly DOM_VK_WIN_ICO_HELP: 0xE3; readonly DOM_VK_WIN_ICO_00: 0xE4; readonly DOM_VK_PROCESSKEY: 0xE5; readonly DOM_VK_WIN_ICO_CLEAR: 0xE6; readonly DOM_VK_WIN_OEM_RESET: 0xE9; readonly DOM_VK_WIN_OEM_JUMP: 0xEA; readonly DOM_VK_WIN_OEM_PA1: 0xEB; readonly DOM_VK_WIN_OEM_PA2: 0xEC; readonly DOM_VK_WIN_OEM_PA3: 0xED; readonly DOM_VK_WIN_OEM_WSCTRL: 0xEE; readonly DOM_VK_WIN_OEM_CUSEL: 0xEF; readonly DOM_VK_WIN_OEM_ATTN: 0xF0; readonly DOM_VK_WIN_OEM_FINISH: 0xF1; readonly DOM_VK_WIN_OEM_COPY: 0xF2; readonly DOM_VK_WIN_OEM_AUTO: 0xF3; readonly DOM_VK_WIN_OEM_ENLW: 0xF4; readonly DOM_VK_WIN_OEM_BACKTAB: 0xF5; readonly DOM_VK_ATTN: 0xF6; readonly DOM_VK_CRSEL: 0xF7; readonly DOM_VK_EXSEL: 0xF8; readonly DOM_VK_EREOF: 0xF9; readonly DOM_VK_PLAY: 0xFA; readonly DOM_VK_ZOOM: 0xFB; readonly DOM_VK_PA1: 0xFD; readonly DOM_VK_WIN_OEM_CLEAR: 0xFE; } interface KeyboardEvent extends UIEvent, KeyEventMixin { readonly altKey: boolean; readonly charCode: number; readonly code: string; readonly ctrlKey: boolean; readonly initDict: KeyboardEventInit; readonly isComposing: boolean; readonly key: string; readonly keyCode: number; readonly location: number; readonly metaKey: boolean; readonly repeat: boolean; readonly shiftKey: boolean; getModifierState(key: string): boolean; initKeyboardEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, keyArg?: string, locationArg?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean): void; readonly DOM_KEY_LOCATION_STANDARD: 0x00; readonly DOM_KEY_LOCATION_LEFT: 0x01; readonly DOM_KEY_LOCATION_RIGHT: 0x02; readonly DOM_KEY_LOCATION_NUMPAD: 0x03; } declare var KeyboardEvent: { prototype: KeyboardEvent; new(typeArg: string, keyboardEventInitDict?: KeyboardEventInit): KeyboardEvent; readonly DOM_KEY_LOCATION_STANDARD: 0x00; readonly DOM_KEY_LOCATION_LEFT: 0x01; readonly DOM_KEY_LOCATION_RIGHT: 0x02; readonly DOM_KEY_LOCATION_NUMPAD: 0x03; readonly DOM_VK_CANCEL: 0x03; readonly DOM_VK_HELP: 0x06; readonly DOM_VK_BACK_SPACE: 0x08; readonly DOM_VK_TAB: 0x09; readonly DOM_VK_CLEAR: 0x0C; readonly DOM_VK_RETURN: 0x0D; readonly DOM_VK_SHIFT: 0x10; readonly DOM_VK_CONTROL: 0x11; readonly DOM_VK_ALT: 0x12; readonly DOM_VK_PAUSE: 0x13; readonly DOM_VK_CAPS_LOCK: 0x14; readonly DOM_VK_KANA: 0x15; readonly DOM_VK_HANGUL: 0x15; readonly DOM_VK_EISU: 0x16; readonly DOM_VK_JUNJA: 0x17; readonly DOM_VK_FINAL: 0x18; readonly DOM_VK_HANJA: 0x19; readonly DOM_VK_KANJI: 0x19; readonly DOM_VK_ESCAPE: 0x1B; readonly DOM_VK_CONVERT: 0x1C; readonly DOM_VK_NONCONVERT: 0x1D; readonly DOM_VK_ACCEPT: 0x1E; readonly DOM_VK_MODECHANGE: 0x1F; readonly DOM_VK_SPACE: 0x20; readonly DOM_VK_PAGE_UP: 0x21; readonly DOM_VK_PAGE_DOWN: 0x22; readonly DOM_VK_END: 0x23; readonly DOM_VK_HOME: 0x24; readonly DOM_VK_LEFT: 0x25; readonly DOM_VK_UP: 0x26; readonly DOM_VK_RIGHT: 0x27; readonly DOM_VK_DOWN: 0x28; readonly DOM_VK_SELECT: 0x29; readonly DOM_VK_PRINT: 0x2A; readonly DOM_VK_EXECUTE: 0x2B; readonly DOM_VK_PRINTSCREEN: 0x2C; readonly DOM_VK_INSERT: 0x2D; readonly DOM_VK_DELETE: 0x2E; readonly DOM_VK_0: 0x30; readonly DOM_VK_1: 0x31; readonly DOM_VK_2: 0x32; readonly DOM_VK_3: 0x33; readonly DOM_VK_4: 0x34; readonly DOM_VK_5: 0x35; readonly DOM_VK_6: 0x36; readonly DOM_VK_7: 0x37; readonly DOM_VK_8: 0x38; readonly DOM_VK_9: 0x39; readonly DOM_VK_COLON: 0x3A; readonly DOM_VK_SEMICOLON: 0x3B; readonly DOM_VK_LESS_THAN: 0x3C; readonly DOM_VK_EQUALS: 0x3D; readonly DOM_VK_GREATER_THAN: 0x3E; readonly DOM_VK_QUESTION_MARK: 0x3F; readonly DOM_VK_AT: 0x40; readonly DOM_VK_A: 0x41; readonly DOM_VK_B: 0x42; readonly DOM_VK_C: 0x43; readonly DOM_VK_D: 0x44; readonly DOM_VK_E: 0x45; readonly DOM_VK_F: 0x46; readonly DOM_VK_G: 0x47; readonly DOM_VK_H: 0x48; readonly DOM_VK_I: 0x49; readonly DOM_VK_J: 0x4A; readonly DOM_VK_K: 0x4B; readonly DOM_VK_L: 0x4C; readonly DOM_VK_M: 0x4D; readonly DOM_VK_N: 0x4E; readonly DOM_VK_O: 0x4F; readonly DOM_VK_P: 0x50; readonly DOM_VK_Q: 0x51; readonly DOM_VK_R: 0x52; readonly DOM_VK_S: 0x53; readonly DOM_VK_T: 0x54; readonly DOM_VK_U: 0x55; readonly DOM_VK_V: 0x56; readonly DOM_VK_W: 0x57; readonly DOM_VK_X: 0x58; readonly DOM_VK_Y: 0x59; readonly DOM_VK_Z: 0x5A; readonly DOM_VK_WIN: 0x5B; readonly DOM_VK_CONTEXT_MENU: 0x5D; readonly DOM_VK_SLEEP: 0x5F; readonly DOM_VK_NUMPAD0: 0x60; readonly DOM_VK_NUMPAD1: 0x61; readonly DOM_VK_NUMPAD2: 0x62; readonly DOM_VK_NUMPAD3: 0x63; readonly DOM_VK_NUMPAD4: 0x64; readonly DOM_VK_NUMPAD5: 0x65; readonly DOM_VK_NUMPAD6: 0x66; readonly DOM_VK_NUMPAD7: 0x67; readonly DOM_VK_NUMPAD8: 0x68; readonly DOM_VK_NUMPAD9: 0x69; readonly DOM_VK_MULTIPLY: 0x6A; readonly DOM_VK_ADD: 0x6B; readonly DOM_VK_SEPARATOR: 0x6C; readonly DOM_VK_SUBTRACT: 0x6D; readonly DOM_VK_DECIMAL: 0x6E; readonly DOM_VK_DIVIDE: 0x6F; readonly DOM_VK_F1: 0x70; readonly DOM_VK_F2: 0x71; readonly DOM_VK_F3: 0x72; readonly DOM_VK_F4: 0x73; readonly DOM_VK_F5: 0x74; readonly DOM_VK_F6: 0x75; readonly DOM_VK_F7: 0x76; readonly DOM_VK_F8: 0x77; readonly DOM_VK_F9: 0x78; readonly DOM_VK_F10: 0x79; readonly DOM_VK_F11: 0x7A; readonly DOM_VK_F12: 0x7B; readonly DOM_VK_F13: 0x7C; readonly DOM_VK_F14: 0x7D; readonly DOM_VK_F15: 0x7E; readonly DOM_VK_F16: 0x7F; readonly DOM_VK_F17: 0x80; readonly DOM_VK_F18: 0x81; readonly DOM_VK_F19: 0x82; readonly DOM_VK_F20: 0x83; readonly DOM_VK_F21: 0x84; readonly DOM_VK_F22: 0x85; readonly DOM_VK_F23: 0x86; readonly DOM_VK_F24: 0x87; readonly DOM_VK_NUM_LOCK: 0x90; readonly DOM_VK_SCROLL_LOCK: 0x91; readonly DOM_VK_WIN_OEM_FJ_JISHO: 0x92; readonly DOM_VK_WIN_OEM_FJ_MASSHOU: 0x93; readonly DOM_VK_WIN_OEM_FJ_TOUROKU: 0x94; readonly DOM_VK_WIN_OEM_FJ_LOYA: 0x95; readonly DOM_VK_WIN_OEM_FJ_ROYA: 0x96; readonly DOM_VK_CIRCUMFLEX: 0xA0; readonly DOM_VK_EXCLAMATION: 0xA1; readonly DOM_VK_DOUBLE_QUOTE: 0xA2; readonly DOM_VK_HASH: 0xA3; readonly DOM_VK_DOLLAR: 0xA4; readonly DOM_VK_PERCENT: 0xA5; readonly DOM_VK_AMPERSAND: 0xA6; readonly DOM_VK_UNDERSCORE: 0xA7; readonly DOM_VK_OPEN_PAREN: 0xA8; readonly DOM_VK_CLOSE_PAREN: 0xA9; readonly DOM_VK_ASTERISK: 0xAA; readonly DOM_VK_PLUS: 0xAB; readonly DOM_VK_PIPE: 0xAC; readonly DOM_VK_HYPHEN_MINUS: 0xAD; readonly DOM_VK_OPEN_CURLY_BRACKET: 0xAE; readonly DOM_VK_CLOSE_CURLY_BRACKET: 0xAF; readonly DOM_VK_TILDE: 0xB0; readonly DOM_VK_VOLUME_MUTE: 0xB5; readonly DOM_VK_VOLUME_DOWN: 0xB6; readonly DOM_VK_VOLUME_UP: 0xB7; readonly DOM_VK_COMMA: 0xBC; readonly DOM_VK_PERIOD: 0xBE; readonly DOM_VK_SLASH: 0xBF; readonly DOM_VK_BACK_QUOTE: 0xC0; readonly DOM_VK_OPEN_BRACKET: 0xDB; readonly DOM_VK_BACK_SLASH: 0xDC; readonly DOM_VK_CLOSE_BRACKET: 0xDD; readonly DOM_VK_QUOTE: 0xDE; readonly DOM_VK_META: 0xE0; readonly DOM_VK_ALTGR: 0xE1; readonly DOM_VK_WIN_ICO_HELP: 0xE3; readonly DOM_VK_WIN_ICO_00: 0xE4; readonly DOM_VK_PROCESSKEY: 0xE5; readonly DOM_VK_WIN_ICO_CLEAR: 0xE6; readonly DOM_VK_WIN_OEM_RESET: 0xE9; readonly DOM_VK_WIN_OEM_JUMP: 0xEA; readonly DOM_VK_WIN_OEM_PA1: 0xEB; readonly DOM_VK_WIN_OEM_PA2: 0xEC; readonly DOM_VK_WIN_OEM_PA3: 0xED; readonly DOM_VK_WIN_OEM_WSCTRL: 0xEE; readonly DOM_VK_WIN_OEM_CUSEL: 0xEF; readonly DOM_VK_WIN_OEM_ATTN: 0xF0; readonly DOM_VK_WIN_OEM_FINISH: 0xF1; readonly DOM_VK_WIN_OEM_COPY: 0xF2; readonly DOM_VK_WIN_OEM_AUTO: 0xF3; readonly DOM_VK_WIN_OEM_ENLW: 0xF4; readonly DOM_VK_WIN_OEM_BACKTAB: 0xF5; readonly DOM_VK_ATTN: 0xF6; readonly DOM_VK_CRSEL: 0xF7; readonly DOM_VK_EXSEL: 0xF8; readonly DOM_VK_EREOF: 0xF9; readonly DOM_VK_PLAY: 0xFA; readonly DOM_VK_ZOOM: 0xFB; readonly DOM_VK_PA1: 0xFD; readonly DOM_VK_WIN_OEM_CLEAR: 0xFE; isInstance: IsInstance; }; interface KeyframeEffect extends AnimationEffect { composite: CompositeOperation; iterationComposite: IterationCompositeOperation; pseudoElement: string | null; target: Element | null; getKeyframes(): any[]; getProperties(): AnimationPropertyDetails[]; setKeyframes(keyframes: any): void; } declare var KeyframeEffect: { prototype: KeyframeEffect; new(target: Element | null, keyframes: any, options?: number | KeyframeEffectOptions): KeyframeEffect; new(source: KeyframeEffect): KeyframeEffect; isInstance: IsInstance; }; interface L10nFileSource { readonly index: string[] | null; readonly locales: string[]; readonly metaSource: string; readonly name: string; readonly prePath: string; fetchFile(locale: string, path: string): Promise; fetchFileSync(locale: string, path: string): FluentResource | null; hasFile(locale: string, path: string): L10nFileSourceHasFileStatus; } declare var L10nFileSource: { prototype: L10nFileSource; new(name: string, metaSource: string, locales: string[], prePath: string, options?: FileSourceOptions, index?: string[]): L10nFileSource; isInstance: IsInstance; createMock(name: string, metasource: string, locales: string[], prePath: string, fs: L10nFileSourceMockFile[]): L10nFileSource; }; interface L10nRegistry { clearSources(): void; generateBundles(aLocales: string[], aResourceIds: L10nResourceId[]): FluentBundleAsyncIterator; generateBundlesSync(aLocales: string[], aResourceIds: L10nResourceId[]): FluentBundleIterator; getAvailableLocales(): string[]; getSourceNames(): string[]; hasSource(aName: string): boolean; registerSources(aSources: L10nFileSource[]): void; removeSources(aSources: string[]): void; updateSources(aSources: L10nFileSource[]): void; } declare var L10nRegistry: { prototype: L10nRegistry; new(aOptions?: L10nRegistryOptions): L10nRegistry; isInstance: IsInstance; getInstance(): L10nRegistry; }; interface LargestContentfulPaint extends PerformanceEntry, PaintTimingMixin { readonly element: Element | null; readonly id: string; readonly loadTime: DOMHighResTimeStamp; readonly renderTime: DOMHighResTimeStamp; readonly size: number; readonly url: string; toJSON(): any; } declare var LargestContentfulPaint: { prototype: LargestContentfulPaint; new(): LargestContentfulPaint; isInstance: IsInstance; }; interface LegacyMozTCPSocket { listen(port: number, options?: ServerSocketOptions, backlog?: number): TCPServerSocket; open(host: string, port: number, options?: SocketOptions): TCPSocket; } interface LinkStyle { readonly sheet: StyleSheet | null; } interface LlamaRunner { createGenerationStream(options: LlamaChatOptions): ReadableStream; formatChat(options: LlamaFormatChatOptions): Promise; initialize(options: LlamaModelOptions, modelBlob: Blob): Promise; } declare var LlamaRunner: { prototype: LlamaRunner; new(): LlamaRunner; isInstance: IsInstance; }; interface LoadContextMixin { readonly associatedWindow: WindowProxy | null; readonly isContent: boolean; readonly originAttributes: any; readonly topFrameElement: Element | null; readonly topWindow: WindowProxy | null; usePrivateBrowsing: boolean; readonly useRemoteSubframes: boolean; readonly useRemoteTabs: boolean; useTrackingProtection: boolean; } interface Localization { addResourceIds(aResourceIds: L10nResourceId[]): void; formatMessages(aKeys: L10nKey[]): Promise<(L10nMessage | null)[]>; formatMessagesSync(aKeys: L10nKey[]): (L10nMessage | null)[]; formatValue(aId: string, aArgs?: L10nArgs): Promise; formatValueSync(aId: string, aArgs?: L10nArgs): string | null; formatValues(aKeys: L10nKey[]): Promise<(string | null)[]>; formatValuesSync(aKeys: L10nKey[]): (string | null)[]; removeResourceIds(aResourceIds: L10nResourceId[]): number; setAsync(): void; } declare var Localization: { prototype: Localization; new(aResourceIds: L10nResourceId[], aSync?: boolean, aRegistry?: L10nRegistry, aLocales?: string[]): Localization; isInstance: IsInstance; }; interface Location { readonly ancestorOrigins: DOMStringList; hash: string; host: string; hostname: string; href: string; toString(): string; readonly origin: string; pathname: string; port: string; protocol: string; search: string; assign(url: string): void; reload(forceget?: boolean): void; replace(url: string): void; } declare var Location: { prototype: Location; new(): Location; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface Lock { readonly mode: LockMode; readonly name: string; } declare var Lock: { prototype: Lock; new(): Lock; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface LockManager { query(): Promise; request(name: string, callback: LockGrantedCallback): Promise; request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise; } declare var LockManager: { prototype: LockManager; new(): LockManager; isInstance: IsInstance; }; interface MIDIAccessEventMap { "statechange": Event; } /** Available only in secure contexts. */ interface MIDIAccess extends EventTarget { readonly inputs: MIDIInputMap; onstatechange: ((this: MIDIAccess, ev: Event) => any) | null; readonly outputs: MIDIOutputMap; readonly sysexEnabled: boolean; addEventListener(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MIDIAccess: { prototype: MIDIAccess; new(): MIDIAccess; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface MIDIConnectionEvent extends Event { readonly port: MIDIPort | null; } declare var MIDIConnectionEvent: { prototype: MIDIConnectionEvent; new(type: string, eventInitDict?: MIDIConnectionEventInit): MIDIConnectionEvent; isInstance: IsInstance; }; interface MIDIInputEventMap extends MIDIPortEventMap { "midimessage": Event; } /** Available only in secure contexts. */ interface MIDIInput extends MIDIPort { onmidimessage: ((this: MIDIInput, ev: Event) => any) | null; addEventListener(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MIDIInput: { prototype: MIDIInput; new(): MIDIInput; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface MIDIInputMap { forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void; } declare var MIDIInputMap: { prototype: MIDIInputMap; new(): MIDIInputMap; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface MIDIMessageEvent extends Event { readonly data: Uint8Array; } declare var MIDIMessageEvent: { prototype: MIDIMessageEvent; new(type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface MIDIOutput extends MIDIPort { clear(): void; send(data: number[], timestamp?: DOMHighResTimeStamp): void; addEventListener(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MIDIOutput: { prototype: MIDIOutput; new(): MIDIOutput; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface MIDIOutputMap { forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void; } declare var MIDIOutputMap: { prototype: MIDIOutputMap; new(): MIDIOutputMap; isInstance: IsInstance; }; interface MIDIPortEventMap { "statechange": Event; } /** Available only in secure contexts. */ interface MIDIPort extends EventTarget { readonly connection: MIDIPortConnectionState; readonly id: string; readonly manufacturer: string | null; readonly name: string | null; onstatechange: ((this: MIDIPort, ev: Event) => any) | null; readonly state: MIDIPortDeviceState; readonly type: MIDIPortType; readonly version: string | null; close(): Promise; open(): Promise; addEventListener(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MIDIPort: { prototype: MIDIPort; new(): MIDIPort; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface MLS { deleteState(): Promise; generateCredential(credentialContent: MLSBytesOrUint8ArrayOrUTF8String): Promise; generateIdentity(): Promise; generateKeyPackage(clientId: MLSBytesOrUint8Array, credential: MLSBytesOrUint8Array): Promise; getGroupEpochFromMessage(message: MLSBytesOrUint8Array): Promise; getGroupIdFromMessage(message: MLSBytesOrUint8Array): Promise; groupCreate(clientId: MLSBytesOrUint8Array, credential: MLSBytesOrUint8Array): Promise; groupGet(groupId: MLSBytesOrUint8Array, clientId: MLSBytesOrUint8Array): Promise; groupJoin(clientId: MLSBytesOrUint8Array, welcome: MLSBytesOrUint8Array): Promise; } declare var MLS: { prototype: MLS; new(): MLS; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface MLSGroupView { readonly clientId: Uint8Array; readonly groupId: Uint8Array; add(keyPackage: MLSBytesOrUint8Array): Promise; applyPendingCommit(): Promise; clearPendingCommit(): Promise; clearPendingProposals(): Promise; close(): Promise; deleteState(): Promise; details(): Promise; exportSecret(label: MLSBytesOrUint8ArrayOrUTF8String, context: MLSBytesOrUint8Array, length: number): Promise; hasPendingCommit(): Promise; hasPendingProposals(): Promise; proposeAdd(keyPackage: MLSBytesOrUint8Array): Promise; proposeRemove(remClientId: MLSBytesOrUint8Array): Promise; receive(message: MLSBytesOrUint8Array): Promise; remove(remClientId: MLSBytesOrUint8Array): Promise; send(message: MLSBytesOrUint8ArrayOrUTF8String): Promise; } declare var MLSGroupView: { prototype: MLSGroupView; new(): MLSGroupView; isInstance: IsInstance; }; interface MOZ_debug { getParameter(pname: GLenum): any; readonly EXTENSIONS: 0x1F03; readonly WSI_INFO: 0x10000; readonly UNPACK_REQUIRE_FASTPATH: 0x10001; readonly DOES_INDEX_VALIDATION: 0x10002; readonly CONTEXT_TYPE: 0x10003; } interface MatchGlob { readonly glob: string; matches(string: string): boolean; } declare var MatchGlob: { prototype: MatchGlob; new(glob: string, allowQuestion?: boolean): MatchGlob; isInstance: IsInstance; }; interface MatchPattern { readonly matchesAllWebUrls: boolean; readonly pattern: string; matches(uri: URI, explicit?: boolean): boolean; matches(url: string, explicit?: boolean): boolean; matchesCookie(cookie: Cookie): boolean; overlaps(pattern: MatchPattern): boolean; subsumes(pattern: MatchPattern): boolean; subsumesDomain(pattern: MatchPattern): boolean; } declare var MatchPattern: { prototype: MatchPattern; new(pattern: string, options?: MatchPatternOptions): MatchPattern; isInstance: IsInstance; }; interface MatchPatternSet { readonly matchesAllWebUrls: boolean; readonly patterns: MatchPattern[]; matches(uri: URI, explicit?: boolean): boolean; matches(url: string, explicit?: boolean): boolean; matchesCookie(cookie: Cookie): boolean; overlaps(pattern: MatchPattern): boolean; overlaps(patternSet: MatchPatternSet): boolean; overlapsAll(patternSet: MatchPatternSet): boolean; subsumes(pattern: MatchPattern): boolean; subsumesDomain(pattern: MatchPattern): boolean; } declare var MatchPatternSet: { prototype: MatchPatternSet; new(patterns: (string | MatchPattern)[], options?: MatchPatternOptions): MatchPatternSet; isInstance: IsInstance; }; interface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap, OnErrorEventHandlerForNodesEventMap, TouchEventHandlersEventMap { } interface MathMLElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrForeignElement, OnErrorEventHandlerForNodes, TouchEventHandlers { addEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MathMLElement, ev: MathMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MathMLElement: { prototype: MathMLElement; new(): MathMLElement; isInstance: IsInstance; }; interface MediaCapabilities { decodingInfo(configuration: MediaDecodingConfiguration): Promise; encodingInfo(configuration: MediaEncodingConfiguration): Promise; } declare var MediaCapabilities: { prototype: MediaCapabilities; new(): MediaCapabilities; isInstance: IsInstance; }; interface MediaControllerEventMap { "activated": Event; "deactivated": Event; "metadatachange": Event; "playbackstatechange": Event; "positionstatechange": Event; "supportedkeyschange": Event; } interface MediaController extends EventTarget { readonly id: number; readonly isActive: boolean; readonly isAnyMediaBeingControlled: boolean; readonly isAudible: boolean; readonly isPlaying: boolean; onactivated: ((this: MediaController, ev: Event) => any) | null; ondeactivated: ((this: MediaController, ev: Event) => any) | null; onmetadatachange: ((this: MediaController, ev: Event) => any) | null; onplaybackstatechange: ((this: MediaController, ev: Event) => any) | null; onpositionstatechange: ((this: MediaController, ev: Event) => any) | null; onsupportedkeyschange: ((this: MediaController, ev: Event) => any) | null; readonly playbackState: MediaSessionPlaybackState; readonly supportedKeys: MediaControlKey[]; focus(): void; getMetadata(): MediaMetadataInit; nextTrack(): void; pause(): void; play(): void; prevTrack(): void; seekBackward(seekOffset: number): void; seekForward(seekOffset: number): void; seekTo(seekTime: number, fastSeek?: boolean): void; skipAd(): void; stop(): void; addEventListener(type: K, listener: (this: MediaController, ev: MediaControllerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaController, ev: MediaControllerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MediaController: { prototype: MediaController; new(): MediaController; isInstance: IsInstance; }; interface MediaDeviceInfo { readonly deviceId: string; readonly groupId: string; readonly kind: MediaDeviceKind; readonly label: string; toJSON(): any; } declare var MediaDeviceInfo: { prototype: MediaDeviceInfo; new(): MediaDeviceInfo; isInstance: IsInstance; }; interface MediaDevicesEventMap { "devicechange": Event; } interface MediaDevices extends EventTarget { ondevicechange: ((this: MediaDevices, ev: Event) => any) | null; enumerateDevices(): Promise; /** Available only in secure contexts. */ getDisplayMedia(constraints?: DisplayMediaStreamConstraints): Promise; getSupportedConstraints(): MediaTrackSupportedConstraints; getUserMedia(constraints?: MediaStreamConstraints): Promise; /** Available only in secure contexts. */ selectAudioOutput(options?: AudioOutputOptions): Promise; addEventListener(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MediaDevices: { prototype: MediaDevices; new(): MediaDevices; isInstance: IsInstance; }; interface MediaElementAudioSourceNode extends AudioNode, AudioNodePassThrough { readonly mediaElement: HTMLMediaElement; } declare var MediaElementAudioSourceNode: { prototype: MediaElementAudioSourceNode; new(context: AudioContext, options: MediaElementAudioSourceOptions): MediaElementAudioSourceNode; isInstance: IsInstance; }; interface MediaEncryptedEvent extends Event { readonly initData: ArrayBuffer | null; readonly initDataType: string; } declare var MediaEncryptedEvent: { prototype: MediaEncryptedEvent; new(type: string, eventInitDict?: MediaKeyNeededEventInit): MediaEncryptedEvent; isInstance: IsInstance; }; interface MediaError { readonly code: number; readonly message: string; readonly MEDIA_ERR_ABORTED: 1; readonly MEDIA_ERR_NETWORK: 2; readonly MEDIA_ERR_DECODE: 3; readonly MEDIA_ERR_SRC_NOT_SUPPORTED: 4; } declare var MediaError: { prototype: MediaError; new(): MediaError; readonly MEDIA_ERR_ABORTED: 1; readonly MEDIA_ERR_NETWORK: 2; readonly MEDIA_ERR_DECODE: 3; readonly MEDIA_ERR_SRC_NOT_SUPPORTED: 4; isInstance: IsInstance; }; interface MediaKeyError extends Event { readonly systemCode: number; } declare var MediaKeyError: { prototype: MediaKeyError; new(): MediaKeyError; isInstance: IsInstance; }; interface MediaKeyMessageEvent extends Event { readonly message: ArrayBuffer; readonly messageType: MediaKeyMessageType; } declare var MediaKeyMessageEvent: { prototype: MediaKeyMessageEvent; new(type: string, eventInitDict: MediaKeyMessageEventInit): MediaKeyMessageEvent; isInstance: IsInstance; }; interface MediaKeySessionEventMap { "keystatuseschange": Event; "message": Event; } interface MediaKeySession extends EventTarget { readonly closed: Promise; readonly error: MediaKeyError | null; readonly expiration: number; readonly keyStatuses: MediaKeyStatusMap; onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null; onmessage: ((this: MediaKeySession, ev: Event) => any) | null; readonly sessionId: string; close(): Promise; generateRequest(initDataType: string, initData: BufferSource): Promise; load(sessionId: string): Promise; remove(): Promise; update(response: BufferSource): Promise; addEventListener(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaKeySession, ev: MediaKeySessionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MediaKeySession: { prototype: MediaKeySession; new(): MediaKeySession; isInstance: IsInstance; }; interface MediaKeyStatusMap { readonly size: number; get(keyId: BufferSource): MediaKeyStatus | undefined; has(keyId: BufferSource): boolean; forEach(callbackfn: (value: MediaKeyStatus, key: ArrayBuffer, parent: MediaKeyStatusMap) => void, thisArg?: any): void; } declare var MediaKeyStatusMap: { prototype: MediaKeyStatusMap; new(): MediaKeyStatusMap; isInstance: IsInstance; }; interface MediaKeySystemAccess { readonly keySystem: string; createMediaKeys(): Promise; getConfiguration(): MediaKeySystemConfiguration; } declare var MediaKeySystemAccess: { prototype: MediaKeySystemAccess; new(): MediaKeySystemAccess; isInstance: IsInstance; }; interface MediaKeys { readonly keySystem: string; createSession(sessionType?: MediaKeySessionType): MediaKeySession; getStatusForPolicy(policy?: MediaKeysPolicy): Promise; setServerCertificate(serverCertificate: BufferSource): Promise; } declare var MediaKeys: { prototype: MediaKeys; new(): MediaKeys; isInstance: IsInstance; }; interface MediaList { readonly length: number; mediaText: string; toString(): string; appendMedium(newMedium: string): void; deleteMedium(oldMedium: string): void; item(index: number): string | null; [index: number]: string; } declare var MediaList: { prototype: MediaList; new(): MediaList; isInstance: IsInstance; }; interface MediaMetadata { album: string; artist: string; artwork: any[]; title: string; } declare var MediaMetadata: { prototype: MediaMetadata; new(init?: MediaMetadataInit): MediaMetadata; isInstance: IsInstance; }; interface MediaQueryListEventMap { "change": Event; } interface MediaQueryList extends EventTarget { readonly matches: boolean; readonly media: string; onchange: ((this: MediaQueryList, ev: Event) => any) | null; addListener(listener: EventListener | null): void; removeListener(listener: EventListener | null): void; addEventListener(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaQueryList, ev: MediaQueryListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MediaQueryList: { prototype: MediaQueryList; new(): MediaQueryList; isInstance: IsInstance; }; interface MediaQueryListEvent extends Event { readonly matches: boolean; readonly media: string; } declare var MediaQueryListEvent: { prototype: MediaQueryListEvent; new(type: string, eventInitDict?: MediaQueryListEventInit): MediaQueryListEvent; isInstance: IsInstance; }; interface MediaRecorderEventMap { "dataavailable": Event; "error": Event; "pause": Event; "resume": Event; "start": Event; "stop": Event; } interface MediaRecorder extends EventTarget { readonly audioBitsPerSecond: number; readonly mimeType: string; ondataavailable: ((this: MediaRecorder, ev: Event) => any) | null; onerror: ((this: MediaRecorder, ev: Event) => any) | null; onpause: ((this: MediaRecorder, ev: Event) => any) | null; onresume: ((this: MediaRecorder, ev: Event) => any) | null; onstart: ((this: MediaRecorder, ev: Event) => any) | null; onstop: ((this: MediaRecorder, ev: Event) => any) | null; readonly state: RecordingState; readonly stream: MediaStream; readonly videoBitsPerSecond: number; pause(): void; requestData(): void; resume(): void; start(timeslice?: number): void; stop(): void; addEventListener(type: K, listener: (this: MediaRecorder, ev: MediaRecorderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaRecorder, ev: MediaRecorderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MediaRecorder: { prototype: MediaRecorder; new(stream: MediaStream, options?: MediaRecorderOptions): MediaRecorder; new(node: AudioNode, output?: number, options?: MediaRecorderOptions): MediaRecorder; isInstance: IsInstance; isTypeSupported(type: string): boolean; }; interface MediaRecorderErrorEvent extends Event { readonly error: DOMException; } declare var MediaRecorderErrorEvent: { prototype: MediaRecorderErrorEvent; new(type: string, eventInitDict: MediaRecorderErrorEventInit): MediaRecorderErrorEvent; isInstance: IsInstance; }; interface MediaSession { metadata: MediaMetadata | null; playbackState: MediaSessionPlaybackState; notifyHandler(details: MediaSessionActionDetails): void; setActionHandler(action: MediaSessionAction, handler: MediaSessionActionHandler | null): void; setPositionState(state?: MediaPositionState): void; } declare var MediaSession: { prototype: MediaSession; new(): MediaSession; isInstance: IsInstance; }; interface MediaSourceEventMap { "sourceclose": Event; "sourceended": Event; "sourceopen": Event; } interface MediaSource extends EventTarget { readonly activeSourceBuffers: SourceBufferList; duration: number; onsourceclose: ((this: MediaSource, ev: Event) => any) | null; onsourceended: ((this: MediaSource, ev: Event) => any) | null; onsourceopen: ((this: MediaSource, ev: Event) => any) | null; readonly readyState: MediaSourceReadyState; readonly sourceBuffers: SourceBufferList; addSourceBuffer(type: string): SourceBuffer; clearLiveSeekableRange(): void; endOfStream(error?: MediaSourceEndOfStreamError): void; mozDebugReaderData(): Promise; removeSourceBuffer(sourceBuffer: SourceBuffer): void; setLiveSeekableRange(start: number, end: number): void; addEventListener(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MediaSource: { prototype: MediaSource; new(): MediaSource; isInstance: IsInstance; isTypeSupported(type: string): boolean; }; interface MediaStreamEventMap { "addtrack": Event; "removetrack": Event; } interface MediaStream extends EventTarget { readonly active: boolean; readonly id: string; onaddtrack: ((this: MediaStream, ev: Event) => any) | null; onremovetrack: ((this: MediaStream, ev: Event) => any) | null; addTrack(track: MediaStreamTrack): void; assignId(id: string): void; clone(): MediaStream; getAudioTracks(): MediaStreamTrack[]; getTrackById(trackId: string): MediaStreamTrack | null; getTracks(): MediaStreamTrack[]; getVideoTracks(): MediaStreamTrack[]; removeTrack(track: MediaStreamTrack): void; addEventListener(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaStream, ev: MediaStreamEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MediaStream: { prototype: MediaStream; new(): MediaStream; new(stream: MediaStream): MediaStream; new(tracks: MediaStreamTrack[]): MediaStream; isInstance: IsInstance; countUnderlyingStreams(): Promise; }; interface MediaStreamAudioDestinationNode extends AudioNode { readonly stream: MediaStream; } declare var MediaStreamAudioDestinationNode: { prototype: MediaStreamAudioDestinationNode; new(context: AudioContext, options?: AudioNodeOptions): MediaStreamAudioDestinationNode; isInstance: IsInstance; }; interface MediaStreamAudioSourceNode extends AudioNode, AudioNodePassThrough { readonly mediaStream: MediaStream; } declare var MediaStreamAudioSourceNode: { prototype: MediaStreamAudioSourceNode; new(context: AudioContext, options: MediaStreamAudioSourceOptions): MediaStreamAudioSourceNode; isInstance: IsInstance; }; interface MediaStreamError { readonly constraint: string | null; readonly message: string | null; readonly name: string; } interface MediaStreamEvent extends Event { readonly stream: MediaStream | null; } declare var MediaStreamEvent: { prototype: MediaStreamEvent; new(type: string, eventInitDict?: MediaStreamEventInit): MediaStreamEvent; isInstance: IsInstance; }; interface MediaStreamTrackEventMap { "ended": Event; "mute": Event; "unmute": Event; } interface MediaStreamTrack extends EventTarget { enabled: boolean; readonly id: string; readonly kind: string; readonly label: string; readonly muted: boolean; onended: ((this: MediaStreamTrack, ev: Event) => any) | null; onmute: ((this: MediaStreamTrack, ev: Event) => any) | null; onunmute: ((this: MediaStreamTrack, ev: Event) => any) | null; readonly readyState: MediaStreamTrackState; applyConstraints(constraints?: MediaTrackConstraints): Promise; clone(): MediaStreamTrack; getCapabilities(): MediaTrackCapabilities; getConstraints(): MediaTrackConstraints; getSettings(): MediaTrackSettings; stop(): void; addEventListener(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MediaStreamTrack: { prototype: MediaStreamTrack; new(): MediaStreamTrack; isInstance: IsInstance; }; interface MediaStreamTrackAudioSourceNode extends AudioNode, AudioNodePassThrough { } declare var MediaStreamTrackAudioSourceNode: { prototype: MediaStreamTrackAudioSourceNode; new(context: AudioContext, options: MediaStreamTrackAudioSourceOptions): MediaStreamTrackAudioSourceNode; isInstance: IsInstance; }; interface MediaStreamTrackEvent extends Event { readonly track: MediaStreamTrack; } declare var MediaStreamTrackEvent: { prototype: MediaStreamTrackEvent; new(type: string, eventInitDict: MediaStreamTrackEventInit): MediaStreamTrackEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface MerchantValidationEvent extends Event { readonly methodName: string; readonly validationURL: string; complete(merchantSessionPromise: any): void; } declare var MerchantValidationEvent: { prototype: MerchantValidationEvent; new(type: string, eventInitDict?: MerchantValidationEventInit): MerchantValidationEvent; isInstance: IsInstance; }; interface MessageBroadcaster extends MessageListenerManager { readonly childCount: number; broadcastAsyncMessage(messageName?: string | null, obj?: any): void; getChildAt(aIndex: number): MessageListenerManager | null; releaseCachedProcesses(): void; } declare var MessageBroadcaster: { prototype: MessageBroadcaster; new(): MessageBroadcaster; isInstance: IsInstance; }; interface MessageChannel { readonly port1: MessagePort; readonly port2: MessagePort; } declare var MessageChannel: { prototype: MessageChannel; new(): MessageChannel; isInstance: IsInstance; }; interface MessageEvent extends Event { readonly data: any; readonly lastEventId: string; readonly origin: string; readonly ports: MessagePort[]; readonly source: MessageEventSource | null; initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void; } declare var MessageEvent: { prototype: MessageEvent; new(type: string, eventInitDict?: MessageEventInit): MessageEvent; isInstance: IsInstance; }; interface MessageListenerManager extends MessageListenerManagerMixin { } declare var MessageListenerManager: { prototype: MessageListenerManager; new(): MessageListenerManager; isInstance: IsInstance; }; interface MessageListenerManagerMixin { addMessageListener(messageName: string, listener: MessageListener, listenWhenClosed?: boolean): void; removeMessageListener(messageName: string, listener: MessageListener): void; } interface MessageManagerGlobal { atob(asciiString: string): string; btoa(base64Data: string): string; dump(str: string): void; } interface MessagePortEventMap { "message": Event; "messageerror": Event; } interface MessagePort extends EventTarget { onmessage: ((this: MessagePort, ev: Event) => any) | null; onmessageerror: ((this: MessagePort, ev: Event) => any) | null; close(): void; postMessage(message: any, transferable: any[]): void; postMessage(message: any, options?: StructuredSerializeOptions): void; start(): void; addEventListener(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var MessagePort: { prototype: MessagePort; new(): MessagePort; isInstance: IsInstance; }; interface MessageSender extends MessageListenerManager, MessageSenderMixin { } declare var MessageSender: { prototype: MessageSender; new(): MessageSender; isInstance: IsInstance; }; interface MessageSenderMixin { readonly processMessageManager: MessageSender | null; readonly remoteType: string; sendAsyncMessage(messageName?: string | null, obj?: any, transfers?: any): void; } interface MimeType { readonly description: string; readonly enabledPlugin: Plugin; readonly suffixes: string; readonly type: string; } declare var MimeType: { prototype: MimeType; new(): MimeType; isInstance: IsInstance; }; interface MimeTypeArray { readonly length: number; item(index: number): MimeType | null; namedItem(name: string): MimeType | null; [index: number]: MimeType; } declare var MimeTypeArray: { prototype: MimeTypeArray; new(): MimeTypeArray; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface ModelContext { getTools(): ModelContextTool[]; invokeTool(toolName: string, input?: any, options?: InvokeToolOptions): Promise; registerTool(tool: ModelContextTool): void; unregisterTool(toolName: string): void; } declare var ModelContext: { prototype: ModelContext; new(): ModelContext; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface ModelContextClient { requestUserInteraction(callback: UserInteractionCallback): Promise; } declare var ModelContextClient: { prototype: ModelContextClient; new(): ModelContextClient; isInstance: IsInstance; }; interface MouseEvent extends UIEvent { readonly altKey: boolean; readonly button: number; readonly buttons: number; readonly clientX: number; readonly clientY: number; readonly ctrlKey: boolean; readonly inputSource: number; readonly metaKey: boolean; readonly movementX: number; readonly movementY: number; readonly mozInputSource: number; readonly mozPressure: number; readonly offsetX: number; readonly offsetY: number; readonly pageX: number; readonly pageY: number; readonly relatedTarget: EventTarget | null; readonly screen: nsIScreen | null; readonly screenX: number; readonly screenY: number; readonly shiftKey: boolean; readonly triggerEvent: Event | null; readonly x: number; readonly y: number; clickEventPrevented(): boolean; getModifierState(keyArg: string): boolean; initMouseEvent(typeArg: string, canBubbleArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, detailArg?: number, screenXArg?: number, screenYArg?: number, clientXArg?: number, clientYArg?: number, ctrlKeyArg?: boolean, altKeyArg?: boolean, shiftKeyArg?: boolean, metaKeyArg?: boolean, buttonArg?: number, relatedTargetArg?: EventTarget | null): void; initNSMouseEvent(typeArg: string, canBubbleArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, detailArg?: number, screenXArg?: number, screenYArg?: number, clientXArg?: number, clientYArg?: number, ctrlKeyArg?: boolean, altKeyArg?: boolean, shiftKeyArg?: boolean, metaKeyArg?: boolean, buttonArg?: number, relatedTargetArg?: EventTarget | null, pressure?: number, inputSourceArg?: number): void; preventClickEvent(): void; readonly MOZ_SOURCE_UNKNOWN: 0; readonly MOZ_SOURCE_MOUSE: 1; readonly MOZ_SOURCE_PEN: 2; readonly MOZ_SOURCE_ERASER: 3; readonly MOZ_SOURCE_CURSOR: 4; readonly MOZ_SOURCE_TOUCH: 5; readonly MOZ_SOURCE_KEYBOARD: 6; } declare var MouseEvent: { prototype: MouseEvent; new(typeArg: string, mouseEventInitDict?: MouseEventInit): MouseEvent; readonly MOZ_SOURCE_UNKNOWN: 0; readonly MOZ_SOURCE_MOUSE: 1; readonly MOZ_SOURCE_PEN: 2; readonly MOZ_SOURCE_ERASER: 3; readonly MOZ_SOURCE_CURSOR: 4; readonly MOZ_SOURCE_TOUCH: 5; readonly MOZ_SOURCE_KEYBOARD: 6; isInstance: IsInstance; }; interface MouseScrollEvent extends MouseEvent { readonly axis: number; initMouseScrollEvent(type: string, canBubble?: boolean, cancelable?: boolean, view?: Window | null, detail?: number, screenX?: number, screenY?: number, clientX?: number, clientY?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean, button?: number, relatedTarget?: EventTarget | null, axis?: number): void; readonly HORIZONTAL_AXIS: 1; readonly VERTICAL_AXIS: 2; } declare var MouseScrollEvent: { prototype: MouseScrollEvent; new(): MouseScrollEvent; readonly HORIZONTAL_AXIS: 1; readonly VERTICAL_AXIS: 2; isInstance: IsInstance; }; interface MozCanvasPrintState { readonly context: nsISupports; done(): void; } declare var MozCanvasPrintState: { prototype: MozCanvasPrintState; new(): MozCanvasPrintState; isInstance: IsInstance; }; interface MozDocumentMatcher { readonly allFrames: boolean; readonly checkPermissions: boolean; readonly excludeMatches: MatchPatternSet | null; readonly extension: WebExtensionPolicy | null; readonly frameID: number | null; readonly isUserScript: boolean; readonly matchAboutBlank: boolean; readonly matchOriginAsFallback: boolean; readonly matches: MatchPatternSet; readonly originAttributesPatterns: any; matchesURI(uri: URI): boolean; matchesWindowGlobal(windowGlobal: WindowGlobalChild, ignorePermissions?: boolean): boolean; } declare var MozDocumentMatcher: { prototype: MozDocumentMatcher; new(options: MozDocumentMatcherInit): MozDocumentMatcher; isInstance: IsInstance; }; interface MozDocumentObserver { disconnect(): void; observe(matchers: MozDocumentMatcher[]): void; } declare var MozDocumentObserver: { prototype: MozDocumentObserver; new(callbacks: MozDocumentCallback): MozDocumentObserver; isInstance: IsInstance; }; interface MozEditableElement { readonly editor: nsIEditor | null; readonly hasEditor: boolean; readonly isInputEventTarget: boolean; setUserInput(input: string): void; } interface MozFrameLoaderOwner { readonly browsingContext: BrowsingContext | null; readonly frameLoader: FrameLoader | null; changeRemoteness(aOptions: RemotenessOptions): void; swapFrameLoaders(aOtherLoaderOwner: XULFrameElement): void; swapFrameLoaders(aOtherLoaderOwner: HTMLIFrameElement): void; } interface MozImageLoadingContent { readonly currentRequestFinalURI: URI | null; readonly currentURI: URI | null; loadingEnabled: boolean; addObserver(aObserver: imgINotificationObserver): void; forceReload(aNotify?: boolean): void; getRequest(aRequestType: number): imgIRequest | null; getRequestType(aRequest: imgIRequest): number; removeObserver(aObserver: imgINotificationObserver): void; readonly UNKNOWN_REQUEST: -1; readonly CURRENT_REQUEST: 0; readonly PENDING_REQUEST: 1; } interface MozObjectLoadingContent { readonly actualType: string; readonly displayedType: number; readonly srcURI: URI | null; readonly TYPE_LOADING: 0; readonly TYPE_DOCUMENT: 1; readonly TYPE_FALLBACK: 2; } interface MozQueryInterface { } declare var MozQueryInterface: { prototype: MozQueryInterface; new(): MozQueryInterface; isInstance: IsInstance; }; interface MozSharedMap extends EventTarget { get(name: string): StructuredClonable; has(name: string): boolean; forEach(callbackfn: (value: StructuredClonable, key: string, parent: MozSharedMap) => void, thisArg?: any): void; } declare var MozSharedMap: { prototype: MozSharedMap; new(): MozSharedMap; isInstance: IsInstance; }; interface MozSharedMapChangeEvent extends Event { readonly changedKeys: string[]; } declare var MozSharedMapChangeEvent: { prototype: MozSharedMapChangeEvent; new(): MozSharedMapChangeEvent; isInstance: IsInstance; }; interface MozStorageAsyncStatementParams { readonly length: number; [index: number]: any; [name: string]: any; } declare var MozStorageAsyncStatementParams: { prototype: MozStorageAsyncStatementParams; new(): MozStorageAsyncStatementParams; isInstance: IsInstance; }; interface MozStorageStatementParams { readonly length: number; [index: number]: any; [name: string]: any; } declare var MozStorageStatementParams: { prototype: MozStorageStatementParams; new(): MozStorageStatementParams; isInstance: IsInstance; }; interface MozStorageStatementRow { [name: string]: any; } declare var MozStorageStatementRow: { prototype: MozStorageStatementRow; new(): MozStorageStatementRow; isInstance: IsInstance; }; interface MozWritableSharedMap extends MozSharedMap { delete(name: string): void; flush(): void; set(name: string, value: StructuredClonable): void; } declare var MozWritableSharedMap: { prototype: MozWritableSharedMap; new(): MozWritableSharedMap; isInstance: IsInstance; }; interface MutationObserver { mergeAttributeRecords: boolean; readonly mutationCallback: MutationCallback; disconnect(): void; getObservingInfo(): (MutationObservingInfo | null)[]; observe(target: Node, options?: MutationObserverInit): void; takeRecords(): MutationRecord[]; } declare var MutationObserver: { prototype: MutationObserver; new(mutationCallback: MutationCallback): MutationObserver; isInstance: IsInstance; }; interface MutationRecord { readonly addedAnimations: Animation[]; readonly addedNodes: NodeList; readonly attributeName: string | null; readonly attributeNamespace: string | null; readonly changedAnimations: Animation[]; readonly nextSibling: Node | null; readonly oldValue: string | null; readonly previousSibling: Node | null; readonly removedAnimations: Animation[]; readonly removedNodes: NodeList; readonly target: Node | null; readonly type: string; } declare var MutationRecord: { prototype: MutationRecord; new(): MutationRecord; isInstance: IsInstance; }; interface NamedNodeMap { readonly length: number; getNamedItem(name: string): Attr | null; getNamedItemNS(namespaceURI: string | null, localName: string): Attr | null; item(index: number): Attr | null; removeNamedItem(name: string): Attr; removeNamedItemNS(namespaceURI: string | null, localName: string): Attr; setNamedItem(arg: Attr): Attr | null; setNamedItemNS(arg: Attr): Attr | null; [index: number]: Attr; } declare var NamedNodeMap: { prototype: NamedNodeMap; new(): NamedNodeMap; isInstance: IsInstance; }; interface NavigateEvent extends Event { readonly canIntercept: boolean; readonly destination: NavigationDestination; readonly downloadRequest: string | null; readonly formData: FormData | null; readonly hasUAVisualTransition: boolean; readonly hashChange: boolean; readonly info: any; readonly navigationType: NavigationType; readonly signal: AbortSignal; readonly sourceElement: Element | null; readonly userInitiated: boolean; intercept(options?: NavigationInterceptOptions): void; scroll(): void; } declare var NavigateEvent: { prototype: NavigateEvent; new(type: string, eventInitDict: NavigateEventInit): NavigateEvent; isInstance: IsInstance; }; interface NavigationEventMap { "currententrychange": Event; "navigate": Event; "navigateerror": Event; "navigatesuccess": Event; } interface Navigation extends EventTarget { readonly activation: NavigationActivation | null; readonly canGoBack: boolean; readonly canGoForward: boolean; readonly currentEntry: NavigationHistoryEntry | null; oncurrententrychange: ((this: Navigation, ev: Event) => any) | null; onnavigate: ((this: Navigation, ev: Event) => any) | null; onnavigateerror: ((this: Navigation, ev: Event) => any) | null; onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null; readonly transition: NavigationTransition | null; back(options?: NavigationOptions): NavigationResult; entries(): NavigationHistoryEntry[]; forward(options?: NavigationOptions): NavigationResult; navigate(url: string | URL, options?: NavigationNavigateOptions): NavigationResult; reload(options?: NavigationReloadOptions): NavigationResult; traverseTo(key: string, options?: NavigationOptions): NavigationResult; updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void; addEventListener(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Navigation: { prototype: Navigation; new(): Navigation; isInstance: IsInstance; }; interface NavigationActivation { readonly entry: NavigationHistoryEntry; readonly from: NavigationHistoryEntry | null; readonly navigationType: NavigationType; } declare var NavigationActivation: { prototype: NavigationActivation; new(): NavigationActivation; isInstance: IsInstance; }; interface NavigationCurrentEntryChangeEvent extends Event { readonly from: NavigationHistoryEntry | null; readonly navigationType: NavigationType | null; } declare var NavigationCurrentEntryChangeEvent: { prototype: NavigationCurrentEntryChangeEvent; new(type: string, eventInitDict: NavigationCurrentEntryChangeEventInit): NavigationCurrentEntryChangeEvent; isInstance: IsInstance; }; interface NavigationDestination { readonly id: string; readonly index: number; readonly key: string; readonly sameDocument: boolean; readonly url: string; getState(): any; } declare var NavigationDestination: { prototype: NavigationDestination; new(): NavigationDestination; isInstance: IsInstance; }; interface NavigationHistoryEntryEventMap { "dispose": Event; } interface NavigationHistoryEntry extends EventTarget { readonly id: string; readonly index: number; readonly key: string; ondispose: ((this: NavigationHistoryEntry, ev: Event) => any) | null; readonly sameDocument: boolean; readonly url: string | null; getState(): any; addEventListener(type: K, listener: (this: NavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: NavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var NavigationHistoryEntry: { prototype: NavigationHistoryEntry; new(): NavigationHistoryEntry; isInstance: IsInstance; }; interface NavigationPrecommitController { addHandler(handler: NavigationInterceptHandler): void; redirect(url: string | URL, options?: NavigationNavigateOptions): void; } declare var NavigationPrecommitController: { prototype: NavigationPrecommitController; new(): NavigationPrecommitController; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface NavigationPreloadManager { disable(): Promise; enable(): Promise; getState(): Promise; setHeaderValue(value: string): Promise; } declare var NavigationPreloadManager: { prototype: NavigationPreloadManager; new(): NavigationPreloadManager; isInstance: IsInstance; }; interface NavigationTransition { readonly committed: Promise; readonly finished: Promise; readonly from: NavigationHistoryEntry; readonly navigationType: NavigationType; } declare var NavigationTransition: { prototype: NavigationTransition; new(): NavigationTransition; isInstance: IsInstance; }; interface Navigator extends GlobalPrivacyControl, NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorGPU, NavigatorGeolocation, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorStorage { /** Available only in secure contexts. */ readonly activeVRDisplays: VRDisplay[]; readonly buildID: string; /** Available only in secure contexts. */ readonly clipboard: Clipboard; readonly connection: NetworkInformation; readonly cookieEnabled: boolean; /** Available only in secure contexts. */ readonly credentials: CredentialsContainer; readonly doNotTrack: string; readonly isWebVRContentDetected: boolean; readonly isWebVRContentPresenting: boolean; readonly login: NavigatorLogin; readonly maxTouchPoints: number; readonly mediaCapabilities: MediaCapabilities; readonly mediaDevices: MediaDevices; readonly mediaSession: MediaSession; readonly mimeTypes: MimeTypeArray; readonly modelContext: ModelContext; readonly mozAddonManager: AddonManager; readonly mozTCPSocket: LegacyMozTCPSocket; readonly oscpu: string; readonly pdfViewerEnabled: boolean; readonly permissions: Permissions; readonly plugins: PluginArray; readonly privateAttribution: PrivateAttribution; readonly productSub: string; readonly serviceWorker: ServiceWorkerContainer; readonly testTrialGatedAttribute: boolean; readonly userActivation: UserActivation; readonly vendor: string; readonly vendorSub: string; readonly wakeLock: WakeLock; /** Available only in secure contexts. */ readonly xr: XRSystem; /** Available only in secure contexts. */ canShare(data?: ShareData): boolean; getAutoplayPolicy(type: AutoplayPolicyMediaType): AutoplayPolicy; getAutoplayPolicy(element: HTMLMediaElement): AutoplayPolicy; getAutoplayPolicy(context: AudioContext): AutoplayPolicy; getBattery(): Promise; getGamepads(): (Gamepad | null)[]; /** Available only in secure contexts. */ getVRDisplays(): Promise; javaEnabled(): boolean; mozGetUserMedia(constraints: MediaStreamConstraints, successCallback: NavigatorUserMediaSuccessCallback, errorCallback: NavigatorUserMediaErrorCallback): void; requestAllGamepads(): Promise; requestGamepadServiceTest(): GamepadServiceTest; requestMIDIAccess(options?: MIDIOptions): Promise; requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise; requestVRPresentation(display: VRDisplay): void; requestVRServiceTest(): VRServiceTest; sendBeacon(url: string, data?: BodyInit | null): boolean; setVibrationPermission(permitted: boolean, persistent?: boolean): void; /** Available only in secure contexts. */ share(data?: ShareData): Promise; vibrate(duration: number): boolean; vibrate(pattern: number[]): boolean; } declare var Navigator: { prototype: Navigator; new(): Navigator; isInstance: IsInstance; }; interface NavigatorAutomationInformation { readonly webdriver: boolean; } interface NavigatorConcurrentHardware { readonly hardwareConcurrency: number; } interface NavigatorContentUtils { checkProtocolHandlerAllowed(scheme: string, handlerURI: URI, documentURI: URI): void; /** Available only in secure contexts. */ registerProtocolHandler(scheme: string, url: string): void; } interface NavigatorGPU { /** Available only in secure contexts. */ readonly gpu: GPU; } interface NavigatorGeolocation { readonly geolocation: Geolocation; } interface NavigatorID { readonly appCodeName: string; readonly appName: string; readonly appVersion: string; readonly platform: string; readonly product: string; readonly userAgent: string; taintEnabled(): boolean; } interface NavigatorLanguage { readonly language: string | null; readonly languages: string[]; } /** Available only in secure contexts. */ interface NavigatorLocks { readonly locks: LockManager; } /** Available only in secure contexts. */ interface NavigatorLogin { setStatus(status: LoginStatus): Promise; } declare var NavigatorLogin: { prototype: NavigatorLogin; new(): NavigatorLogin; isInstance: IsInstance; }; interface NavigatorOnLine { readonly onLine: boolean; } /** Available only in secure contexts. */ interface NavigatorStorage { readonly storage: StorageManager; } interface NetworkInformationEventMap { "typechange": Event; } interface NetworkInformation extends EventTarget { ontypechange: ((this: NetworkInformation, ev: Event) => any) | null; readonly type: ConnectionType; addEventListener(type: K, listener: (this: NetworkInformation, ev: NetworkInformationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: NetworkInformation, ev: NetworkInformationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var NetworkInformation: { prototype: NetworkInformation; new(): NetworkInformation; isInstance: IsInstance; }; interface Node extends EventTarget { readonly accessibleNode: AccessibleNode | null; readonly baseURI: string | null; readonly baseURIObject: URI | null; readonly childNodes: NodeList; readonly containingShadowRoot: ShadowRoot | null; readonly firstChild: Node | null; readonly flattenedTreeParentNode: Node | null; readonly isConnected: boolean; readonly isNativeAnonymous: boolean; readonly lastChild: Node | null; readonly nextSibling: Node | null; readonly nodeName: string; readonly nodePrincipal: Principal; readonly nodeType: number; nodeValue: string | null; readonly ownerDocument: Document | null; readonly parentElement: Element | null; readonly parentFlexElement: Element | null; readonly parentNode: Node | null; readonly previousSibling: Node | null; textContent: string | null; appendChild(node: Node): Node; cloneNode(deep?: boolean): Node; compareDocumentPosition(other: Node): number; contains(other: Node | null): boolean; generateXPath(): string; getRootNode(options?: GetRootNodeOptions): Node; hasChildNodes(): boolean; insertBefore(node: Node, child: Node | null): Node; isDefaultNamespace(namespace: string | null): boolean; isEqualNode(node: Node | null): boolean; isSameNode(node: Node | null): boolean; lookupNamespaceURI(prefix: string | null): string | null; lookupPrefix(namespace: string | null): string | null; normalize(): void; removeChild(child: Node): Node; replaceChild(node: Node, child: Node): Node; readonly ELEMENT_NODE: 1; readonly ATTRIBUTE_NODE: 2; readonly TEXT_NODE: 3; readonly CDATA_SECTION_NODE: 4; readonly ENTITY_REFERENCE_NODE: 5; readonly ENTITY_NODE: 6; readonly PROCESSING_INSTRUCTION_NODE: 7; readonly COMMENT_NODE: 8; readonly DOCUMENT_NODE: 9; readonly DOCUMENT_TYPE_NODE: 10; readonly DOCUMENT_FRAGMENT_NODE: 11; readonly NOTATION_NODE: 12; readonly DOCUMENT_POSITION_DISCONNECTED: 0x01; readonly DOCUMENT_POSITION_PRECEDING: 0x02; readonly DOCUMENT_POSITION_FOLLOWING: 0x04; readonly DOCUMENT_POSITION_CONTAINS: 0x08; readonly DOCUMENT_POSITION_CONTAINED_BY: 0x10; readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20; } declare var Node: { prototype: Node; new(): Node; readonly ELEMENT_NODE: 1; readonly ATTRIBUTE_NODE: 2; readonly TEXT_NODE: 3; readonly CDATA_SECTION_NODE: 4; readonly ENTITY_REFERENCE_NODE: 5; readonly ENTITY_NODE: 6; readonly PROCESSING_INSTRUCTION_NODE: 7; readonly COMMENT_NODE: 8; readonly DOCUMENT_NODE: 9; readonly DOCUMENT_TYPE_NODE: 10; readonly DOCUMENT_FRAGMENT_NODE: 11; readonly NOTATION_NODE: 12; readonly DOCUMENT_POSITION_DISCONNECTED: 0x01; readonly DOCUMENT_POSITION_PRECEDING: 0x02; readonly DOCUMENT_POSITION_FOLLOWING: 0x04; readonly DOCUMENT_POSITION_CONTAINS: 0x08; readonly DOCUMENT_POSITION_CONTAINED_BY: 0x10; readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20; isInstance: IsInstance; }; interface NodeIterator { readonly filter: NodeFilter | null; readonly pointerBeforeReferenceNode: boolean; readonly referenceNode: Node | null; readonly root: Node; readonly whatToShow: number; detach(): void; nextNode(): Node | null; previousNode(): Node | null; } declare var NodeIterator: { prototype: NodeIterator; new(): NodeIterator; isInstance: IsInstance; }; interface NodeList { readonly length: number; item(index: number): Node | null; forEach(callbackfn: (value: Node | null, key: number, parent: NodeList) => void, thisArg?: any): void; [index: number]: Node; } declare var NodeList: { prototype: NodeList; new(): NodeList; isInstance: IsInstance; }; interface NonDocumentTypeChildNode { readonly nextElementSibling: Element | null; readonly previousElementSibling: Element | null; } interface NonElementParentNode { getElementById(elementId: string): Element | null; } interface NotificationEventMap { "click": Event; "close": Event; "error": Event; "show": Event; } interface Notification extends EventTarget { readonly actions: NotificationAction[]; readonly body: string; readonly data: any; readonly dir: NotificationDirection; readonly icon: string; readonly lang: string; onclick: ((this: Notification, ev: Event) => any) | null; onclose: ((this: Notification, ev: Event) => any) | null; onerror: ((this: Notification, ev: Event) => any) | null; onshow: ((this: Notification, ev: Event) => any) | null; readonly requireInteraction: boolean; readonly silent: boolean; readonly tag: string; readonly title: string; readonly vibrate: number[]; close(): void; addEventListener(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Notification, ev: NotificationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Notification: { prototype: Notification; new(title: string, options?: NotificationOptions): Notification; isInstance: IsInstance; readonly maxActions: number; readonly permission: NotificationPermission; requestPermission(permissionCallback?: NotificationPermissionCallback): Promise; }; interface NotifyPaintEvent extends Event { readonly boundingClientRect: DOMRect; readonly clientRects: DOMRectList; readonly paintRequests: PaintRequestList; readonly paintTimeStamp: DOMHighResTimeStamp; readonly transactionId: number; } declare var NotifyPaintEvent: { prototype: NotifyPaintEvent; new(): NotifyPaintEvent; isInstance: IsInstance; }; interface OES_draw_buffers_indexed { blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void; blendEquationiOES(buf: GLuint, mode: GLenum): void; blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void; blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void; colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void; disableiOES(target: GLenum, index: GLuint): void; enableiOES(target: GLenum, index: GLuint): void; } interface OES_element_index_uint { } interface OES_fbo_render_mipmap { } interface OES_standard_derivatives { readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: 0x8B8B; } interface OES_texture_float { } interface OES_texture_float_linear { } interface OES_texture_half_float { readonly HALF_FLOAT_OES: 0x8D61; } interface OES_texture_half_float_linear { } interface OES_vertex_array_object { bindVertexArrayOES(arrayObject: WebGLVertexArrayObject | null): void; createVertexArrayOES(): WebGLVertexArrayObject; deleteVertexArrayOES(arrayObject: WebGLVertexArrayObject | null): void; isVertexArrayOES(arrayObject: WebGLVertexArrayObject | null): GLboolean; readonly VERTEX_ARRAY_BINDING_OES: 0x85B5; } interface OVR_multiview2 { framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR: 0x9630; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: 0x9632; readonly MAX_VIEWS_OVR: 0x9631; readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: 0x9633; } interface OfflineAudioCompletionEvent extends Event { readonly renderedBuffer: AudioBuffer; } declare var OfflineAudioCompletionEvent: { prototype: OfflineAudioCompletionEvent; new(type: string, eventInitDict: OfflineAudioCompletionEventInit): OfflineAudioCompletionEvent; isInstance: IsInstance; }; interface OfflineAudioContextEventMap extends BaseAudioContextEventMap { "complete": Event; } interface OfflineAudioContext extends BaseAudioContext { readonly length: number; oncomplete: ((this: OfflineAudioContext, ev: Event) => any) | null; startRendering(): Promise; addEventListener(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: OfflineAudioContext, ev: OfflineAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var OfflineAudioContext: { prototype: OfflineAudioContext; new(contextOptions: OfflineAudioContextOptions): OfflineAudioContext; new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext; isInstance: IsInstance; }; interface OffscreenCanvasEventMap { "contextlost": Event; "contextrestored": Event; } interface OffscreenCanvas extends EventTarget { height: number; oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null; oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null; width: number; convertToBlob(options?: ImageEncodeOptions): Promise; getContext(contextId: OffscreenRenderingContextId, contextOptions?: any): OffscreenRenderingContext | null; toBlob(type?: string, encoderOptions?: any): Promise; transferToImageBitmap(): ImageBitmap; addEventListener(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var OffscreenCanvas: { prototype: OffscreenCanvas; new(width: number, height: number): OffscreenCanvas; isInstance: IsInstance; }; interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPathDrawingStyles, CanvasPathMethods, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform { readonly canvas: OffscreenCanvas; commit(): void; } declare var OffscreenCanvasRenderingContext2D: { prototype: OffscreenCanvasRenderingContext2D; new(): OffscreenCanvasRenderingContext2D; isInstance: IsInstance; }; interface OnErrorEventHandlerForNodesEventMap { "error": Event; } interface OnErrorEventHandlerForNodes { onerror: ((this: OnErrorEventHandlerForNodes, ev: Event) => any) | null; addEventListener(type: K, listener: (this: OnErrorEventHandlerForNodes, ev: OnErrorEventHandlerForNodesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: OnErrorEventHandlerForNodes, ev: OnErrorEventHandlerForNodesEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } interface OnErrorEventHandlerForWindowEventMap { "error": Event; } interface OnErrorEventHandlerForWindow { onerror: ((this: OnErrorEventHandlerForWindow, ev: Event) => any) | null; addEventListener(type: K, listener: (this: OnErrorEventHandlerForWindow, ev: OnErrorEventHandlerForWindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: OnErrorEventHandlerForWindow, ev: OnErrorEventHandlerForWindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } interface OscillatorNode extends AudioScheduledSourceNode, AudioNodePassThrough { readonly detune: AudioParam; readonly frequency: AudioParam; type: OscillatorType; setPeriodicWave(periodicWave: PeriodicWave): void; addEventListener(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: OscillatorNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var OscillatorNode: { prototype: OscillatorNode; new(context: BaseAudioContext, options?: OscillatorOptions): OscillatorNode; isInstance: IsInstance; }; interface PageRevealEvent extends Event { readonly viewTransition: ViewTransition | null; } declare var PageRevealEvent: { prototype: PageRevealEvent; new(type: string, eventInitDict?: PageRevealEventInit): PageRevealEvent; isInstance: IsInstance; }; interface PageSwapEvent extends Event { readonly activation: NavigationActivation | null; readonly viewTransition: ViewTransition | null; } declare var PageSwapEvent: { prototype: PageSwapEvent; new(type: string, eventInitDict?: PageSwapEventInit): PageSwapEvent; isInstance: IsInstance; }; interface PageTransitionEvent extends Event { readonly inFrameSwap: boolean; readonly persisted: boolean; } declare var PageTransitionEvent: { prototype: PageTransitionEvent; new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent; isInstance: IsInstance; }; interface PaintRequest { readonly clientRect: DOMRect; readonly reason: string; } declare var PaintRequest: { prototype: PaintRequest; new(): PaintRequest; isInstance: IsInstance; }; interface PaintRequestList { readonly length: number; item(index: number): PaintRequest | null; [index: number]: PaintRequest; } declare var PaintRequestList: { prototype: PaintRequestList; new(): PaintRequestList; isInstance: IsInstance; }; interface PaintTimingMixin { readonly paintTime: DOMHighResTimeStamp; readonly presentationTime: DOMHighResTimeStamp | null; } interface PannerNode extends AudioNode, AudioNodePassThrough { coneInnerAngle: number; coneOuterAngle: number; coneOuterGain: number; distanceModel: DistanceModelType; maxDistance: number; readonly orientationX: AudioParam; readonly orientationY: AudioParam; readonly orientationZ: AudioParam; panningModel: PanningModelType; readonly positionX: AudioParam; readonly positionY: AudioParam; readonly positionZ: AudioParam; refDistance: number; rolloffFactor: number; setOrientation(x: number, y: number, z: number): void; setPosition(x: number, y: number, z: number): void; } declare var PannerNode: { prototype: PannerNode; new(context: BaseAudioContext, options?: PannerOptions): PannerNode; isInstance: IsInstance; }; interface ParentNode { readonly childElementCount: number; readonly children: HTMLCollection; readonly firstElementChild: Element | null; readonly lastElementChild: Element | null; append(...nodes: (Node | string)[]): void; getElementsByAttribute(name: string, value: string | null): HTMLCollection; getElementsByAttributeNS(namespaceURI: string | null, name: string, value: string | null): HTMLCollection; moveBefore(node: Node, child: Node | null): void; prepend(...nodes: (Node | string)[]): void; querySelector(selectors: K): HTMLElementTagNameMap[K] | null; querySelector(selectors: K): SVGElementTagNameMap[K] | null; querySelector(selectors: K): MathMLElementTagNameMap[K] | null; /** @deprecated */ querySelector(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null; querySelector(selectors: string): E | null; querySelectorAll(selectors: K): NodeListOf; querySelectorAll(selectors: K): NodeListOf; querySelectorAll(selectors: K): NodeListOf; /** @deprecated */ querySelectorAll(selectors: K): NodeListOf; querySelectorAll(selectors: string): NodeListOf; replaceChildren(...nodes: (Node | string)[]): void; } interface ParentProcessMessageManager extends MessageBroadcaster, GlobalProcessScriptLoader, ProcessScriptLoader { } declare var ParentProcessMessageManager: { prototype: ParentProcessMessageManager; new(): ParentProcessMessageManager; isInstance: IsInstance; }; interface Path2D extends CanvasPathMethods { addPath(path: Path2D, transform?: DOMMatrix2DInit): void; } declare var Path2D: { prototype: Path2D; new(): Path2D; new(other: Path2D): Path2D; new(pathString: string): Path2D; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface PaymentAddress { readonly addressLine: string[]; readonly city: string; readonly country: string; readonly dependentLocality: string; readonly organization: string; readonly phone: string; readonly postalCode: string; readonly recipient: string; readonly region: string; readonly regionCode: string; readonly sortingCode: string; toJSON(): any; } declare var PaymentAddress: { prototype: PaymentAddress; new(): PaymentAddress; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent { readonly methodDetails: any; readonly methodName: string; } declare var PaymentMethodChangeEvent: { prototype: PaymentMethodChangeEvent; new(type: string, eventInitDict?: PaymentMethodChangeEventInit): PaymentMethodChangeEvent; isInstance: IsInstance; }; interface PaymentRequestEventMap { "merchantvalidation": Event; "paymentmethodchange": Event; "shippingaddresschange": Event; "shippingoptionchange": Event; } /** Available only in secure contexts. */ interface PaymentRequest extends EventTarget { readonly id: string; onmerchantvalidation: ((this: PaymentRequest, ev: Event) => any) | null; onpaymentmethodchange: ((this: PaymentRequest, ev: Event) => any) | null; onshippingaddresschange: ((this: PaymentRequest, ev: Event) => any) | null; onshippingoptionchange: ((this: PaymentRequest, ev: Event) => any) | null; readonly shippingAddress: PaymentAddress | null; readonly shippingOption: string | null; readonly shippingType: PaymentShippingType | null; abort(): Promise; canMakePayment(): Promise; show(detailsPromise?: PaymentDetailsUpdate | PromiseLike): Promise; addEventListener(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var PaymentRequest: { prototype: PaymentRequest; new(methodData: PaymentMethodData[], details: PaymentDetailsInit, options?: PaymentOptions): PaymentRequest; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface PaymentRequestUpdateEvent extends Event { updateWith(detailsPromise: PaymentDetailsUpdate | PromiseLike): void; } declare var PaymentRequestUpdateEvent: { prototype: PaymentRequestUpdateEvent; new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent; isInstance: IsInstance; }; interface PaymentResponseEventMap { "payerdetailchange": Event; } /** Available only in secure contexts. */ interface PaymentResponse extends EventTarget { readonly details: any; readonly methodName: string; onpayerdetailchange: ((this: PaymentResponse, ev: Event) => any) | null; readonly payerEmail: string | null; readonly payerName: string | null; readonly payerPhone: string | null; readonly requestId: string; readonly shippingAddress: PaymentAddress | null; readonly shippingOption: string | null; complete(result?: PaymentComplete): Promise; retry(errorFields?: PaymentValidationErrors): Promise; toJSON(): any; addEventListener(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var PaymentResponse: { prototype: PaymentResponse; new(): PaymentResponse; isInstance: IsInstance; }; interface PeerConnectionImpl { certificate: RTCCertificate; readonly connectionState: RTCPeerConnectionState; readonly currentLocalDescription: string; readonly currentOfferer: boolean | null; readonly currentRemoteDescription: string; readonly duplicateFingerprintQuirk: boolean; readonly fingerprint: string; readonly iceConnectionState: RTCIceConnectionState; readonly iceGatheringState: RTCIceGatheringState; id: string; peerIdentity: string; readonly pendingLocalDescription: string; readonly pendingOfferer: boolean | null; readonly pendingRemoteDescription: string; readonly privacyRequested: boolean; readonly sctp: RTCSctpTransport | null; readonly signalingState: RTCSignalingState; addIceCandidate(candidate: string, mid: string, ufrag: string, level: number | null): void; addTransceiver(init: RTCRtpTransceiverInit, kind: string, sendTrack: MediaStreamTrack | null, addTrackMagic: boolean): RTCRtpTransceiver; chain(op: ChainedOperation): Promise; close(): void; closeStreams(): void; createAnswer(): void; createDataChannel(label: string, protocol: string, type: number, ordered: boolean, maxTime: number, maxNum: number, externalNegotiated: boolean, stream: number): RTCDataChannel; createOffer(options?: RTCOfferOptions): void; createdSender(sender: RTCRtpSender): boolean; disablePacketDump(level: number, type: mozPacketDumpType, sending: boolean): void; enablePacketDump(level: number, type: mozPacketDumpType, sending: boolean): void; getRemoteStreams(): MediaStream[]; getStats(selector: MediaStreamTrack | null): Promise; getTransceivers(): RTCRtpTransceiver[]; initialize(observer: PeerConnectionObserver, window: Window): void; onSetDescriptionError(): void; onSetDescriptionSuccess(type: RTCSdpType, remote: boolean): Promise; pluginCrash(pluginId: number, name: string): boolean; restartIce(): void; restartIceNoRenegotiationNeeded(): void; setConfiguration(config?: RTCConfiguration): void; setLocalDescription(action: number, sdp: string): void; setRemoteDescription(action: number, sdp: string): void; updateNegotiationNeeded(): void; } declare var PeerConnectionImpl: { prototype: PeerConnectionImpl; new(): PeerConnectionImpl; isInstance: IsInstance; }; interface PeerConnectionObserver { fireNegotiationNeededEvent(): void; fireStreamEvent(stream: MediaStream): void; fireTrackEvent(receiver: RTCRtpReceiver, streams: MediaStream[]): void; notifyDataChannel(channel: RTCDataChannel): void; onAddIceCandidateError(error: PCErrorData): void; onAddIceCandidateSuccess(): void; onCreateAnswerError(error: PCErrorData): void; onCreateAnswerSuccess(answer: string): void; onCreateOfferError(error: PCErrorData): void; onCreateOfferSuccess(offer: string): void; onIceCandidate(level: number, mid: string, candidate: string, ufrag: string): void; onIceCandidateError(address: string, port: number, url: string, errorCode: number, errorText: string): void; onPacket(level: number, type: mozPacketDumpType, sending: boolean, packet: ArrayBuffer): void; onSetDescriptionError(error: PCErrorData): void; onSetDescriptionSuccess(): void; onStateChange(state: PCObserverStateType): void; } declare var PeerConnectionObserver: { prototype: PeerConnectionObserver; new(domPC: RTCPeerConnection): PeerConnectionObserver; isInstance: IsInstance; }; interface PerformanceEventMap { "resourcetimingbufferfull": Event; } interface Performance extends EventTarget { readonly eventCounts: EventCounts; readonly interactionCount: number; readonly mozMemory: any; readonly navigation: PerformanceNavigation; onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null; readonly timeOrigin: DOMHighResTimeStamp; readonly timing: PerformanceTiming; clearMarks(markName?: string): void; clearMeasures(measureName?: string): void; clearResourceTimings(): void; getEntries(): PerformanceEntryList; getEntriesByName(name: string, entryType?: string): PerformanceEntryList; getEntriesByType(entryType: string): PerformanceEntryList; mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark; measure(measureName: string, startOrMeasureOptions?: string | PerformanceMeasureOptions, endMark?: string): PerformanceMeasure; now(): DOMHighResTimeStamp; setResourceTimingBufferSize(maxSize: number): void; toJSON(): any; addEventListener(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Performance: { prototype: Performance; new(): Performance; isInstance: IsInstance; }; interface PerformanceEntry { readonly duration: DOMHighResTimeStamp; readonly entryType: string; readonly name: string; readonly startTime: DOMHighResTimeStamp; toJSON(): any; } declare var PerformanceEntry: { prototype: PerformanceEntry; new(): PerformanceEntry; isInstance: IsInstance; }; interface PerformanceEntryEvent extends Event { readonly duration: DOMHighResTimeStamp; readonly entryType: string; readonly epoch: number; readonly name: string; readonly origin: string; readonly startTime: DOMHighResTimeStamp; } declare var PerformanceEntryEvent: { prototype: PerformanceEntryEvent; new(type: string, eventInitDict?: PerformanceEntryEventInit): PerformanceEntryEvent; isInstance: IsInstance; }; interface PerformanceEventTiming extends PerformanceEntry { readonly cancelable: boolean; readonly interactionId: number; readonly processingEnd: DOMHighResTimeStamp; readonly processingStart: DOMHighResTimeStamp; readonly target: Node | null; toJSON(): any; } declare var PerformanceEventTiming: { prototype: PerformanceEventTiming; new(): PerformanceEventTiming; isInstance: IsInstance; }; interface PerformanceMark extends PerformanceEntry { readonly detail: any; } declare var PerformanceMark: { prototype: PerformanceMark; new(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark; isInstance: IsInstance; }; interface PerformanceMeasure extends PerformanceEntry { readonly detail: any; } declare var PerformanceMeasure: { prototype: PerformanceMeasure; new(): PerformanceMeasure; isInstance: IsInstance; }; interface PerformanceNavigation { readonly redirectCount: number; readonly type: number; toJSON(): any; readonly TYPE_NAVIGATE: 0; readonly TYPE_RELOAD: 1; readonly TYPE_BACK_FORWARD: 2; readonly TYPE_RESERVED: 255; } declare var PerformanceNavigation: { prototype: PerformanceNavigation; new(): PerformanceNavigation; readonly TYPE_NAVIGATE: 0; readonly TYPE_RELOAD: 1; readonly TYPE_BACK_FORWARD: 2; readonly TYPE_RESERVED: 255; isInstance: IsInstance; }; interface PerformanceNavigationTiming extends PerformanceResourceTiming { readonly domComplete: DOMHighResTimeStamp; readonly domContentLoadedEventEnd: DOMHighResTimeStamp; readonly domContentLoadedEventStart: DOMHighResTimeStamp; readonly domInteractive: DOMHighResTimeStamp; readonly loadEventEnd: DOMHighResTimeStamp; readonly loadEventStart: DOMHighResTimeStamp; readonly redirectCount: number; readonly type: NavigationTimingType; readonly unloadEventEnd: DOMHighResTimeStamp; readonly unloadEventStart: DOMHighResTimeStamp; toJSON(): any; } declare var PerformanceNavigationTiming: { prototype: PerformanceNavigationTiming; new(): PerformanceNavigationTiming; isInstance: IsInstance; }; interface PerformanceObserver { disconnect(): void; observe(options?: PerformanceObserverInit): void; takeRecords(): PerformanceEntryList; } declare var PerformanceObserver: { prototype: PerformanceObserver; new(callback: PerformanceObserverCallback): PerformanceObserver; isInstance: IsInstance; readonly supportedEntryTypes: any; }; interface PerformanceObserverEntryList { getEntries(filter?: PerformanceEntryFilterOptions): PerformanceEntryList; getEntriesByName(name: string, entryType?: string): PerformanceEntryList; getEntriesByType(entryType: string): PerformanceEntryList; } declare var PerformanceObserverEntryList: { prototype: PerformanceObserverEntryList; new(): PerformanceObserverEntryList; isInstance: IsInstance; }; interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin { toJSON(): any; } declare var PerformancePaintTiming: { prototype: PerformancePaintTiming; new(): PerformancePaintTiming; isInstance: IsInstance; }; interface PerformanceResourceTiming extends PerformanceEntry { readonly connectEnd: DOMHighResTimeStamp; readonly connectStart: DOMHighResTimeStamp; readonly contentType: string; readonly decodedBodySize: number; readonly domainLookupEnd: DOMHighResTimeStamp; readonly domainLookupStart: DOMHighResTimeStamp; readonly encodedBodySize: number; readonly fetchStart: DOMHighResTimeStamp; readonly initiatorType: string; readonly nextHopProtocol: string; readonly redirectEnd: DOMHighResTimeStamp; readonly redirectStart: DOMHighResTimeStamp; readonly renderBlockingStatus: RenderBlockingStatusType; readonly requestStart: DOMHighResTimeStamp; readonly responseEnd: DOMHighResTimeStamp; readonly responseStart: DOMHighResTimeStamp; readonly responseStatus: number; readonly secureConnectionStart: DOMHighResTimeStamp; /** Available only in secure contexts. */ readonly serverTiming: PerformanceServerTiming[]; readonly transferSize: number; readonly workerStart: DOMHighResTimeStamp; toJSON(): any; } declare var PerformanceResourceTiming: { prototype: PerformanceResourceTiming; new(): PerformanceResourceTiming; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface PerformanceServerTiming { readonly description: string; readonly duration: DOMHighResTimeStamp; readonly name: string; toJSON(): any; } declare var PerformanceServerTiming: { prototype: PerformanceServerTiming; new(): PerformanceServerTiming; isInstance: IsInstance; }; interface PerformanceTiming { readonly connectEnd: number; readonly connectStart: number; readonly domComplete: number; readonly domContentLoadedEventEnd: number; readonly domContentLoadedEventStart: number; readonly domInteractive: number; readonly domLoading: number; readonly domainLookupEnd: number; readonly domainLookupStart: number; readonly fetchStart: number; readonly loadEventEnd: number; readonly loadEventStart: number; readonly navigationStart: number; readonly redirectEnd: number; readonly redirectStart: number; readonly requestStart: number; readonly responseEnd: number; readonly responseStart: number; readonly secureConnectionStart: number; readonly timeToContentfulPaint: number; readonly timeToFirstInteractive: number; readonly timeToNonBlankPaint: number; readonly unloadEventEnd: number; readonly unloadEventStart: number; toJSON(): any; } declare var PerformanceTiming: { prototype: PerformanceTiming; new(): PerformanceTiming; isInstance: IsInstance; }; interface PeriodicWave { } declare var PeriodicWave: { prototype: PeriodicWave; new(context: BaseAudioContext, options?: PeriodicWaveOptions): PeriodicWave; isInstance: IsInstance; }; interface PermissionStatusEventMap { "change": Event; } interface PermissionStatus extends EventTarget { readonly name: PermissionName; onchange: ((this: PermissionStatus, ev: Event) => any) | null; readonly state: PermissionState; readonly type: string; addEventListener(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var PermissionStatus: { prototype: PermissionStatus; new(): PermissionStatus; isInstance: IsInstance; }; interface Permissions { parseSetParameters(parameters: PermissionSetParameters): PermissionStatus; query(permission: any): Promise; } declare var Permissions: { prototype: Permissions; new(): Permissions; isInstance: IsInstance; }; interface PlacesBookmark extends PlacesEvent { readonly guid: string; readonly id: number; readonly isTagging: boolean; readonly itemType: number; readonly parentGuid: string; readonly parentId: number; readonly source: number; readonly url: string; } declare var PlacesBookmark: { prototype: PlacesBookmark; new(): PlacesBookmark; isInstance: IsInstance; }; interface PlacesBookmarkAddition extends PlacesBookmark { readonly dateAdded: number; readonly frecency: number; readonly hidden: boolean; readonly index: number; readonly lastVisitDate: number | null; readonly tags: string; readonly targetFolderGuid: string; readonly targetFolderItemId: number; readonly targetFolderTitle: string; readonly title: string; readonly visitCount: number; } declare var PlacesBookmarkAddition: { prototype: PlacesBookmarkAddition; new(initDict: PlacesBookmarkAdditionInit): PlacesBookmarkAddition; isInstance: IsInstance; }; interface PlacesBookmarkChanged extends PlacesBookmark { readonly lastModified: number; } declare var PlacesBookmarkChanged: { prototype: PlacesBookmarkChanged; new(): PlacesBookmarkChanged; isInstance: IsInstance; }; interface PlacesBookmarkGuid extends PlacesBookmarkChanged { } declare var PlacesBookmarkGuid: { prototype: PlacesBookmarkGuid; new(initDict: PlacesBookmarkGuidInit): PlacesBookmarkGuid; isInstance: IsInstance; }; interface PlacesBookmarkKeyword extends PlacesBookmarkChanged { readonly keyword: string; } declare var PlacesBookmarkKeyword: { prototype: PlacesBookmarkKeyword; new(initDict: PlacesBookmarkKeywordInit): PlacesBookmarkKeyword; isInstance: IsInstance; }; interface PlacesBookmarkMoved extends PlacesBookmark { readonly dateAdded: number; readonly frecency: number; readonly hidden: boolean; readonly index: number; readonly lastVisitDate: number | null; readonly oldIndex: number; readonly oldParentGuid: string; readonly tags: string; readonly title: string; readonly visitCount: number; } declare var PlacesBookmarkMoved: { prototype: PlacesBookmarkMoved; new(initDict: PlacesBookmarkMovedInit): PlacesBookmarkMoved; isInstance: IsInstance; }; interface PlacesBookmarkRemoved extends PlacesBookmark { readonly index: number; readonly isDescendantRemoval: boolean; readonly title: string; } declare var PlacesBookmarkRemoved: { prototype: PlacesBookmarkRemoved; new(initDict: PlacesBookmarkRemovedInit): PlacesBookmarkRemoved; isInstance: IsInstance; }; interface PlacesBookmarkTags extends PlacesBookmarkChanged { readonly tags: string[]; } declare var PlacesBookmarkTags: { prototype: PlacesBookmarkTags; new(initDict: PlacesBookmarkTagsInit): PlacesBookmarkTags; isInstance: IsInstance; }; interface PlacesBookmarkTime extends PlacesBookmarkChanged { readonly dateAdded: number; } declare var PlacesBookmarkTime: { prototype: PlacesBookmarkTime; new(initDict: PlacesBookmarkTimeInit): PlacesBookmarkTime; isInstance: IsInstance; }; interface PlacesBookmarkTitle extends PlacesBookmarkChanged { readonly title: string; } declare var PlacesBookmarkTitle: { prototype: PlacesBookmarkTitle; new(initDict: PlacesBookmarkTitleInit): PlacesBookmarkTitle; isInstance: IsInstance; }; interface PlacesBookmarkUrl extends PlacesBookmarkChanged { } declare var PlacesBookmarkUrl: { prototype: PlacesBookmarkUrl; new(initDict: PlacesBookmarkUrlInit): PlacesBookmarkUrl; isInstance: IsInstance; }; interface PlacesEvent { readonly type: PlacesEventType; } declare var PlacesEvent: { prototype: PlacesEvent; new(): PlacesEvent; isInstance: IsInstance; }; interface PlacesEventCounts { forEach(callbackfn: (value: number, key: string, parent: PlacesEventCounts) => void, thisArg?: any): void; } declare var PlacesEventCounts: { prototype: PlacesEventCounts; new(): PlacesEventCounts; isInstance: IsInstance; }; interface PlacesFavicon extends PlacesEvent { readonly faviconUrl: string; readonly pageGuid: string; readonly url: string; } declare var PlacesFavicon: { prototype: PlacesFavicon; new(initDict: PlacesFaviconInit): PlacesFavicon; isInstance: IsInstance; }; interface PlacesHistoryCleared extends PlacesEvent { } declare var PlacesHistoryCleared: { prototype: PlacesHistoryCleared; new(): PlacesHistoryCleared; isInstance: IsInstance; }; interface PlacesPurgeCaches extends PlacesEvent { } declare var PlacesPurgeCaches: { prototype: PlacesPurgeCaches; new(): PlacesPurgeCaches; isInstance: IsInstance; }; interface PlacesRanking extends PlacesEvent { } declare var PlacesRanking: { prototype: PlacesRanking; new(): PlacesRanking; isInstance: IsInstance; }; interface PlacesVisit extends PlacesEvent { readonly frecency: number; readonly hidden: boolean; readonly lastKnownTitle: string | null; readonly pageGuid: string; readonly referringVisitId: number; readonly transitionType: number; readonly typedCount: number; readonly url: string; readonly visitCount: number; readonly visitId: number; readonly visitTime: number; } declare var PlacesVisit: { prototype: PlacesVisit; new(): PlacesVisit; isInstance: IsInstance; }; interface PlacesVisitRemoved extends PlacesEvent { readonly isPartialVisistsRemoval: boolean; readonly isRemovedFromStore: boolean; readonly pageGuid: string; readonly reason: number; readonly transitionType: number; readonly url: string; readonly REASON_DELETED: 0; readonly REASON_EXPIRED: 1; } declare var PlacesVisitRemoved: { prototype: PlacesVisitRemoved; new(initDict: PlacesVisitRemovedInit): PlacesVisitRemoved; readonly REASON_DELETED: 0; readonly REASON_EXPIRED: 1; isInstance: IsInstance; }; interface PlacesVisitTitle extends PlacesEvent { readonly pageGuid: string; readonly title: string; readonly url: string; } declare var PlacesVisitTitle: { prototype: PlacesVisitTitle; new(initDict: PlacesVisitTitleInit): PlacesVisitTitle; isInstance: IsInstance; }; interface PlacesWeakCallbackWrapper { } declare var PlacesWeakCallbackWrapper: { prototype: PlacesWeakCallbackWrapper; new(callback: PlacesEventCallback): PlacesWeakCallbackWrapper; isInstance: IsInstance; }; interface Plugin { readonly description: string; readonly filename: string; readonly length: number; readonly name: string; item(index: number): MimeType | null; namedItem(name: string): MimeType | null; [index: number]: MimeType; } declare var Plugin: { prototype: Plugin; new(): Plugin; isInstance: IsInstance; }; interface PluginArray { readonly length: number; item(index: number): Plugin | null; namedItem(name: string): Plugin | null; refresh(): void; [index: number]: Plugin; } declare var PluginArray: { prototype: PluginArray; new(): PluginArray; isInstance: IsInstance; }; interface PluginCrashedEvent extends Event { readonly gmpPlugin: boolean; readonly pluginDumpID: string; readonly pluginFilename: string | null; readonly pluginID: number; readonly pluginName: string; readonly submittedCrashReport: boolean; } declare var PluginCrashedEvent: { prototype: PluginCrashedEvent; new(type: string, eventInitDict?: PluginCrashedEventInit): PluginCrashedEvent; isInstance: IsInstance; }; interface PointerEvent extends MouseEvent { readonly altitudeAngle: number; readonly azimuthAngle: number; readonly height: number; readonly isPrimary: boolean; readonly persistentDeviceId: number; readonly pointerId: number; readonly pointerType: string; readonly pressure: number; readonly tangentialPressure: number; readonly tiltX: number; readonly tiltY: number; readonly twist: number; readonly width: number; getCoalescedEvents(): PointerEvent[]; getPredictedEvents(): PointerEvent[]; } declare var PointerEvent: { prototype: PointerEvent; new(type: string, eventInitDict?: PointerEventInit): PointerEvent; isInstance: IsInstance; }; interface PopStateEvent extends Event { readonly hasUAVisualTransition: boolean; readonly state: any; } declare var PopStateEvent: { prototype: PopStateEvent; new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent; isInstance: IsInstance; }; interface PopoverInvokerElement { popoverTargetAction: string; popoverTargetElement: Element | null; } interface PopupBlockedEvent extends Event { readonly popupWindowFeatures: string | null; readonly popupWindowName: string | null; readonly popupWindowURI: URI | null; readonly requestingWindow: Window | null; } declare var PopupBlockedEvent: { prototype: PopupBlockedEvent; new(type: string, eventInitDict?: PopupBlockedEventInit): PopupBlockedEvent; isInstance: IsInstance; }; interface PopupPositionedEvent extends Event { readonly alignmentOffset: number; readonly alignmentPosition: string; readonly isAnchored: boolean; readonly popupAlignment: string; } declare var PopupPositionedEvent: { prototype: PopupPositionedEvent; new(type: string, init?: PopupPositionedEventInit): PopupPositionedEvent; isInstance: IsInstance; }; interface PositionStateEvent extends Event { readonly duration: number; readonly playbackRate: number; readonly position: number; } declare var PositionStateEvent: { prototype: PositionStateEvent; new(type: string, eventInitDict?: PositionStateEventInit): PositionStateEvent; isInstance: IsInstance; }; interface PrecompiledScript { readonly hasReturnValue: boolean; readonly url: string; executeInGlobal(global: any, options?: ExecuteInGlobalOptions): any; } declare var PrecompiledScript: { prototype: PrecompiledScript; new(): PrecompiledScript; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface PrivateAttribution { measureConversion(options: PrivateAttributionConversionOptions): void; saveImpression(options: PrivateAttributionImpressionOptions): void; } declare var PrivateAttribution: { prototype: PrivateAttribution; new(): PrivateAttribution; isInstance: IsInstance; }; interface ProcessMessageManager extends MessageSender, ProcessScriptLoader { readonly isInProcess: boolean; readonly osPid: number; } declare var ProcessMessageManager: { prototype: ProcessMessageManager; new(): ProcessMessageManager; isInstance: IsInstance; }; interface ProcessScriptLoader { getDelayedProcessScripts(): any[][]; loadProcessScript(url: string, allowDelayedLoad: boolean): void; removeDelayedProcessScript(url: string): void; } interface ProcessingInstruction extends CharacterData, LinkStyle { readonly target: string; } declare var ProcessingInstruction: { prototype: ProcessingInstruction; new(): ProcessingInstruction; isInstance: IsInstance; }; interface ProgressEvent extends Event { readonly lengthComputable: boolean; readonly loaded: number; readonly total: number; } declare var ProgressEvent: { prototype: ProgressEvent; new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent; isInstance: IsInstance; }; interface PromiseNativeHandler { } interface PromiseRejectionEvent extends Event { readonly promise: any; readonly reason: any; } declare var PromiseRejectionEvent: { prototype: PromiseRejectionEvent; new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface PublicKeyCredential extends Credential { readonly authenticatorAttachment: string | null; readonly rawId: ArrayBuffer; readonly response: AuthenticatorResponse; getClientExtensionResults(): AuthenticationExtensionsClientOutputs; toJSON(): any; } declare var PublicKeyCredential: { prototype: PublicKeyCredential; new(): PublicKeyCredential; isInstance: IsInstance; getClientCapabilities(): Promise; isConditionalMediationAvailable(): Promise; isUserVerifyingPlatformAuthenticatorAvailable(): Promise; parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions; parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions; }; interface PushManager { getSubscription(): Promise; permissionState(options?: PushSubscriptionOptionsInit): Promise; subscribe(options?: PushSubscriptionOptionsInit): Promise; } declare var PushManager: { prototype: PushManager; new(scope: string): PushManager; isInstance: IsInstance; readonly supportedContentEncodings: any; }; interface PushManagerImpl { getSubscription(): Promise; permissionState(options?: PushSubscriptionOptionsInit): Promise; subscribe(options?: PushSubscriptionOptionsInit): Promise; } declare var PushManagerImpl: { prototype: PushManagerImpl; new(scope: string): PushManagerImpl; isInstance: IsInstance; }; interface PushSubscription { readonly endpoint: string; readonly expirationTime: EpochTimeStamp | null; readonly options: PushSubscriptionOptions; getKey(name: PushEncryptionKeyName): ArrayBuffer | null; toJSON(): PushSubscriptionJSON; unsubscribe(): Promise; } declare var PushSubscription: { prototype: PushSubscription; new(initDict: PushSubscriptionInit): PushSubscription; isInstance: IsInstance; }; interface PushSubscriptionOptions { readonly applicationServerKey: ArrayBuffer | null; } declare var PushSubscriptionOptions: { prototype: PushSubscriptionOptions; new(): PushSubscriptionOptions; isInstance: IsInstance; }; interface RTCCertificate { readonly expires: DOMTimeStamp; getFingerprints(): RTCDtlsFingerprint[]; } declare var RTCCertificate: { prototype: RTCCertificate; new(): RTCCertificate; isInstance: IsInstance; }; interface RTCDTMFSenderEventMap { "tonechange": Event; } interface RTCDTMFSender extends EventTarget { readonly canInsertDTMF: boolean; ontonechange: ((this: RTCDTMFSender, ev: Event) => any) | null; readonly toneBuffer: string; insertDTMF(tones: string, duration?: number, interToneGap?: number): void; addEventListener(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: RTCDTMFSender, ev: RTCDTMFSenderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var RTCDTMFSender: { prototype: RTCDTMFSender; new(): RTCDTMFSender; isInstance: IsInstance; }; interface RTCDTMFToneChangeEvent extends Event { readonly tone: string; } declare var RTCDTMFToneChangeEvent: { prototype: RTCDTMFToneChangeEvent; new(type: string, eventInitDict?: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent; isInstance: IsInstance; }; interface RTCDataChannelEventMap { "bufferedamountlow": Event; "close": Event; "closing": Event; "error": Event; "message": Event; "open": Event; } interface RTCDataChannel extends EventTarget { binaryType: RTCDataChannelType; readonly bufferedAmount: number; bufferedAmountLowThreshold: number; readonly id: number | null; readonly label: string; readonly maxPacketLifeTime: number | null; readonly maxRetransmits: number | null; readonly negotiated: boolean; onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null; onclose: ((this: RTCDataChannel, ev: Event) => any) | null; onclosing: ((this: RTCDataChannel, ev: Event) => any) | null; onerror: ((this: RTCDataChannel, ev: Event) => any) | null; onmessage: ((this: RTCDataChannel, ev: Event) => any) | null; onopen: ((this: RTCDataChannel, ev: Event) => any) | null; readonly ordered: boolean; readonly protocol: string; readonly readyState: RTCDataChannelState; close(): void; send(data: string): void; send(data: Blob): void; send(data: ArrayBuffer): void; send(data: ArrayBufferView): void; addEventListener(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var RTCDataChannel: { prototype: RTCDataChannel; new(): RTCDataChannel; isInstance: IsInstance; }; interface RTCDataChannelEvent extends Event { readonly channel: RTCDataChannel; } declare var RTCDataChannelEvent: { prototype: RTCDataChannelEvent; new(type: string, eventInitDict: RTCDataChannelEventInit): RTCDataChannelEvent; isInstance: IsInstance; }; interface RTCDtlsTransportEventMap { "statechange": Event; } interface RTCDtlsTransport extends EventTarget { readonly iceTransport: RTCIceTransport; onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null; readonly state: RTCDtlsTransportState; addEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var RTCDtlsTransport: { prototype: RTCDtlsTransport; new(): RTCDtlsTransport; isInstance: IsInstance; }; interface RTCEncodedAudioFrame { data: ArrayBuffer; readonly timestamp: number; getMetadata(): RTCEncodedAudioFrameMetadata; } declare var RTCEncodedAudioFrame: { prototype: RTCEncodedAudioFrame; new(originalFrame: RTCEncodedAudioFrame, options?: RTCEncodedAudioFrameOptions): RTCEncodedAudioFrame; isInstance: IsInstance; }; interface RTCEncodedVideoFrame { data: ArrayBuffer; readonly timestamp: number; readonly type: RTCEncodedVideoFrameType; getMetadata(): RTCEncodedVideoFrameMetadata; } declare var RTCEncodedVideoFrame: { prototype: RTCEncodedVideoFrame; new(originalFrame: RTCEncodedVideoFrame, options?: RTCEncodedVideoFrameOptions): RTCEncodedVideoFrame; isInstance: IsInstance; }; interface RTCError extends DOMException { readonly errorDetail: RTCErrorDetailType; readonly receivedAlert: number | null; readonly sctpCauseCode: number | null; readonly sdpLineNumber: number | null; readonly sentAlert: number | null; } declare var RTCError: { prototype: RTCError; new(init: RTCErrorInit, message?: string): RTCError; isInstance: IsInstance; }; interface RTCErrorEvent extends Event { readonly error: RTCError; } declare var RTCErrorEvent: { prototype: RTCErrorEvent; new(type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent; isInstance: IsInstance; }; interface RTCIceCandidate { readonly address: string | null; readonly candidate: string; readonly component: RTCIceComponent | null; readonly foundation: string | null; readonly port: number | null; readonly priority: number | null; readonly protocol: RTCIceProtocol | null; readonly relatedAddress: string | null; readonly relatedPort: number | null; readonly sdpMLineIndex: number | null; readonly sdpMid: string | null; readonly tcpType: RTCIceTcpCandidateType | null; readonly type: RTCIceCandidateType | null; readonly usernameFragment: string | null; toJSON(): RTCIceCandidateInit; } declare var RTCIceCandidate: { prototype: RTCIceCandidate; new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate; isInstance: IsInstance; }; interface RTCIceTransportEventMap { "gatheringstatechange": Event; "statechange": Event; } interface RTCIceTransport extends EventTarget { readonly gatheringState: RTCIceGathererState; ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null; onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null; readonly role: RTCIceRole; readonly state: RTCIceTransportState; addEventListener(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var RTCIceTransport: { prototype: RTCIceTransport; new(): RTCIceTransport; isInstance: IsInstance; }; interface RTCIdentityProviderRegistrar { readonly hasIdp: boolean; generateAssertion(contents: string, origin: string, options?: RTCIdentityProviderOptions): Promise; register(idp: RTCIdentityProvider): void; validateAssertion(assertion: string, origin: string): Promise; } interface RTCPeerConnectionEventMap { "addstream": Event; "addtrack": Event; "connectionstatechange": Event; "datachannel": Event; "icecandidate": Event; "icecandidateerror": Event; "iceconnectionstatechange": Event; "icegatheringstatechange": Event; "negotiationneeded": Event; "signalingstatechange": Event; "track": Event; } interface RTCPeerConnection extends EventTarget { readonly canTrickleIceCandidates: boolean | null; readonly connectionState: RTCPeerConnectionState; readonly currentLocalDescription: RTCSessionDescription | null; readonly currentRemoteDescription: RTCSessionDescription | null; readonly iceConnectionState: RTCIceConnectionState; readonly iceGatheringState: RTCIceGatheringState; id: string; readonly idpLoginUrl: string | null; readonly localDescription: RTCSessionDescription | null; onaddstream: ((this: RTCPeerConnection, ev: Event) => any) | null; onaddtrack: ((this: RTCPeerConnection, ev: Event) => any) | null; onconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null; ondatachannel: ((this: RTCPeerConnection, ev: Event) => any) | null; onicecandidate: ((this: RTCPeerConnection, ev: Event) => any) | null; onicecandidateerror: ((this: RTCPeerConnection, ev: Event) => any) | null; oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null; onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null; onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null; onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null; ontrack: ((this: RTCPeerConnection, ev: Event) => any) | null; readonly peerIdentity: Promise; readonly pendingLocalDescription: RTCSessionDescription | null; readonly pendingRemoteDescription: RTCSessionDescription | null; readonly remoteDescription: RTCSessionDescription | null; readonly sctp: RTCSctpTransport | null; readonly signalingState: RTCSignalingState; addIceCandidate(candidate?: RTCIceCandidateInit | RTCIceCandidate): Promise; addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise; addStream(stream: MediaStream): void; addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender; addTransceiver(trackOrKind: MediaStreamTrack | string, init?: RTCRtpTransceiverInit): RTCRtpTransceiver; close(): void; createAnswer(options?: RTCAnswerOptions): Promise; createAnswer(successCallback: RTCSessionDescriptionCallback, failureCallback: RTCPeerConnectionErrorCallback): Promise; createDataChannel(label: string, dataChannelDict?: RTCDataChannelInit): RTCDataChannel; createOffer(options?: RTCOfferOptions): Promise; createOffer(successCallback: RTCSessionDescriptionCallback, failureCallback: RTCPeerConnectionErrorCallback, options?: RTCOfferOptions): Promise; getConfiguration(): RTCConfiguration; getIdentityAssertion(): Promise; getLocalStreams(): MediaStream[]; getReceivers(): RTCRtpReceiver[]; getRemoteStreams(): MediaStream[]; getSenders(): RTCRtpSender[]; getStats(selector?: MediaStreamTrack | null): Promise; getTransceivers(): RTCRtpTransceiver[]; mozDisablePacketDump(level: number, type: mozPacketDumpType, sending: boolean): void; mozEnablePacketDump(level: number, type: mozPacketDumpType, sending: boolean): void; mozSetPacketCallback(callback: mozPacketCallback): void; removeTrack(sender: RTCRtpSender): void; restartIce(): void; setConfiguration(configuration?: RTCConfiguration): void; setIdentityProvider(provider: string, options?: RTCIdentityProviderOptions): void; setLocalDescription(description?: RTCLocalSessionDescriptionInit): Promise; setLocalDescription(description: RTCLocalSessionDescriptionInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise; setRemoteDescription(description: RTCSessionDescriptionInit): Promise; setRemoteDescription(description: RTCSessionDescriptionInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise; addEventListener(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var RTCPeerConnection: { prototype: RTCPeerConnection; new(configuration?: RTCConfiguration): RTCPeerConnection; isInstance: IsInstance; generateCertificate(keygenAlgorithm: AlgorithmIdentifier): Promise; }; interface RTCPeerConnectionIceErrorEvent extends Event { readonly address: string | null; readonly errorCode: number; readonly errorText: string; readonly port: number | null; readonly url: string; } declare var RTCPeerConnectionIceErrorEvent: { prototype: RTCPeerConnectionIceErrorEvent; new(type: string, eventInitDict: RTCPeerConnectionIceErrorEventInit): RTCPeerConnectionIceErrorEvent; isInstance: IsInstance; }; interface RTCPeerConnectionIceEvent extends Event { readonly candidate: RTCIceCandidate | null; } declare var RTCPeerConnectionIceEvent: { prototype: RTCPeerConnectionIceEvent; new(type: string, eventInitDict?: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent; isInstance: IsInstance; }; interface RTCPeerConnectionStatic { registerPeerConnectionLifecycleCallback(cb: PeerConnectionLifecycleCallback): void; } declare var RTCPeerConnectionStatic: { prototype: RTCPeerConnectionStatic; new(): RTCPeerConnectionStatic; isInstance: IsInstance; }; interface RTCRtpReceiver { jitterBufferTarget: DOMHighResTimeStamp | null; readonly track: MediaStreamTrack; transform: RTCRtpTransform | null; readonly transport: RTCDtlsTransport | null; getContributingSources(): RTCRtpContributingSource[]; getParameters(): RTCRtpReceiveParameters; getStats(): Promise; getSynchronizationSources(): RTCRtpSynchronizationSource[]; mozInsertAudioLevelForContributingSource(source: number, timestamp: DOMHighResTimeStamp, rtpTimestamp: number, hasLevel: boolean, level: number): void; } declare var RTCRtpReceiver: { prototype: RTCRtpReceiver; new(): RTCRtpReceiver; isInstance: IsInstance; getCapabilities(kind: string): RTCRtpCapabilities | null; }; interface RTCRtpScriptTransform { } declare var RTCRtpScriptTransform: { prototype: RTCRtpScriptTransform; new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform; isInstance: IsInstance; }; interface RTCRtpSender { readonly dtmf: RTCDTMFSender | null; readonly track: MediaStreamTrack | null; transform: RTCRtpTransform | null; readonly transport: RTCDtlsTransport | null; getParameters(): RTCRtpSendParameters; getStats(): Promise; getStreams(): MediaStream[]; replaceTrack(withTrack: MediaStreamTrack | null): Promise; setParameters(parameters: RTCRtpSendParameters): Promise; setStreams(...streams: MediaStream[]): void; setStreamsImpl(...streams: MediaStream[]): void; setTrack(track: MediaStreamTrack | null): void; } declare var RTCRtpSender: { prototype: RTCRtpSender; new(): RTCRtpSender; isInstance: IsInstance; getCapabilities(kind: string): RTCRtpCapabilities | null; }; interface RTCRtpTransceiver { readonly currentDirection: RTCRtpTransceiverDirection | null; direction: RTCRtpTransceiverDirection; readonly mid: string | null; readonly receiver: RTCRtpReceiver; readonly sender: RTCRtpSender; readonly stopped: boolean; getKind(): string; hasBeenUsedToSend(): boolean; setCodecPreferences(codecs: RTCRtpCodec[]): void; setDirectionInternal(direction: RTCRtpTransceiverDirection): void; stop(): void; } declare var RTCRtpTransceiver: { prototype: RTCRtpTransceiver; new(): RTCRtpTransceiver; isInstance: IsInstance; }; interface RTCSctpTransportEventMap { "statechange": Event; } interface RTCSctpTransport extends EventTarget { readonly maxChannels: number | null; readonly maxMessageSize: number; onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null; readonly state: RTCSctpTransportState; readonly transport: RTCDtlsTransport; addEventListener(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var RTCSctpTransport: { prototype: RTCSctpTransport; new(): RTCSctpTransport; isInstance: IsInstance; }; interface RTCSessionDescription { sdp: string; type: RTCSdpType; toJSON(): any; } declare var RTCSessionDescription: { prototype: RTCSessionDescription; new(descriptionInitDict: RTCSessionDescriptionInit): RTCSessionDescription; isInstance: IsInstance; }; interface RTCStatsReport { forEach(callbackfn: (value: any, key: string, parent: RTCStatsReport) => void, thisArg?: any): void; } declare var RTCStatsReport: { prototype: RTCStatsReport; new(): RTCStatsReport; isInstance: IsInstance; }; interface RTCTrackEvent extends Event { readonly receiver: RTCRtpReceiver; readonly streams: MediaStream[]; readonly track: MediaStreamTrack; readonly transceiver: RTCRtpTransceiver; } declare var RTCTrackEvent: { prototype: RTCTrackEvent; new(type: string, eventInitDict: RTCTrackEventInit): RTCTrackEvent; isInstance: IsInstance; }; interface RadioNodeList extends NodeList { value: string; } declare var RadioNodeList: { prototype: RadioNodeList; new(): RadioNodeList; isInstance: IsInstance; }; interface Range extends AbstractRange { readonly commonAncestorContainer: Node; cloneContents(): DocumentFragment; cloneRange(): Range; collapse(toStart?: boolean): void; compareBoundaryPoints(how: number, sourceRange: Range): number; comparePoint(node: Node, offset: number): number; createContextualFragment(fragment: TrustedHTML | string): DocumentFragment; deleteContents(): void; detach(): void; extractContents(): DocumentFragment; getAllowCrossShadowBoundaryClientRects(): DOMRectList | null; getBoundingClientRect(): DOMRect; getClientRects(): DOMRectList | null; getClientRectsAndTexts(): ClientRectsAndTexts; insertNode(node: Node): void; intersectsNode(node: Node): boolean; isPointInRange(node: Node, offset: number): boolean; selectNode(refNode: Node): void; selectNodeContents(refNode: Node): void; setEnd(refNode: Node, offset: number): void; setEndAfter(refNode: Node): void; setEndAllowCrossShadowBoundary(refNode: Node, offset: number): void; setEndBefore(refNode: Node): void; setStart(refNode: Node, offset: number): void; setStartAfter(refNode: Node): void; setStartAllowCrossShadowBoundary(refNode: Node, offset: number): void; setStartBefore(refNode: Node): void; surroundContents(newParent: Node): void; toString(): string; readonly START_TO_START: 0; readonly START_TO_END: 1; readonly END_TO_END: 2; readonly END_TO_START: 3; } declare var Range: { prototype: Range; new(): Range; readonly START_TO_START: 0; readonly START_TO_END: 1; readonly END_TO_END: 2; readonly END_TO_START: 3; isInstance: IsInstance; }; interface ReadableByteStreamController { readonly byobRequest: ReadableStreamBYOBRequest | null; readonly desiredSize: number | null; close(): void; enqueue(chunk: ArrayBufferView): void; error(e?: any): void; } declare var ReadableByteStreamController: { prototype: ReadableByteStreamController; new(): ReadableByteStreamController; isInstance: IsInstance; }; interface ReadableStream { readonly locked: boolean; cancel(reason?: any): Promise; getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader; pipeThrough(transform: ReadableWritablePair, options?: StreamPipeOptions): ReadableStream; pipeTo(destination: WritableStream, options?: StreamPipeOptions): Promise; tee(): ReadableStream[]; } declare var ReadableStream: { prototype: ReadableStream; new(underlyingSource?: any, strategy?: QueuingStrategy): ReadableStream; isInstance: IsInstance; from(asyncIterable: any): ReadableStream; }; interface ReadableStreamBYOBReader extends ReadableStreamGenericReader { read(view: ArrayBufferView, options?: ReadableStreamBYOBReaderReadOptions): Promise; releaseLock(): void; } declare var ReadableStreamBYOBReader: { prototype: ReadableStreamBYOBReader; new(stream: ReadableStream): ReadableStreamBYOBReader; isInstance: IsInstance; }; interface ReadableStreamBYOBRequest { readonly view: ArrayBufferView | null; respond(bytesWritten: number): void; respondWithNewView(view: ArrayBufferView): void; } declare var ReadableStreamBYOBRequest: { prototype: ReadableStreamBYOBRequest; new(): ReadableStreamBYOBRequest; isInstance: IsInstance; }; interface ReadableStreamDefaultController { readonly desiredSize: number | null; close(): void; enqueue(chunk?: any): void; error(e?: any): void; } declare var ReadableStreamDefaultController: { prototype: ReadableStreamDefaultController; new(): ReadableStreamDefaultController; isInstance: IsInstance; }; interface ReadableStreamDefaultReader extends ReadableStreamGenericReader { read(): Promise; releaseLock(): void; } declare var ReadableStreamDefaultReader: { prototype: ReadableStreamDefaultReader; new(stream: ReadableStream): ReadableStreamDefaultReader; isInstance: IsInstance; }; interface ReadableStreamGenericReader { readonly closed: Promise; cancel(reason?: any): Promise; } interface RedirectBlockedEvent extends Event { readonly redirectURI: URI | null; readonly requestingWindow: Window | null; } declare var RedirectBlockedEvent: { prototype: RedirectBlockedEvent; new(type: string, eventInitDict?: RedirectBlockedEventInit): RedirectBlockedEvent; isInstance: IsInstance; }; interface Report { readonly body: ReportBody | null; readonly type: string; readonly url: string; toJSON(): any; } interface ReportBody { toJSON(): any; } declare var ReportBody: { prototype: ReportBody; new(): ReportBody; isInstance: IsInstance; }; interface ReportingObserver { disconnect(): void; observe(): void; takeRecords(): ReportList; } declare var ReportingObserver: { prototype: ReportingObserver; new(callback: ReportingObserverCallback, options?: ReportingObserverOptions): ReportingObserver; isInstance: IsInstance; }; interface Request extends 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 mozErrors: boolean; readonly redirect: RequestRedirect; readonly referrer: string; readonly referrerPolicy: ReferrerPolicy; readonly signal: AbortSignal; readonly url: string; clone(): Request; overrideContentPolicyType(context: nsContentPolicyType): void; } declare var Request: { prototype: Request; new(input: RequestInfo | URL, init?: RequestInit): Request; isInstance: IsInstance; }; interface ResizeObserver { disconnect(): void; observe(target: Element, options?: ResizeObserverOptions): void; unobserve(target: Element): void; } declare var ResizeObserver: { prototype: ResizeObserver; new(callback: ResizeObserverCallback): ResizeObserver; isInstance: IsInstance; }; interface ResizeObserverEntry { readonly borderBoxSize: ResizeObserverSize[]; readonly contentBoxSize: ResizeObserverSize[]; readonly contentRect: DOMRectReadOnly; readonly devicePixelContentBoxSize: ResizeObserverSize[]; readonly target: Element; } declare var ResizeObserverEntry: { prototype: ResizeObserverEntry; new(): ResizeObserverEntry; isInstance: IsInstance; }; interface ResizeObserverSize { readonly blockSize: number; readonly inlineSize: number; } declare var ResizeObserverSize: { prototype: ResizeObserverSize; new(): ResizeObserverSize; isInstance: IsInstance; }; interface Response extends Body { readonly body: ReadableStream | null; readonly hasCacheInfoChannel: boolean; readonly headers: Headers; readonly ok: boolean; readonly redirected: boolean; readonly status: number; readonly statusText: string; readonly type: ResponseType; readonly url: string; clone(): Response; cloneUnfiltered(): Response; } declare var Response: { prototype: Response; new(body?: Blob | BufferSource | FormData | URLSearchParams | ReadableStream | string | null, init?: ResponseInit): Response; isInstance: IsInstance; error(): Response; json(data: any, init?: ResponseInit): Response; redirect(url: string, status?: number): Response; }; interface SVGAElement extends SVGGraphicsElement, SVGURIReference { download: string; hreflang: string; ping: string; referrerPolicy: string; rel: string; readonly relList: DOMTokenList; readonly target: SVGAnimatedString; text: string; type: string; addEventListener(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGAElement: { prototype: SVGAElement; new(): SVGAElement; isInstance: IsInstance; }; interface SVGAngle { readonly unitType: number; value: number; valueAsString: string; valueInSpecifiedUnits: number; convertToSpecifiedUnits(unitType: number): void; newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void; readonly SVG_ANGLETYPE_UNKNOWN: 0; readonly SVG_ANGLETYPE_UNSPECIFIED: 1; readonly SVG_ANGLETYPE_DEG: 2; readonly SVG_ANGLETYPE_RAD: 3; readonly SVG_ANGLETYPE_GRAD: 4; } declare var SVGAngle: { prototype: SVGAngle; new(): SVGAngle; readonly SVG_ANGLETYPE_UNKNOWN: 0; readonly SVG_ANGLETYPE_UNSPECIFIED: 1; readonly SVG_ANGLETYPE_DEG: 2; readonly SVG_ANGLETYPE_RAD: 3; readonly SVG_ANGLETYPE_GRAD: 4; isInstance: IsInstance; }; interface SVGAnimateElement extends SVGAnimationElement { addEventListener(type: K, listener: (this: SVGAnimateElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGAnimateElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGAnimateElement: { prototype: SVGAnimateElement; new(): SVGAnimateElement; isInstance: IsInstance; }; interface SVGAnimateMotionElement extends SVGAnimationElement { addEventListener(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGAnimateMotionElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGAnimateMotionElement: { prototype: SVGAnimateMotionElement; new(): SVGAnimateMotionElement; isInstance: IsInstance; }; interface SVGAnimateTransformElement extends SVGAnimationElement { addEventListener(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGAnimateTransformElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGAnimateTransformElement: { prototype: SVGAnimateTransformElement; new(): SVGAnimateTransformElement; isInstance: IsInstance; }; interface SVGAnimatedAngle { readonly animVal: SVGAngle; readonly baseVal: SVGAngle; } declare var SVGAnimatedAngle: { prototype: SVGAnimatedAngle; new(): SVGAnimatedAngle; isInstance: IsInstance; }; interface SVGAnimatedBoolean { readonly animVal: boolean; baseVal: boolean; } declare var SVGAnimatedBoolean: { prototype: SVGAnimatedBoolean; new(): SVGAnimatedBoolean; isInstance: IsInstance; }; interface SVGAnimatedEnumeration { readonly animVal: number; baseVal: number; } declare var SVGAnimatedEnumeration: { prototype: SVGAnimatedEnumeration; new(): SVGAnimatedEnumeration; isInstance: IsInstance; }; interface SVGAnimatedInteger { readonly animVal: number; baseVal: number; } declare var SVGAnimatedInteger: { prototype: SVGAnimatedInteger; new(): SVGAnimatedInteger; isInstance: IsInstance; }; interface SVGAnimatedLength { readonly animVal: SVGLength; readonly baseVal: SVGLength; } declare var SVGAnimatedLength: { prototype: SVGAnimatedLength; new(): SVGAnimatedLength; isInstance: IsInstance; }; interface SVGAnimatedLengthList { readonly animVal: SVGLengthList; readonly baseVal: SVGLengthList; } declare var SVGAnimatedLengthList: { prototype: SVGAnimatedLengthList; new(): SVGAnimatedLengthList; isInstance: IsInstance; }; interface SVGAnimatedNumber { readonly animVal: number; baseVal: number; } declare var SVGAnimatedNumber: { prototype: SVGAnimatedNumber; new(): SVGAnimatedNumber; isInstance: IsInstance; }; interface SVGAnimatedNumberList { readonly animVal: SVGNumberList; readonly baseVal: SVGNumberList; } declare var SVGAnimatedNumberList: { prototype: SVGAnimatedNumberList; new(): SVGAnimatedNumberList; isInstance: IsInstance; }; interface SVGAnimatedPoints { readonly animatedPoints: SVGPointList; readonly points: SVGPointList; } interface SVGAnimatedPreserveAspectRatio { readonly animVal: SVGPreserveAspectRatio; readonly baseVal: SVGPreserveAspectRatio; } declare var SVGAnimatedPreserveAspectRatio: { prototype: SVGAnimatedPreserveAspectRatio; new(): SVGAnimatedPreserveAspectRatio; isInstance: IsInstance; }; interface SVGAnimatedRect { readonly animVal: SVGRect | null; readonly baseVal: SVGRect | null; } declare var SVGAnimatedRect: { prototype: SVGAnimatedRect; new(): SVGAnimatedRect; isInstance: IsInstance; }; interface SVGAnimatedString { readonly animVal: string; baseVal: TrustedScriptURL | string; } declare var SVGAnimatedString: { prototype: SVGAnimatedString; new(): SVGAnimatedString; isInstance: IsInstance; }; interface SVGAnimatedTransformList { readonly animVal: SVGTransformList; readonly baseVal: SVGTransformList; } declare var SVGAnimatedTransformList: { prototype: SVGAnimatedTransformList; new(): SVGAnimatedTransformList; isInstance: IsInstance; }; interface SVGAnimationElementEventMap extends SVGElementEventMap { "begin": Event; "end": Event; "repeat": Event; } interface SVGAnimationElement extends SVGElement, SVGTests { onbegin: ((this: SVGAnimationElement, ev: Event) => any) | null; onend: ((this: SVGAnimationElement, ev: Event) => any) | null; onrepeat: ((this: SVGAnimationElement, ev: Event) => any) | null; readonly targetElement: SVGElement | null; beginElement(): void; beginElementAt(offset: number): void; endElement(): void; endElementAt(offset: number): void; getCurrentTime(): number; getSimpleDuration(): number; getStartTime(): number; addEventListener(type: K, listener: (this: SVGAnimationElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGAnimationElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGAnimationElement: { prototype: SVGAnimationElement; new(): SVGAnimationElement; isInstance: IsInstance; }; interface SVGCircleElement extends SVGGeometryElement { readonly cx: SVGAnimatedLength; readonly cy: SVGAnimatedLength; readonly r: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGCircleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGCircleElement: { prototype: SVGCircleElement; new(): SVGCircleElement; isInstance: IsInstance; }; interface SVGClipPathElement extends SVGElement { readonly clipPathUnits: SVGAnimatedEnumeration; readonly transform: SVGAnimatedTransformList; addEventListener(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGClipPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGClipPathElement: { prototype: SVGClipPathElement; new(): SVGClipPathElement; isInstance: IsInstance; }; 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_UNKNOWN: 0; readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: 1; readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: 2; readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: 3; readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: 4; readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: 5; addEventListener(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGComponentTransferFunctionElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGComponentTransferFunctionElement: { prototype: SVGComponentTransferFunctionElement; new(): SVGComponentTransferFunctionElement; readonly SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN: 0; readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: 1; readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: 2; readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: 3; readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: 4; readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: 5; isInstance: IsInstance; }; interface SVGDefsElement extends SVGGraphicsElement { addEventListener(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGDefsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGDefsElement: { prototype: SVGDefsElement; new(): SVGDefsElement; isInstance: IsInstance; }; interface SVGDescElement extends SVGElement { addEventListener(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGDescElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGDescElement: { prototype: SVGDescElement; new(): SVGDescElement; isInstance: IsInstance; }; interface SVGElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap, OnErrorEventHandlerForNodesEventMap, TouchEventHandlersEventMap { } // @ts-ignore interface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrForeignElement, OnErrorEventHandlerForNodes, TouchEventHandlers { readonly className: SVGAnimatedString; id: string; nonce: string; readonly ownerSVGElement: SVGSVGElement | null; readonly viewportElement: SVGElement | null; addEventListener(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGElement: { prototype: SVGElement; new(): SVGElement; isInstance: IsInstance; }; interface SVGEllipseElement extends SVGGeometryElement { readonly cx: SVGAnimatedLength; readonly cy: SVGAnimatedLength; readonly rx: SVGAnimatedLength; readonly ry: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGEllipseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGEllipseElement: { prototype: SVGEllipseElement; new(): SVGEllipseElement; isInstance: IsInstance; }; interface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly in1: SVGAnimatedString; readonly in2: SVGAnimatedString; readonly mode: SVGAnimatedEnumeration; readonly SVG_FEBLEND_MODE_UNKNOWN: 0; readonly SVG_FEBLEND_MODE_NORMAL: 1; readonly SVG_FEBLEND_MODE_MULTIPLY: 2; readonly SVG_FEBLEND_MODE_SCREEN: 3; readonly SVG_FEBLEND_MODE_DARKEN: 4; readonly SVG_FEBLEND_MODE_LIGHTEN: 5; readonly SVG_FEBLEND_MODE_OVERLAY: 6; readonly SVG_FEBLEND_MODE_COLOR_DODGE: 7; readonly SVG_FEBLEND_MODE_COLOR_BURN: 8; readonly SVG_FEBLEND_MODE_HARD_LIGHT: 9; readonly SVG_FEBLEND_MODE_SOFT_LIGHT: 10; readonly SVG_FEBLEND_MODE_DIFFERENCE: 11; readonly SVG_FEBLEND_MODE_EXCLUSION: 12; readonly SVG_FEBLEND_MODE_HUE: 13; readonly SVG_FEBLEND_MODE_SATURATION: 14; readonly SVG_FEBLEND_MODE_COLOR: 15; readonly SVG_FEBLEND_MODE_LUMINOSITY: 16; addEventListener(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEBlendElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEBlendElement: { prototype: SVGFEBlendElement; new(): SVGFEBlendElement; readonly SVG_FEBLEND_MODE_UNKNOWN: 0; readonly SVG_FEBLEND_MODE_NORMAL: 1; readonly SVG_FEBLEND_MODE_MULTIPLY: 2; readonly SVG_FEBLEND_MODE_SCREEN: 3; readonly SVG_FEBLEND_MODE_DARKEN: 4; readonly SVG_FEBLEND_MODE_LIGHTEN: 5; readonly SVG_FEBLEND_MODE_OVERLAY: 6; readonly SVG_FEBLEND_MODE_COLOR_DODGE: 7; readonly SVG_FEBLEND_MODE_COLOR_BURN: 8; readonly SVG_FEBLEND_MODE_HARD_LIGHT: 9; readonly SVG_FEBLEND_MODE_SOFT_LIGHT: 10; readonly SVG_FEBLEND_MODE_DIFFERENCE: 11; readonly SVG_FEBLEND_MODE_EXCLUSION: 12; readonly SVG_FEBLEND_MODE_HUE: 13; readonly SVG_FEBLEND_MODE_SATURATION: 14; readonly SVG_FEBLEND_MODE_COLOR: 15; readonly SVG_FEBLEND_MODE_LUMINOSITY: 16; isInstance: IsInstance; }; interface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly in1: SVGAnimatedString; readonly type: SVGAnimatedEnumeration; readonly values: SVGAnimatedNumberList; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; readonly SVG_FECOLORMATRIX_TYPE_SATURATE: 2; readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: 3; readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: 4; addEventListener(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEColorMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEColorMatrixElement: { prototype: SVGFEColorMatrixElement; new(): SVGFEColorMatrixElement; readonly SVG_FECOLORMATRIX_TYPE_UNKNOWN: 0; readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1; readonly SVG_FECOLORMATRIX_TYPE_SATURATE: 2; readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: 3; readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: 4; isInstance: IsInstance; }; interface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly in1: SVGAnimatedString; addEventListener(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEComponentTransferElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEComponentTransferElement: { prototype: SVGFEComponentTransferElement; new(): SVGFEComponentTransferElement; isInstance: IsInstance; }; 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_UNKNOWN: 0; readonly SVG_FECOMPOSITE_OPERATOR_OVER: 1; readonly SVG_FECOMPOSITE_OPERATOR_IN: 2; readonly SVG_FECOMPOSITE_OPERATOR_OUT: 3; readonly SVG_FECOMPOSITE_OPERATOR_ATOP: 4; readonly SVG_FECOMPOSITE_OPERATOR_XOR: 5; readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: 6; readonly SVG_FECOMPOSITE_OPERATOR_LIGHTER: 7; addEventListener(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFECompositeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFECompositeElement: { prototype: SVGFECompositeElement; new(): SVGFECompositeElement; readonly SVG_FECOMPOSITE_OPERATOR_UNKNOWN: 0; readonly SVG_FECOMPOSITE_OPERATOR_OVER: 1; readonly SVG_FECOMPOSITE_OPERATOR_IN: 2; readonly SVG_FECOMPOSITE_OPERATOR_OUT: 3; readonly SVG_FECOMPOSITE_OPERATOR_ATOP: 4; readonly SVG_FECOMPOSITE_OPERATOR_XOR: 5; readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: 6; readonly SVG_FECOMPOSITE_OPERATOR_LIGHTER: 7; isInstance: IsInstance; }; 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_UNKNOWN: 0; readonly SVG_EDGEMODE_DUPLICATE: 1; readonly SVG_EDGEMODE_WRAP: 2; readonly SVG_EDGEMODE_NONE: 3; addEventListener(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEConvolveMatrixElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEConvolveMatrixElement: { prototype: SVGFEConvolveMatrixElement; new(): SVGFEConvolveMatrixElement; readonly SVG_EDGEMODE_UNKNOWN: 0; readonly SVG_EDGEMODE_DUPLICATE: 1; readonly SVG_EDGEMODE_WRAP: 2; readonly SVG_EDGEMODE_NONE: 3; isInstance: IsInstance; }; interface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly diffuseConstant: SVGAnimatedNumber; readonly in1: SVGAnimatedString; readonly kernelUnitLengthX: SVGAnimatedNumber; readonly kernelUnitLengthY: SVGAnimatedNumber; readonly surfaceScale: SVGAnimatedNumber; addEventListener(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEDiffuseLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEDiffuseLightingElement: { prototype: SVGFEDiffuseLightingElement; new(): SVGFEDiffuseLightingElement; isInstance: IsInstance; }; interface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly in1: SVGAnimatedString; readonly in2: SVGAnimatedString; readonly scale: SVGAnimatedNumber; readonly xChannelSelector: SVGAnimatedEnumeration; readonly yChannelSelector: SVGAnimatedEnumeration; readonly SVG_CHANNEL_UNKNOWN: 0; readonly SVG_CHANNEL_R: 1; readonly SVG_CHANNEL_G: 2; readonly SVG_CHANNEL_B: 3; readonly SVG_CHANNEL_A: 4; addEventListener(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEDisplacementMapElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEDisplacementMapElement: { prototype: SVGFEDisplacementMapElement; new(): SVGFEDisplacementMapElement; readonly SVG_CHANNEL_UNKNOWN: 0; readonly SVG_CHANNEL_R: 1; readonly SVG_CHANNEL_G: 2; readonly SVG_CHANNEL_B: 3; readonly SVG_CHANNEL_A: 4; isInstance: IsInstance; }; interface SVGFEDistantLightElement extends SVGElement { readonly azimuth: SVGAnimatedNumber; readonly elevation: SVGAnimatedNumber; addEventListener(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEDistantLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEDistantLightElement: { prototype: SVGFEDistantLightElement; new(): SVGFEDistantLightElement; isInstance: IsInstance; }; interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly dx: SVGAnimatedNumber; readonly dy: SVGAnimatedNumber; readonly in1: SVGAnimatedString; readonly stdDeviationX: SVGAnimatedNumber; readonly stdDeviationY: SVGAnimatedNumber; setStdDeviation(stdDeviationX: number, stdDeviationY: number): void; addEventListener(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEDropShadowElement: { prototype: SVGFEDropShadowElement; new(): SVGFEDropShadowElement; isInstance: IsInstance; }; interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { addEventListener(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEFloodElement: { prototype: SVGFEFloodElement; new(): SVGFEFloodElement; isInstance: IsInstance; }; interface SVGFEFuncAElement extends SVGComponentTransferFunctionElement { addEventListener(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEFuncAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEFuncAElement: { prototype: SVGFEFuncAElement; new(): SVGFEFuncAElement; isInstance: IsInstance; }; interface SVGFEFuncBElement extends SVGComponentTransferFunctionElement { addEventListener(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEFuncBElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEFuncBElement: { prototype: SVGFEFuncBElement; new(): SVGFEFuncBElement; isInstance: IsInstance; }; interface SVGFEFuncGElement extends SVGComponentTransferFunctionElement { addEventListener(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEFuncGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEFuncGElement: { prototype: SVGFEFuncGElement; new(): SVGFEFuncGElement; isInstance: IsInstance; }; interface SVGFEFuncRElement extends SVGComponentTransferFunctionElement { addEventListener(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEFuncRElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEFuncRElement: { prototype: SVGFEFuncRElement; new(): SVGFEFuncRElement; isInstance: IsInstance; }; interface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly in1: SVGAnimatedString; readonly stdDeviationX: SVGAnimatedNumber; readonly stdDeviationY: SVGAnimatedNumber; setStdDeviation(stdDeviationX: number, stdDeviationY: number): void; addEventListener(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEGaussianBlurElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEGaussianBlurElement: { prototype: SVGFEGaussianBlurElement; new(): SVGFEGaussianBlurElement; isInstance: IsInstance; }; interface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference { crossOrigin: string | null; fetchPriority: string; readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; addEventListener(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEImageElement: { prototype: SVGFEImageElement; new(): SVGFEImageElement; isInstance: IsInstance; }; interface SVGFEMergeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { addEventListener(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEMergeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEMergeElement: { prototype: SVGFEMergeElement; new(): SVGFEMergeElement; isInstance: IsInstance; }; interface SVGFEMergeNodeElement extends SVGElement { readonly in1: SVGAnimatedString; addEventListener(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEMergeNodeElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEMergeNodeElement: { prototype: SVGFEMergeNodeElement; new(): SVGFEMergeNodeElement; isInstance: IsInstance; }; interface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly in1: SVGAnimatedString; readonly operator: SVGAnimatedEnumeration; readonly radiusX: SVGAnimatedNumber; readonly radiusY: SVGAnimatedNumber; readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0; readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1; readonly SVG_MORPHOLOGY_OPERATOR_DILATE: 2; addEventListener(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEMorphologyElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEMorphologyElement: { prototype: SVGFEMorphologyElement; new(): SVGFEMorphologyElement; readonly SVG_MORPHOLOGY_OPERATOR_UNKNOWN: 0; readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1; readonly SVG_MORPHOLOGY_OPERATOR_DILATE: 2; isInstance: IsInstance; }; interface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly dx: SVGAnimatedNumber; readonly dy: SVGAnimatedNumber; readonly in1: SVGAnimatedString; addEventListener(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEOffsetElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEOffsetElement: { prototype: SVGFEOffsetElement; new(): SVGFEOffsetElement; isInstance: IsInstance; }; interface SVGFEPointLightElement extends SVGElement { readonly x: SVGAnimatedNumber; readonly y: SVGAnimatedNumber; readonly z: SVGAnimatedNumber; addEventListener(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFEPointLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFEPointLightElement: { prototype: SVGFEPointLightElement; new(): SVGFEPointLightElement; isInstance: IsInstance; }; interface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly in1: SVGAnimatedString; readonly kernelUnitLengthX: SVGAnimatedNumber; readonly kernelUnitLengthY: SVGAnimatedNumber; readonly specularConstant: SVGAnimatedNumber; readonly specularExponent: SVGAnimatedNumber; readonly surfaceScale: SVGAnimatedNumber; addEventListener(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFESpecularLightingElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFESpecularLightingElement: { prototype: SVGFESpecularLightingElement; new(): SVGFESpecularLightingElement; isInstance: IsInstance; }; 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(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFESpotLightElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFESpotLightElement: { prototype: SVGFESpotLightElement; new(): SVGFESpotLightElement; isInstance: IsInstance; }; interface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes { readonly in1: SVGAnimatedString; addEventListener(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFETileElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFETileElement: { prototype: SVGFETileElement; new(): SVGFETileElement; isInstance: IsInstance; }; 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_TURBULENCE_TYPE_UNKNOWN: 0; readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: 1; readonly SVG_TURBULENCE_TYPE_TURBULENCE: 2; readonly SVG_STITCHTYPE_UNKNOWN: 0; readonly SVG_STITCHTYPE_STITCH: 1; readonly SVG_STITCHTYPE_NOSTITCH: 2; addEventListener(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFETurbulenceElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFETurbulenceElement: { prototype: SVGFETurbulenceElement; new(): SVGFETurbulenceElement; readonly SVG_TURBULENCE_TYPE_UNKNOWN: 0; readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: 1; readonly SVG_TURBULENCE_TYPE_TURBULENCE: 2; readonly SVG_STITCHTYPE_UNKNOWN: 0; readonly SVG_STITCHTYPE_STITCH: 1; readonly SVG_STITCHTYPE_NOSTITCH: 2; isInstance: IsInstance; }; interface SVGFilterElement extends SVGElement, SVGURIReference { readonly filterUnits: SVGAnimatedEnumeration; readonly height: SVGAnimatedLength; readonly primitiveUnits: SVGAnimatedEnumeration; readonly width: SVGAnimatedLength; readonly x: SVGAnimatedLength; readonly y: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGFilterElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGFilterElement: { prototype: SVGFilterElement; new(): SVGFilterElement; isInstance: IsInstance; }; 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 SVGForeignObjectElement extends SVGGraphicsElement { readonly height: SVGAnimatedLength; readonly width: SVGAnimatedLength; readonly x: SVGAnimatedLength; readonly y: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGForeignObjectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGForeignObjectElement: { prototype: SVGForeignObjectElement; new(): SVGForeignObjectElement; isInstance: IsInstance; }; interface SVGGElement extends SVGGraphicsElement { addEventListener(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGGElement: { prototype: SVGGElement; new(): SVGGElement; isInstance: IsInstance; }; interface SVGGeometryElement extends SVGGraphicsElement { readonly pathLength: SVGAnimatedNumber; getPointAtLength(distance: number): SVGPoint; getTotalLength(): number; isPointInFill(point?: DOMPointInit): boolean; isPointInStroke(point?: DOMPointInit): boolean; addEventListener(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGGeometryElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGGeometryElement: { prototype: SVGGeometryElement; new(): SVGGeometryElement; isInstance: IsInstance; }; interface SVGGradientElement extends SVGElement, SVGURIReference { readonly gradientTransform: SVGAnimatedTransformList; readonly gradientUnits: SVGAnimatedEnumeration; readonly spreadMethod: SVGAnimatedEnumeration; readonly SVG_SPREADMETHOD_UNKNOWN: 0; readonly SVG_SPREADMETHOD_PAD: 1; readonly SVG_SPREADMETHOD_REFLECT: 2; readonly SVG_SPREADMETHOD_REPEAT: 3; addEventListener(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGGradientElement: { prototype: SVGGradientElement; new(): SVGGradientElement; readonly SVG_SPREADMETHOD_UNKNOWN: 0; readonly SVG_SPREADMETHOD_PAD: 1; readonly SVG_SPREADMETHOD_REFLECT: 2; readonly SVG_SPREADMETHOD_REPEAT: 3; isInstance: IsInstance; }; interface SVGGraphicsElement extends SVGElement, SVGTests { readonly transform: SVGAnimatedTransformList; getBBox(aOptions?: SVGBoundingBoxOptions): SVGRect; getCTM(): SVGMatrix | null; getScreenCTM(): SVGMatrix | null; addEventListener(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGGraphicsElement: { prototype: SVGGraphicsElement; new(): SVGGraphicsElement; isInstance: IsInstance; }; interface SVGImageElement extends SVGGraphicsElement, MozImageLoadingContent, SVGURIReference { crossOrigin: string | null; decoding: string; fetchPriority: string; readonly height: SVGAnimatedLength; readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio; readonly width: SVGAnimatedLength; readonly x: SVGAnimatedLength; readonly y: SVGAnimatedLength; decode(): Promise; addEventListener(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGImageElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGImageElement: { prototype: SVGImageElement; new(): SVGImageElement; readonly UNKNOWN_REQUEST: -1; readonly CURRENT_REQUEST: 0; readonly PENDING_REQUEST: 1; isInstance: IsInstance; }; interface SVGLength { readonly unitType: number; value: number; valueAsString: string; valueInSpecifiedUnits: number; convertToSpecifiedUnits(unitType: number): void; newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void; readonly SVG_LENGTHTYPE_UNKNOWN: 0; readonly SVG_LENGTHTYPE_NUMBER: 1; readonly SVG_LENGTHTYPE_PERCENTAGE: 2; readonly SVG_LENGTHTYPE_EMS: 3; readonly SVG_LENGTHTYPE_EXS: 4; readonly SVG_LENGTHTYPE_PX: 5; readonly SVG_LENGTHTYPE_CM: 6; readonly SVG_LENGTHTYPE_MM: 7; readonly SVG_LENGTHTYPE_IN: 8; readonly SVG_LENGTHTYPE_PT: 9; readonly SVG_LENGTHTYPE_PC: 10; } declare var SVGLength: { prototype: SVGLength; new(): SVGLength; readonly SVG_LENGTHTYPE_UNKNOWN: 0; readonly SVG_LENGTHTYPE_NUMBER: 1; readonly SVG_LENGTHTYPE_PERCENTAGE: 2; readonly SVG_LENGTHTYPE_EMS: 3; readonly SVG_LENGTHTYPE_EXS: 4; readonly SVG_LENGTHTYPE_PX: 5; readonly SVG_LENGTHTYPE_CM: 6; readonly SVG_LENGTHTYPE_MM: 7; readonly SVG_LENGTHTYPE_IN: 8; readonly SVG_LENGTHTYPE_PT: 9; readonly SVG_LENGTHTYPE_PC: 10; isInstance: IsInstance; }; interface SVGLengthList { readonly length: number; 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; [index: number]: SVGLength; } declare var SVGLengthList: { prototype: SVGLengthList; new(): SVGLengthList; isInstance: IsInstance; }; interface SVGLineElement extends SVGGeometryElement { readonly x1: SVGAnimatedLength; readonly x2: SVGAnimatedLength; readonly y1: SVGAnimatedLength; readonly y2: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGLineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGLineElement: { prototype: SVGLineElement; new(): SVGLineElement; isInstance: IsInstance; }; interface SVGLinearGradientElement extends SVGGradientElement { readonly x1: SVGAnimatedLength; readonly x2: SVGAnimatedLength; readonly y1: SVGAnimatedLength; readonly y2: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGLinearGradientElement: { prototype: SVGLinearGradientElement; new(): SVGLinearGradientElement; isInstance: IsInstance; }; interface SVGMPathElement extends SVGElement, SVGURIReference { addEventListener(type: K, listener: (this: SVGMPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGMPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGMPathElement: { prototype: SVGMPathElement; new(): SVGMPathElement; isInstance: IsInstance; }; 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_MARKERUNITS_UNKNOWN: 0; readonly SVG_MARKERUNITS_USERSPACEONUSE: 1; readonly SVG_MARKERUNITS_STROKEWIDTH: 2; readonly SVG_MARKER_ORIENT_UNKNOWN: 0; readonly SVG_MARKER_ORIENT_AUTO: 1; readonly SVG_MARKER_ORIENT_ANGLE: 2; readonly SVG_MARKER_ORIENT_AUTO_START_REVERSE: 3; addEventListener(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGMarkerElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGMarkerElement: { prototype: SVGMarkerElement; new(): SVGMarkerElement; readonly SVG_MARKERUNITS_UNKNOWN: 0; readonly SVG_MARKERUNITS_USERSPACEONUSE: 1; readonly SVG_MARKERUNITS_STROKEWIDTH: 2; readonly SVG_MARKER_ORIENT_UNKNOWN: 0; readonly SVG_MARKER_ORIENT_AUTO: 1; readonly SVG_MARKER_ORIENT_ANGLE: 2; readonly SVG_MARKER_ORIENT_AUTO_START_REVERSE: 3; isInstance: IsInstance; }; interface SVGMaskElement extends SVGElement { readonly height: SVGAnimatedLength; readonly maskContentUnits: SVGAnimatedEnumeration; readonly maskUnits: SVGAnimatedEnumeration; readonly width: SVGAnimatedLength; readonly x: SVGAnimatedLength; readonly y: SVGAnimatedLength; readonly SVG_MASKTYPE_LUMINANCE: 0; readonly SVG_MASKTYPE_ALPHA: 1; addEventListener(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGMaskElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGMaskElement: { prototype: SVGMaskElement; new(): SVGMaskElement; readonly SVG_MASKTYPE_LUMINANCE: 0; readonly SVG_MASKTYPE_ALPHA: 1; isInstance: IsInstance; }; interface SVGMatrix { a: number; b: number; c: number; d: number; e: number; f: number; flipX(): SVGMatrix; flipY(): SVGMatrix; inverse(): SVGMatrix; multiply(secondMatrix?: DOMMatrix2DInit): 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; isInstance: IsInstance; }; interface SVGMetadataElement extends SVGElement { addEventListener(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGMetadataElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGMetadataElement: { prototype: SVGMetadataElement; new(): SVGMetadataElement; isInstance: IsInstance; }; interface SVGNumber { value: number; } declare var SVGNumber: { prototype: SVGNumber; new(): SVGNumber; isInstance: IsInstance; }; interface SVGNumberList { readonly length: number; 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; [index: number]: SVGNumber; } declare var SVGNumberList: { prototype: SVGNumberList; new(): SVGNumberList; isInstance: IsInstance; }; interface SVGPathData { getPathData(settings?: SVGPathDataSettings): SVGPathSegment[]; setPathData(pathData: SVGPathSegmentInit[]): void; } interface SVGPathElement extends SVGGeometryElement, SVGPathData { getPathSegmentAtLength(distance: number): SVGPathSegment | null; addEventListener(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGPathElement: { prototype: SVGPathElement; new(): SVGPathElement; isInstance: IsInstance; }; interface SVGPathSegment { type: string; values: number[] | Float32Array; } interface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference { readonly height: SVGAnimatedLength; readonly patternContentUnits: SVGAnimatedEnumeration; readonly patternTransform: SVGAnimatedTransformList; readonly patternUnits: SVGAnimatedEnumeration; readonly width: SVGAnimatedLength; readonly x: SVGAnimatedLength; readonly y: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGPatternElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGPatternElement: { prototype: SVGPatternElement; new(): SVGPatternElement; isInstance: IsInstance; }; interface SVGPoint { x: number; y: number; matrixTransform(matrix?: DOMMatrix2DInit): SVGPoint; } declare var SVGPoint: { prototype: SVGPoint; new(): SVGPoint; isInstance: IsInstance; }; interface SVGPointList { readonly length: number; 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; [index: number]: SVGPoint; } declare var SVGPointList: { prototype: SVGPointList; new(): SVGPointList; isInstance: IsInstance; }; interface SVGPolygonElement extends SVGGeometryElement, SVGAnimatedPoints { addEventListener(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGPolygonElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGPolygonElement: { prototype: SVGPolygonElement; new(): SVGPolygonElement; isInstance: IsInstance; }; interface SVGPolylineElement extends SVGGeometryElement, SVGAnimatedPoints { addEventListener(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGPolylineElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGPolylineElement: { prototype: SVGPolylineElement; new(): SVGPolylineElement; isInstance: IsInstance; }; interface SVGPreserveAspectRatio { align: number; meetOrSlice: number; readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: 0; readonly SVG_PRESERVEASPECTRATIO_NONE: 1; readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: 2; readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: 3; readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: 4; readonly SVG_PRESERVEASPECTRATIO_XMINYMID: 5; readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: 6; readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: 7; readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: 8; readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: 9; readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: 10; readonly SVG_MEETORSLICE_UNKNOWN: 0; readonly SVG_MEETORSLICE_MEET: 1; readonly SVG_MEETORSLICE_SLICE: 2; } declare var SVGPreserveAspectRatio: { prototype: SVGPreserveAspectRatio; new(): SVGPreserveAspectRatio; readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: 0; readonly SVG_PRESERVEASPECTRATIO_NONE: 1; readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: 2; readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: 3; readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: 4; readonly SVG_PRESERVEASPECTRATIO_XMINYMID: 5; readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: 6; readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: 7; readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: 8; readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: 9; readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: 10; readonly SVG_MEETORSLICE_UNKNOWN: 0; readonly SVG_MEETORSLICE_MEET: 1; readonly SVG_MEETORSLICE_SLICE: 2; isInstance: IsInstance; }; interface SVGRadialGradientElement extends SVGGradientElement { readonly cx: SVGAnimatedLength; readonly cy: SVGAnimatedLength; readonly fr: SVGAnimatedLength; readonly fx: SVGAnimatedLength; readonly fy: SVGAnimatedLength; readonly r: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGRadialGradientElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGRadialGradientElement: { prototype: SVGRadialGradientElement; new(): SVGRadialGradientElement; isInstance: IsInstance; }; interface SVGRect { height: number; width: number; x: number; y: number; } declare var SVGRect: { prototype: SVGRect; new(): SVGRect; isInstance: IsInstance; }; interface SVGRectElement extends SVGGeometryElement { readonly height: SVGAnimatedLength; readonly rx: SVGAnimatedLength; readonly ry: SVGAnimatedLength; readonly width: SVGAnimatedLength; readonly x: SVGAnimatedLength; readonly y: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGRectElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGRectElement: { prototype: SVGRectElement; new(): SVGRectElement; isInstance: IsInstance; }; interface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, SVGZoomAndPan { currentScale: number; readonly currentTranslate: SVGPoint; readonly height: SVGAnimatedLength; readonly width: SVGAnimatedLength; readonly x: SVGAnimatedLength; readonly y: SVGAnimatedLength; animationsPaused(): boolean; createSVGAngle(): SVGAngle; createSVGLength(): SVGLength; createSVGMatrix(): SVGMatrix; createSVGNumber(): SVGNumber; createSVGPoint(): SVGPoint; createSVGRect(): SVGRect; createSVGTransform(): SVGTransform; createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform; deselectAll(): void; forceRedraw(): void; getCurrentTime(): number; getElementById(elementId: string): Element | null; pauseAnimations(): void; setCurrentTime(seconds: number): void; suspendRedraw(maxWaitMilliseconds: number): number; unpauseAnimations(): void; unsuspendRedraw(suspendHandleID: number): void; unsuspendRedrawAll(): void; addEventListener(type: K, listener: (this: SVGSVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGSVGElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGSVGElement: { prototype: SVGSVGElement; new(): SVGSVGElement; readonly SVG_ZOOMANDPAN_UNKNOWN: 0; readonly SVG_ZOOMANDPAN_DISABLE: 1; readonly SVG_ZOOMANDPAN_MAGNIFY: 2; isInstance: IsInstance; }; interface SVGScriptElement extends SVGElement, SVGURIReference { async: boolean; crossOrigin: string | null; defer: boolean; fetchPriority: string; type: string; addEventListener(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGScriptElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGScriptElement: { prototype: SVGScriptElement; new(): SVGScriptElement; isInstance: IsInstance; }; interface SVGSetElement extends SVGAnimationElement { addEventListener(type: K, listener: (this: SVGSetElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGSetElement, ev: SVGAnimationElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGSetElement: { prototype: SVGSetElement; new(): SVGSetElement; isInstance: IsInstance; }; interface SVGStopElement extends SVGElement { readonly offset: SVGAnimatedNumber; addEventListener(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGStopElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGStopElement: { prototype: SVGStopElement; new(): SVGStopElement; isInstance: IsInstance; }; interface SVGStringList { readonly length: number; 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; [index: number]: string; } declare var SVGStringList: { prototype: SVGStringList; new(): SVGStringList; isInstance: IsInstance; }; interface SVGStyleElement extends SVGElement, LinkStyle { disabled: boolean; media: string; title: string; type: string; addEventListener(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGStyleElement: { prototype: SVGStyleElement; new(): SVGStyleElement; isInstance: IsInstance; }; interface SVGSwitchElement extends SVGGraphicsElement { addEventListener(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGSwitchElement: { prototype: SVGSwitchElement; new(): SVGSwitchElement; isInstance: IsInstance; }; interface SVGSymbolElement extends SVGGraphicsElement, SVGFitToViewBox, SVGTests { addEventListener(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGSymbolElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGSymbolElement: { prototype: SVGSymbolElement; new(): SVGSymbolElement; isInstance: IsInstance; }; interface SVGTSpanElement extends SVGTextPositioningElement { addEventListener(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGTSpanElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGTSpanElement: { prototype: SVGTSpanElement; new(): SVGTSpanElement; isInstance: IsInstance; }; interface SVGTests { readonly requiredExtensions: SVGStringList; readonly systemLanguage: SVGStringList; } interface SVGTextContentElement extends SVGGraphicsElement { readonly lengthAdjust: SVGAnimatedEnumeration; readonly textLength: SVGAnimatedLength; getCharNumAtPosition(point?: DOMPointInit): 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_UNKNOWN: 0; readonly LENGTHADJUST_SPACING: 1; readonly LENGTHADJUST_SPACINGANDGLYPHS: 2; addEventListener(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGTextContentElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGTextContentElement: { prototype: SVGTextContentElement; new(): SVGTextContentElement; readonly LENGTHADJUST_UNKNOWN: 0; readonly LENGTHADJUST_SPACING: 1; readonly LENGTHADJUST_SPACINGANDGLYPHS: 2; isInstance: IsInstance; }; interface SVGTextElement extends SVGTextPositioningElement { addEventListener(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGTextElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGTextElement: { prototype: SVGTextElement; new(): SVGTextElement; isInstance: IsInstance; }; interface SVGTextPathElement extends SVGTextContentElement, SVGURIReference { readonly method: SVGAnimatedEnumeration; readonly spacing: SVGAnimatedEnumeration; readonly startOffset: SVGAnimatedLength; readonly TEXTPATH_METHODTYPE_UNKNOWN: 0; readonly TEXTPATH_METHODTYPE_ALIGN: 1; readonly TEXTPATH_METHODTYPE_STRETCH: 2; readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0; readonly TEXTPATH_SPACINGTYPE_AUTO: 1; readonly TEXTPATH_SPACINGTYPE_EXACT: 2; addEventListener(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGTextPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGTextPathElement: { prototype: SVGTextPathElement; new(): SVGTextPathElement; readonly TEXTPATH_METHODTYPE_UNKNOWN: 0; readonly TEXTPATH_METHODTYPE_ALIGN: 1; readonly TEXTPATH_METHODTYPE_STRETCH: 2; readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0; readonly TEXTPATH_SPACINGTYPE_AUTO: 1; readonly TEXTPATH_SPACINGTYPE_EXACT: 2; isInstance: IsInstance; }; interface SVGTextPositioningElement extends SVGTextContentElement { readonly dx: SVGAnimatedLengthList; readonly dy: SVGAnimatedLengthList; readonly rotate: SVGAnimatedNumberList; readonly x: SVGAnimatedLengthList; readonly y: SVGAnimatedLengthList; addEventListener(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGTextPositioningElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGTextPositioningElement: { prototype: SVGTextPositioningElement; new(): SVGTextPositioningElement; isInstance: IsInstance; }; interface SVGTitleElement extends SVGElement { addEventListener(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGTitleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGTitleElement: { prototype: SVGTitleElement; new(): SVGTitleElement; isInstance: IsInstance; }; interface SVGTransform { readonly angle: number; readonly matrix: SVGMatrix; readonly type: number; setMatrix(matrix?: DOMMatrix2DInit): 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_UNKNOWN: 0; readonly SVG_TRANSFORM_MATRIX: 1; readonly SVG_TRANSFORM_TRANSLATE: 2; readonly SVG_TRANSFORM_SCALE: 3; readonly SVG_TRANSFORM_ROTATE: 4; readonly SVG_TRANSFORM_SKEWX: 5; readonly SVG_TRANSFORM_SKEWY: 6; } declare var SVGTransform: { prototype: SVGTransform; new(): SVGTransform; readonly SVG_TRANSFORM_UNKNOWN: 0; readonly SVG_TRANSFORM_MATRIX: 1; readonly SVG_TRANSFORM_TRANSLATE: 2; readonly SVG_TRANSFORM_SCALE: 3; readonly SVG_TRANSFORM_ROTATE: 4; readonly SVG_TRANSFORM_SKEWX: 5; readonly SVG_TRANSFORM_SKEWY: 6; isInstance: IsInstance; }; interface SVGTransformList { readonly length: number; readonly numberOfItems: number; appendItem(newItem: SVGTransform): SVGTransform; clear(): void; consolidate(): SVGTransform | null; createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): 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; [index: number]: SVGTransform; } declare var SVGTransformList: { prototype: SVGTransformList; new(): SVGTransformList; isInstance: IsInstance; }; interface SVGURIReference { readonly href: SVGAnimatedString; } interface SVGUnitTypes { readonly SVG_UNIT_TYPE_UNKNOWN: 0; readonly SVG_UNIT_TYPE_USERSPACEONUSE: 1; readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: 2; } declare var SVGUnitTypes: { prototype: SVGUnitTypes; new(): SVGUnitTypes; readonly SVG_UNIT_TYPE_UNKNOWN: 0; readonly SVG_UNIT_TYPE_USERSPACEONUSE: 1; readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: 2; isInstance: IsInstance; }; interface SVGUseElement extends SVGGraphicsElement, SVGURIReference { readonly height: SVGAnimatedLength; readonly width: SVGAnimatedLength; readonly x: SVGAnimatedLength; readonly y: SVGAnimatedLength; addEventListener(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGUseElement: { prototype: SVGUseElement; new(): SVGUseElement; isInstance: IsInstance; }; interface SVGViewElement extends SVGElement, SVGFitToViewBox, SVGZoomAndPan { addEventListener(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SVGViewElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SVGViewElement: { prototype: SVGViewElement; new(): SVGViewElement; readonly SVG_ZOOMANDPAN_UNKNOWN: 0; readonly SVG_ZOOMANDPAN_DISABLE: 1; readonly SVG_ZOOMANDPAN_MAGNIFY: 2; isInstance: IsInstance; }; interface SVGZoomAndPan { zoomAndPan: number; readonly SVG_ZOOMANDPAN_UNKNOWN: 0; readonly SVG_ZOOMANDPAN_DISABLE: 1; readonly SVG_ZOOMANDPAN_MAGNIFY: 2; } interface Sanitizer { allowAttribute(attribute: SanitizerAttribute): boolean; allowElement(element: SanitizerElementWithAttributes): boolean; get(): SanitizerConfig; removeAttribute(attribute: SanitizerAttribute): boolean; removeElement(element: SanitizerElement): boolean; removeUnsafe(): boolean; replaceElementWithChildren(element: SanitizerElement): boolean; setComments(allow: boolean): boolean; setDataAttributes(allow: boolean): boolean; } declare var Sanitizer: { prototype: Sanitizer; new(configuration?: SanitizerConfig | SanitizerPresets): Sanitizer; isInstance: IsInstance; }; interface Scheduler { postTask(callback: SchedulerPostTaskCallback, options?: SchedulerPostTaskOptions): Promise; yield(): Promise; } declare var Scheduler: { prototype: Scheduler; new(): Scheduler; isInstance: IsInstance; }; interface ScreenEventMap { "change": Event; "mozorientationchange": Event; } interface Screen extends EventTarget { readonly availHeight: number; readonly availLeft: number; readonly availTop: number; readonly availWidth: number; readonly colorDepth: number; readonly colorGamut: ScreenColorGamut; readonly height: number; readonly left: number; readonly luminance: ScreenLuminance | null; readonly mozOrientation: string; onchange: ((this: Screen, ev: Event) => any) | null; onmozorientationchange: ((this: Screen, ev: Event) => any) | null; readonly orientation: ScreenOrientation; readonly pixelDepth: number; readonly top: number; readonly width: number; mozLockOrientation(orientation: string): boolean; mozLockOrientation(orientation: string[]): boolean; mozUnlockOrientation(): void; addEventListener(type: K, listener: (this: Screen, ev: ScreenEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Screen, ev: ScreenEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Screen: { prototype: Screen; new(): Screen; isInstance: IsInstance; }; interface ScreenLuminance { readonly max: number; readonly maxAverage: number; readonly min: number; } declare var ScreenLuminance: { prototype: ScreenLuminance; new(): ScreenLuminance; isInstance: IsInstance; }; interface ScreenOrientationEventMap { "change": Event; } interface ScreenOrientation extends EventTarget { readonly angle: number; onchange: ((this: ScreenOrientation, ev: Event) => any) | null; readonly type: OrientationType; lock(orientation: OrientationLockType): Promise; unlock(): void; addEventListener(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ScreenOrientation, ev: ScreenOrientationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ScreenOrientation: { prototype: ScreenOrientation; new(): ScreenOrientation; isInstance: IsInstance; }; interface ScriptProcessorNodeEventMap { "audioprocess": Event; } interface ScriptProcessorNode extends AudioNode, AudioNodePassThrough { readonly bufferSize: number; onaudioprocess: ((this: ScriptProcessorNode, ev: Event) => any) | null; addEventListener(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ScriptProcessorNode, ev: ScriptProcessorNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ScriptProcessorNode: { prototype: ScriptProcessorNode; new(): ScriptProcessorNode; isInstance: IsInstance; }; interface ScrollAreaEvent extends UIEvent { readonly height: number; readonly width: number; readonly x: number; readonly y: number; initScrollAreaEvent(type: string, canBubble?: boolean, cancelable?: boolean, view?: Window | null, detail?: number, x?: number, y?: number, width?: number, height?: number): void; } declare var ScrollAreaEvent: { prototype: ScrollAreaEvent; new(): ScrollAreaEvent; isInstance: IsInstance; }; interface SecurityPolicyViolationEvent extends Event { readonly blockedURI: string; readonly columnNumber: number; readonly disposition: SecurityPolicyViolationEventDisposition; readonly documentURI: string; readonly effectiveDirective: string; readonly lineNumber: number; readonly originalPolicy: string; readonly referrer: string; readonly sample: string; readonly sourceFile: string; readonly statusCode: number; readonly violatedDirective: string; } declare var SecurityPolicyViolationEvent: { prototype: SecurityPolicyViolationEvent; new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent; isInstance: IsInstance; }; interface Selection { readonly anchorNode: Node | null; readonly anchorOffset: number; readonly areNormalAndCrossShadowBoundaryRangesCollapsed: boolean; caretBidiLevel: number | null; readonly direction: string; readonly focusNode: Node | null; readonly focusOffset: number; interlinePosition: boolean; readonly isCollapsed: boolean; readonly mayCrossShadowBoundaryFocusNode: Node | null; readonly rangeCount: number; readonly selectionType: number; readonly type: string; GetRangesForInterval(beginNode: Node, beginOffset: number, endNode: Node, endOffset: number, allowAdjacent: boolean): Range[]; addRange(range: Range): void; addSelectionListener(newListener: nsISelectionListener): void; collapse(node: Node | null, offset?: number): void; collapseToEnd(): void; collapseToStart(): void; containsNode(node: Node, allowPartialContainment?: boolean): boolean; deleteFromDocument(): void; empty(): void; extend(node: Node, offset?: number): void; getComposedRanges(options?: ShadowRoot | GetComposedRangesOptions, ...shadowRoots: ShadowRoot[]): StaticRange[]; getRangeAt(index: number): Range; modify(alter?: string, direction?: string, granularity?: string): void; removeAllRanges(): void; removeRange(range: Range): void; removeSelectionListener(listenerToRemove: nsISelectionListener): void; resetColors(): void; selectAllChildren(node: Node): void; setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void; setColors(aForegroundColor: string, aBackgroundColor: string, aAltForegroundColor: string, aAltBackgroundColor: string): void; setPosition(node: Node | null, offset?: number): void; toStringWithFormat(formatType: string, flags: number, wrapColumn: number): string; toString(): string; } declare var Selection: { prototype: Selection; new(): Selection; isInstance: IsInstance; }; interface ServiceWorkerEventMap extends AbstractWorkerEventMap { "statechange": Event; } interface ServiceWorker extends EventTarget, AbstractWorker { onstatechange: ((this: ServiceWorker, ev: Event) => any) | null; readonly scriptURL: string; readonly state: ServiceWorkerState; postMessage(message: any, transferable: any[]): void; postMessage(message: any, options?: StructuredSerializeOptions): void; addEventListener(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ServiceWorker: { prototype: ServiceWorker; new(): ServiceWorker; isInstance: IsInstance; }; interface ServiceWorkerContainerEventMap { "controllerchange": Event; "message": Event; "messageerror": Event; } interface ServiceWorkerContainer extends EventTarget { readonly controller: ServiceWorker | null; oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null; onmessage: ((this: ServiceWorkerContainer, ev: Event) => any) | null; onmessageerror: ((this: ServiceWorkerContainer, ev: Event) => any) | null; readonly ready: Promise; getRegistration(documentURL?: string | URL): Promise; getRegistrations(): Promise; register(scriptURL: TrustedScriptURL | string, options?: RegistrationOptions): Promise; startMessages(): void; addEventListener(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ServiceWorkerContainer: { prototype: ServiceWorkerContainer; new(): ServiceWorkerContainer; isInstance: IsInstance; }; interface ServiceWorkerRegistrationEventMap { "updatefound": Event; } interface ServiceWorkerRegistration extends EventTarget { readonly active: ServiceWorker | null; readonly cookies: CookieStoreManager; readonly installing: ServiceWorker | null; readonly navigationPreload: NavigationPreloadManager; onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null; readonly pushManager: PushManager; readonly scope: string; readonly updateViaCache: ServiceWorkerUpdateViaCache; readonly waiting: ServiceWorker | null; getNotifications(filter?: GetNotificationOptions): Promise; showNotification(title: string, options?: NotificationOptions): Promise; unregister(): Promise; update(): Promise; addEventListener(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ServiceWorkerRegistration: { prototype: ServiceWorkerRegistration; new(): ServiceWorkerRegistration; isInstance: IsInstance; }; interface SessionStoreFormData { readonly children: (SessionStoreFormData | null)[] | null; readonly id: Record | null; readonly innerHTML: string | null; readonly url: string | null; readonly xpath: Record | null; toJSON(): any; } declare var SessionStoreFormData: { prototype: SessionStoreFormData; new(): SessionStoreFormData; isInstance: IsInstance; }; interface SessionStoreScrollData { readonly children: (SessionStoreScrollData | null)[] | null; readonly scroll: string | null; toJSON(): any; } declare var SessionStoreScrollData: { prototype: SessionStoreScrollData; new(): SessionStoreScrollData; isInstance: IsInstance; }; interface ShadowRootEventMap { "slotchange": Event; } interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot { readonly clonable: boolean; readonly delegatesFocus: boolean; readonly host: Element; innerHTML: TrustedHTML | string; readonly mode: ShadowRootMode; onslotchange: ((this: ShadowRoot, ev: Event) => any) | null; referenceTarget: string | null; readonly serializable: boolean; readonly slotAssignment: SlotAssignmentMode; createElementAndAppendChildAt(parentNode: Node, localName: string): Node; getElementById(elementId: string): Element | null; getHTML(options?: GetHTMLOptions): string; importNodeAndAppendChildAt(parentNode: Node, node: Node, deep?: boolean): Node; isUAWidget(): boolean; setHTML(aInnerHTML: string, options?: SetHTMLOptions): void; setHTMLUnsafe(html: TrustedHTML | string, options?: SetHTMLUnsafeOptions): void; setIsUAWidget(): void; addEventListener(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var ShadowRoot: { prototype: ShadowRoot; new(): ShadowRoot; isInstance: IsInstance; }; interface SharedWorker extends EventTarget, AbstractWorker { readonly port: MessagePort; addEventListener(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SharedWorker: { prototype: SharedWorker; new(scriptURL: TrustedScriptURL | string, options?: string | WorkerOptions): SharedWorker; isInstance: IsInstance; }; interface SimpleGestureEvent extends MouseEvent { allowedDirections: number; readonly clickCount: number; readonly delta: number; readonly direction: number; initSimpleGestureEvent(typeArg: string, canBubbleArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, detailArg?: number, screenXArg?: number, screenYArg?: number, clientXArg?: number, clientYArg?: number, ctrlKeyArg?: boolean, altKeyArg?: boolean, shiftKeyArg?: boolean, metaKeyArg?: boolean, buttonArg?: number, relatedTargetArg?: EventTarget | null, allowedDirectionsArg?: number, directionArg?: number, deltaArg?: number, clickCount?: number): void; readonly DIRECTION_UP: 1; readonly DIRECTION_DOWN: 2; readonly DIRECTION_LEFT: 4; readonly DIRECTION_RIGHT: 8; readonly ROTATION_COUNTERCLOCKWISE: 1; readonly ROTATION_CLOCKWISE: 2; } declare var SimpleGestureEvent: { prototype: SimpleGestureEvent; new(): SimpleGestureEvent; readonly DIRECTION_UP: 1; readonly DIRECTION_DOWN: 2; readonly DIRECTION_LEFT: 4; readonly DIRECTION_RIGHT: 8; readonly ROTATION_COUNTERCLOCKWISE: 1; readonly ROTATION_CLOCKWISE: 2; isInstance: IsInstance; }; interface SourceBufferEventMap { "abort": Event; "error": Event; "update": Event; "updateend": Event; "updatestart": Event; } interface SourceBuffer extends EventTarget { appendWindowEnd: number; appendWindowStart: number; readonly buffered: TimeRanges; mode: SourceBufferAppendMode; onabort: ((this: SourceBuffer, ev: Event) => any) | null; onerror: ((this: SourceBuffer, ev: Event) => any) | null; onupdate: ((this: SourceBuffer, ev: Event) => any) | null; onupdateend: ((this: SourceBuffer, ev: Event) => any) | null; onupdatestart: ((this: SourceBuffer, ev: Event) => any) | null; timestampOffset: number; readonly updating: boolean; abort(): void; appendBuffer(data: ArrayBuffer): void; appendBuffer(data: ArrayBufferView): void; appendBufferAsync(data: ArrayBuffer): Promise; appendBufferAsync(data: ArrayBufferView): Promise; changeType(type: string): void; remove(start: number, end: number): void; removeAsync(start: number, end: number): Promise; addEventListener(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SourceBuffer: { prototype: SourceBuffer; new(): SourceBuffer; isInstance: IsInstance; }; interface SourceBufferListEventMap { "addsourcebuffer": Event; "removesourcebuffer": Event; } interface SourceBufferList extends EventTarget { readonly length: number; onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null; addEventListener(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; [index: number]: SourceBuffer; } declare var SourceBufferList: { prototype: SourceBufferList; new(): SourceBufferList; isInstance: IsInstance; }; interface SpeechGrammar { src: string; weight: number; } declare var SpeechGrammar: { prototype: SpeechGrammar; new(): SpeechGrammar; isInstance: IsInstance; }; interface SpeechGrammarList { readonly length: number; addFromString(string: string, weight?: number): void; addFromURI(src: string, weight?: number): void; item(index: number): SpeechGrammar; [index: number]: SpeechGrammar; } declare var SpeechGrammarList: { prototype: SpeechGrammarList; new(): SpeechGrammarList; isInstance: IsInstance; }; interface SpeechRecognitionEventMap { "audioend": Event; "audiostart": Event; "end": Event; "error": Event; "nomatch": Event; "result": Event; "soundend": Event; "soundstart": Event; "speechend": Event; "speechstart": Event; "start": Event; } interface SpeechRecognition extends EventTarget { continuous: boolean; grammars: SpeechGrammarList; interimResults: boolean; lang: string; maxAlternatives: number; onaudioend: ((this: SpeechRecognition, ev: Event) => any) | null; onaudiostart: ((this: SpeechRecognition, ev: Event) => any) | null; onend: ((this: SpeechRecognition, ev: Event) => any) | null; onerror: ((this: SpeechRecognition, ev: Event) => any) | null; onnomatch: ((this: SpeechRecognition, ev: Event) => any) | null; onresult: ((this: SpeechRecognition, ev: Event) => any) | null; onsoundend: ((this: SpeechRecognition, ev: Event) => any) | null; onsoundstart: ((this: SpeechRecognition, ev: Event) => any) | null; onspeechend: ((this: SpeechRecognition, ev: Event) => any) | null; onspeechstart: ((this: SpeechRecognition, ev: Event) => any) | null; onstart: ((this: SpeechRecognition, ev: Event) => any) | null; serviceURI: string; abort(): void; start(stream?: MediaStream): void; stop(): void; addEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SpeechRecognition, ev: SpeechRecognitionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SpeechRecognition: { prototype: SpeechRecognition; new(): SpeechRecognition; isInstance: IsInstance; }; interface SpeechRecognitionAlternative { readonly confidence: number; readonly transcript: string; } declare var SpeechRecognitionAlternative: { prototype: SpeechRecognitionAlternative; new(): SpeechRecognitionAlternative; isInstance: IsInstance; }; interface SpeechRecognitionError extends Event { readonly error: SpeechRecognitionErrorCode; readonly message: string | null; } declare var SpeechRecognitionError: { prototype: SpeechRecognitionError; new(type: string, eventInitDict?: SpeechRecognitionErrorInit): SpeechRecognitionError; isInstance: IsInstance; }; interface SpeechRecognitionEvent extends Event { readonly emma: Document | null; readonly interpretation: any; readonly resultIndex: number; readonly results: SpeechRecognitionResultList | null; } declare var SpeechRecognitionEvent: { prototype: SpeechRecognitionEvent; new(type: string, eventInitDict?: SpeechRecognitionEventInit): SpeechRecognitionEvent; isInstance: IsInstance; }; interface SpeechRecognitionResult { readonly isFinal: boolean; readonly length: number; item(index: number): SpeechRecognitionAlternative; [index: number]: SpeechRecognitionAlternative; } declare var SpeechRecognitionResult: { prototype: SpeechRecognitionResult; new(): SpeechRecognitionResult; isInstance: IsInstance; }; interface SpeechRecognitionResultList { readonly length: number; item(index: number): SpeechRecognitionResult; [index: number]: SpeechRecognitionResult; } declare var SpeechRecognitionResultList: { prototype: SpeechRecognitionResultList; new(): SpeechRecognitionResultList; isInstance: IsInstance; }; interface SpeechSynthesisEventMap { "voiceschanged": Event; } interface SpeechSynthesis extends EventTarget { onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null; readonly paused: boolean; readonly pending: boolean; readonly speaking: boolean; cancel(): void; forceEnd(): void; getVoices(): SpeechSynthesisVoice[]; pause(): void; resume(): void; speak(utterance: SpeechSynthesisUtterance): void; addEventListener(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SpeechSynthesis: { prototype: SpeechSynthesis; new(): SpeechSynthesis; isInstance: IsInstance; }; interface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent { readonly error: SpeechSynthesisErrorCode; } declare var SpeechSynthesisErrorEvent: { prototype: SpeechSynthesisErrorEvent; new(type: string, eventInitDict: SpeechSynthesisErrorEventInit): SpeechSynthesisErrorEvent; isInstance: IsInstance; }; interface SpeechSynthesisEvent extends Event { readonly charIndex: number; readonly charLength: number | null; readonly elapsedTime: number; readonly name: string | null; readonly utterance: SpeechSynthesisUtterance; } declare var SpeechSynthesisEvent: { prototype: SpeechSynthesisEvent; new(type: string, eventInitDict: SpeechSynthesisEventInit): SpeechSynthesisEvent; isInstance: IsInstance; }; interface SpeechSynthesisGetter { readonly speechSynthesis: SpeechSynthesis; } interface SpeechSynthesisUtteranceEventMap { "boundary": Event; "end": Event; "error": Event; "mark": Event; "pause": Event; "resume": Event; "start": Event; } interface SpeechSynthesisUtterance extends EventTarget { readonly chosenVoiceURI: string; lang: string; onboundary: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; onend: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; onerror: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; onmark: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; onpause: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; onresume: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; onstart: ((this: SpeechSynthesisUtterance, ev: Event) => any) | null; pitch: number; rate: number; text: string; voice: SpeechSynthesisVoice | null; volume: number; addEventListener(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: SpeechSynthesisUtterance, ev: SpeechSynthesisUtteranceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var SpeechSynthesisUtterance: { prototype: SpeechSynthesisUtterance; new(): SpeechSynthesisUtterance; new(text: string): SpeechSynthesisUtterance; isInstance: IsInstance; }; interface SpeechSynthesisVoice { readonly default: boolean; readonly lang: string; readonly localService: boolean; readonly name: string; readonly voiceURI: string; } declare var SpeechSynthesisVoice: { prototype: SpeechSynthesisVoice; new(): SpeechSynthesisVoice; isInstance: IsInstance; }; interface StaticRange extends AbstractRange { } declare var StaticRange: { prototype: StaticRange; new(init: StaticRangeInit): StaticRange; isInstance: IsInstance; }; interface StereoPannerNode extends AudioNode, AudioNodePassThrough { readonly pan: AudioParam; } declare var StereoPannerNode: { prototype: StereoPannerNode; new(context: BaseAudioContext, options?: StereoPannerOptions): StereoPannerNode; isInstance: IsInstance; }; interface Storage { readonly hasSnapshot: boolean; readonly length: number; readonly snapshotUsage: number; beginExplicitSnapshot(): void; checkpointExplicitSnapshot(): void; clear(): void; close(): void; endExplicitSnapshot(): void; getItem(key: string): string | null; key(index: number): string | null; open(): void; removeItem(key: string): void; setItem(key: string, value: string): void; } declare var Storage: { prototype: Storage; new(): Storage; isInstance: IsInstance; }; interface StorageEvent extends Event { readonly key: string | null; readonly newValue: string | null; readonly oldValue: string | null; readonly storageArea: Storage | null; readonly url: string; initStorageEvent(type: string, canBubble?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void; } declare var StorageEvent: { prototype: StorageEvent; new(type: string, eventInitDict?: StorageEventInit): StorageEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface StorageManager { estimate(): Promise; getDirectory(): Promise; persist(): Promise; persisted(): Promise; shutdown(): void; } declare var StorageManager: { prototype: StorageManager; new(): StorageManager; isInstance: IsInstance; }; interface StreamFilterEventMap { "data": Event; "error": Event; "start": Event; "stop": Event; } interface StreamFilter extends EventTarget { readonly error: string; ondata: ((this: StreamFilter, ev: Event) => any) | null; onerror: ((this: StreamFilter, ev: Event) => any) | null; onstart: ((this: StreamFilter, ev: Event) => any) | null; onstop: ((this: StreamFilter, ev: Event) => any) | null; readonly status: StreamFilterStatus; close(): void; disconnect(): void; resume(): void; suspend(): void; write(data: ArrayBuffer | Uint8Array): void; addEventListener(type: K, listener: (this: StreamFilter, ev: StreamFilterEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: StreamFilter, ev: StreamFilterEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var StreamFilter: { prototype: StreamFilter; new(): StreamFilter; isInstance: IsInstance; create(requestId: number, addonId: string): StreamFilter; }; interface StreamFilterDataEvent extends Event { readonly data: ArrayBuffer; } declare var StreamFilterDataEvent: { prototype: StreamFilterDataEvent; new(type: string, eventInitDict?: StreamFilterDataEventInit): StreamFilterDataEvent; isInstance: IsInstance; }; interface StructuredCloneHolder { readonly dataSize: number; deserialize(global: any, keepData?: boolean): any; } declare var StructuredCloneHolder: { prototype: StructuredCloneHolder; new(name: string, anonymizedName: string | null, data: any, global?: any): StructuredCloneHolder; isInstance: IsInstance; }; interface StructuredCloneTester { readonly deserializable: boolean; readonly serializable: boolean; } declare var StructuredCloneTester: { prototype: StructuredCloneTester; new(serializable: boolean, deserializable: boolean): StructuredCloneTester; isInstance: IsInstance; }; interface StylePropertyMap extends StylePropertyMapReadOnly { append(property: string, ...values: (CSSStyleValue | string)[]): void; clear(): void; delete(property: string): void; set(property: string, ...values: (CSSStyleValue | string)[]): void; } declare var StylePropertyMap: { prototype: StylePropertyMap; new(): StylePropertyMap; isInstance: IsInstance; }; interface StylePropertyMapReadOnly { readonly size: number; get(property: string): undefined | CSSStyleValue; getAll(property: string): CSSStyleValue[]; has(property: string): boolean; forEach(callbackfn: (value: CSSStyleValue[], key: string, parent: StylePropertyMapReadOnly) => void, thisArg?: any): void; } declare var StylePropertyMapReadOnly: { prototype: StylePropertyMapReadOnly; new(): StylePropertyMapReadOnly; isInstance: IsInstance; }; interface StyleSheet { readonly associatedDocument: Document | null; readonly constructed: boolean; disabled: boolean; readonly href: string | null; readonly media: MediaList; readonly ownerNode: Node | null; readonly parentStyleSheet: StyleSheet | null; readonly sourceMapURL: string; readonly sourceURL: string; readonly title: string | null; readonly type: string; } declare var StyleSheet: { prototype: StyleSheet; new(): StyleSheet; isInstance: IsInstance; }; interface StyleSheetApplicableStateChangeEvent extends Event { readonly applicable: boolean; readonly stylesheet: CSSStyleSheet | null; } declare var StyleSheetApplicableStateChangeEvent: { prototype: StyleSheetApplicableStateChangeEvent; new(type: string, eventInitDict?: StyleSheetApplicableStateChangeEventInit): StyleSheetApplicableStateChangeEvent; isInstance: IsInstance; }; interface StyleSheetList { readonly length: number; item(index: number): CSSStyleSheet | null; [index: number]: CSSStyleSheet; } declare var StyleSheetList: { prototype: StyleSheetList; new(): StyleSheetList; isInstance: IsInstance; }; interface StyleSheetRemovedEvent extends Event { readonly stylesheet: CSSStyleSheet | null; } declare var StyleSheetRemovedEvent: { prototype: StyleSheetRemovedEvent; new(type: string, eventInitDict?: StyleSheetRemovedEventInit): StyleSheetRemovedEvent; isInstance: IsInstance; }; interface SubmitEvent extends Event { readonly submitter: HTMLElement | null; } declare var SubmitEvent: { prototype: SubmitEvent; new(type: string, eventInitDict?: SubmitEventInit): SubmitEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface SubtleCrypto { decrypt(algorithm: AlgorithmIdentifier, key: CryptoKey, data: BufferSource): Promise; deriveBits(algorithm: AlgorithmIdentifier, baseKey: CryptoKey, length?: number | null): Promise; deriveKey(algorithm: AlgorithmIdentifier, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise; digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise; encrypt(algorithm: AlgorithmIdentifier, key: CryptoKey, data: BufferSource): Promise; exportKey(format: KeyFormat, key: CryptoKey): Promise; generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise; importKey(format: KeyFormat, keyData: any, algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise; sign(algorithm: AlgorithmIdentifier, key: CryptoKey, data: BufferSource): Promise; unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise; verify(algorithm: AlgorithmIdentifier, key: CryptoKey, signature: BufferSource, data: BufferSource): Promise; wrapKey(format: KeyFormat, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: AlgorithmIdentifier): Promise; } declare var SubtleCrypto: { prototype: SubtleCrypto; new(): SubtleCrypto; isInstance: IsInstance; }; interface SyncMessageSender extends MessageSender, SyncMessageSenderMixin { } declare var SyncMessageSender: { prototype: SyncMessageSender; new(): SyncMessageSender; isInstance: IsInstance; }; interface SyncMessageSenderMixin { sendSyncMessage(messageName?: string | null, obj?: any): any[]; } interface TCPServerSocketEventMap { "connect": Event; "error": Event; } interface TCPServerSocket extends EventTarget { readonly localPort: number; onconnect: ((this: TCPServerSocket, ev: Event) => any) | null; onerror: ((this: TCPServerSocket, ev: Event) => any) | null; close(): void; addEventListener(type: K, listener: (this: TCPServerSocket, ev: TCPServerSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: TCPServerSocket, ev: TCPServerSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var TCPServerSocket: { prototype: TCPServerSocket; new(port: number, options?: ServerSocketOptions, backlog?: number): TCPServerSocket; isInstance: IsInstance; }; interface TCPServerSocketEvent extends Event { readonly socket: TCPSocket; } declare var TCPServerSocketEvent: { prototype: TCPServerSocketEvent; new(type: string, eventInitDict?: TCPServerSocketEventInit): TCPServerSocketEvent; isInstance: IsInstance; }; interface TCPSocketEventMap { "close": Event; "data": Event; "drain": Event; "error": Event; "open": Event; } interface TCPSocket extends EventTarget { readonly binaryType: TCPSocketBinaryType; readonly bufferedAmount: number; readonly host: string; onclose: ((this: TCPSocket, ev: Event) => any) | null; ondata: ((this: TCPSocket, ev: Event) => any) | null; ondrain: ((this: TCPSocket, ev: Event) => any) | null; onerror: ((this: TCPSocket, ev: Event) => any) | null; onopen: ((this: TCPSocket, ev: Event) => any) | null; readonly port: number; readonly readyState: TCPReadyState; readonly ssl: boolean; readonly transport: nsISocketTransport | null; close(): void; closeImmediately(): void; resume(): void; send(data: string): boolean; send(data: ArrayBuffer, byteOffset?: number, byteLength?: number): boolean; suspend(): void; upgradeToSecure(): void; addEventListener(type: K, listener: (this: TCPSocket, ev: TCPSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: TCPSocket, ev: TCPSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var TCPSocket: { prototype: TCPSocket; new(host: string, port: number, options?: SocketOptions): TCPSocket; isInstance: IsInstance; }; interface TCPSocketErrorEvent extends Event { readonly errorCode: number; readonly message: string; readonly name: string; } declare var TCPSocketErrorEvent: { prototype: TCPSocketErrorEvent; new(type: string, eventInitDict?: TCPSocketErrorEventInit): TCPSocketErrorEvent; isInstance: IsInstance; }; interface TCPSocketEvent extends Event { readonly data: any; } declare var TCPSocketEvent: { prototype: TCPSocketEvent; new(type: string, eventInitDict?: TCPSocketEventInit): TCPSocketEvent; isInstance: IsInstance; }; interface TaskController extends AbortController { setPriority(priority: TaskPriority): void; } declare var TaskController: { prototype: TaskController; new(init?: TaskControllerInit): TaskController; isInstance: IsInstance; }; interface TaskPriorityChangeEvent extends Event { readonly previousPriority: TaskPriority; } declare var TaskPriorityChangeEvent: { prototype: TaskPriorityChangeEvent; new(type: string, priorityChangeEventInitDict: TaskPriorityChangeEventInit): TaskPriorityChangeEvent; isInstance: IsInstance; }; interface TaskSignalEventMap extends AbortSignalEventMap { "prioritychange": Event; } interface TaskSignal extends AbortSignal { onprioritychange: ((this: TaskSignal, ev: Event) => any) | null; readonly priority: TaskPriority; addEventListener(type: K, listener: (this: TaskSignal, ev: TaskSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: TaskSignal, ev: TaskSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var TaskSignal: { prototype: TaskSignal; new(): TaskSignal; isInstance: IsInstance; any(signals: AbortSignal[], init?: TaskSignalAnyInit): TaskSignal; }; interface Tensor { readonly data: ArrayBufferView; dims: number[]; readonly location: TensorDataLocation; readonly type: string; dispose(): void; getData(releaseData?: boolean): Promise; } declare var Tensor: { prototype: Tensor; new(type: string, data: ArrayBufferView | any[], dims: number[]): Tensor; isInstance: IsInstance; }; interface TestChromeOnlyInterface { } declare var TestChromeOnlyInterface: { prototype: TestChromeOnlyInterface; new(): TestChromeOnlyInterface; isInstance: IsInstance; }; interface TestFunctions { allowSharedArrayBuffer: ArrayBuffer; allowSharedArrayBufferView: ArrayBufferView; arrayBuffer: ArrayBuffer; arrayBufferView: ArrayBufferView; clampedNullableOctet: number | null; enforcedNullableOctet: number | null; readonly one: number; sequenceOfAllowSharedArrayBuffer: ArrayBuffer[]; sequenceOfAllowSharedArrayBufferView: ArrayBufferView[]; sequenceOfArrayBuffer: ArrayBuffer[]; sequenceOfArrayBufferView: ArrayBufferView[]; readonly two: number; readonly wrapperCachedNonISupportsObject: WrapperCachedNonISupportsTestInterface; getLongLiteralString(): string; getMediumLiteralString(): string; getShortLiteralString(): string; getStringDataAsAString(): string; getStringDataAsAString(length: number): string; getStringDataAsDOMString(length?: number): string; getStringType(str: string): StringType; getStringbufferString(input: string): string; setStringData(arg: string): void; staticAndNonStaticOverload(): boolean; staticAndNonStaticOverload(foo?: number): boolean; stringbufferMatchesStored(str: string): boolean; testAllowShared(buffer: ArrayBufferView): void; testAllowShared(buffer: ArrayBuffer): void; testDictWithAllowShared(buffer?: DictWithAllowSharedBufferSource): void; testNotAllowShared(buffer: ArrayBufferView): void; testNotAllowShared(buffer: ArrayBuffer): void; testNotAllowShared(buffer: string): void; testThrowNsresult(): void; testThrowNsresultFromNative(): void; testUnionOfAllowSharedBufferSource(foo: AllowSharedBufferSource): void; testUnionOfBufferSource(foo: ArrayBuffer | ArrayBufferView | string): void; testUnionWithAllowShared(foo: Int8Array | Int16Array): void; toJSON(): any; } declare var TestFunctions: { prototype: TestFunctions; new(): TestFunctions; isInstance: IsInstance; createTestChromeOnlyInterface(): TestChromeOnlyInterface; passThroughCallbackPromise(callback: PromiseReturner): Promise; passThroughPromise(arg: any): Promise; throwToRejectPromise(): Promise; throwUncatchableException(): void; }; interface TestInterfaceAsyncIterableDouble { } declare var TestInterfaceAsyncIterableDouble: { prototype: TestInterfaceAsyncIterableDouble; new(): TestInterfaceAsyncIterableDouble; isInstance: IsInstance; }; interface TestInterfaceAsyncIterableDoubleUnion { } declare var TestInterfaceAsyncIterableDoubleUnion: { prototype: TestInterfaceAsyncIterableDoubleUnion; new(): TestInterfaceAsyncIterableDoubleUnion; isInstance: IsInstance; }; interface TestInterfaceAsyncIterableSingle { } declare var TestInterfaceAsyncIterableSingle: { prototype: TestInterfaceAsyncIterableSingle; new(options?: TestInterfaceAsyncIterableSingleOptions): TestInterfaceAsyncIterableSingle; isInstance: IsInstance; }; interface TestInterfaceAsyncIterableSingleWithArgs { readonly returnCallCount: number; readonly returnLastCalledWith: any; } declare var TestInterfaceAsyncIterableSingleWithArgs: { prototype: TestInterfaceAsyncIterableSingleWithArgs; new(): TestInterfaceAsyncIterableSingleWithArgs; isInstance: IsInstance; }; interface TestInterfaceIterableDouble { forEach(callbackfn: (value: string, key: string, parent: TestInterfaceIterableDouble) => void, thisArg?: any): void; } declare var TestInterfaceIterableDouble: { prototype: TestInterfaceIterableDouble; new(): TestInterfaceIterableDouble; isInstance: IsInstance; }; interface TestInterfaceIterableDoubleUnion { forEach(callbackfn: (value: string | number, key: string, parent: TestInterfaceIterableDoubleUnion) => void, thisArg?: any): void; } declare var TestInterfaceIterableDoubleUnion: { prototype: TestInterfaceIterableDoubleUnion; new(): TestInterfaceIterableDoubleUnion; isInstance: IsInstance; }; interface TestInterfaceIterableSingle { readonly length: number; forEach(callbackfn: (value: number, key: number, parent: TestInterfaceIterableSingle) => void, thisArg?: any): void; [index: number]: number; } declare var TestInterfaceIterableSingle: { prototype: TestInterfaceIterableSingle; new(): TestInterfaceIterableSingle; isInstance: IsInstance; }; interface TestInterfaceJSEventMap { "something": Event; } interface TestInterfaceJS extends EventTarget { readonly anyArg: any; anyAttr: any; readonly objectArg: any; objectAttr: any; onsomething: ((this: TestInterfaceJS, ev: Event) => any) | null; anySequenceLength(seq: any[]): number; convertSVS(svs: string): string; getCallerPrincipal(): string; getDictionaryArg(): TestInterfaceJSDictionary; getDictionaryAttr(): TestInterfaceJSDictionary; objectSequenceLength(seq: any[]): number; pingPongAny(arg: any): any; pingPongDictionary(dict?: TestInterfaceJSDictionary): TestInterfaceJSDictionary; pingPongDictionaryOrLong(dictOrLong?: TestInterfaceJSUnionableDictionary | number): number; pingPongNullableUnion(something: TestInterfaceJS | number | null): TestInterfaceJS | number | null; pingPongObject(obj: any): any; pingPongObjectOrString(objOrString: any): any; pingPongRecord(rec: Record): string; pingPongUnion(something: TestInterfaceJS | number): TestInterfaceJS | number; pingPongUnionContainingNull(something: TestInterfaceJS | string): string | TestInterfaceJS; returnBadUnion(): Location | TestInterfaceJS; setDictionaryAttr(dict?: TestInterfaceJSDictionary): void; testPromiseWithDOMExceptionThrowingPromiseInit(): Promise; testPromiseWithDOMExceptionThrowingThenFunction(): Promise; testPromiseWithDOMExceptionThrowingThenable(): Promise; testPromiseWithThrowingChromePromiseInit(): Promise; testPromiseWithThrowingChromeThenFunction(): Promise; testPromiseWithThrowingChromeThenable(): Promise; testPromiseWithThrowingContentPromiseInit(func: Function): Promise; testPromiseWithThrowingContentThenFunction(func: AnyCallback): Promise; testPromiseWithThrowingContentThenable(thenable: any): Promise; testSequenceOverload(arg: string[]): void; testSequenceOverload(arg: string): void; testSequenceUnion(arg: string[] | string): void; testThrowCallbackError(callback: Function): void; testThrowDOMException(): void; testThrowError(): void; testThrowSelfHosted(): void; testThrowTypeError(): void; testThrowXraySelfHosted(): void; addEventListener(type: K, listener: (this: TestInterfaceJS, ev: TestInterfaceJSEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: TestInterfaceJS, ev: TestInterfaceJSEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var TestInterfaceJS: { prototype: TestInterfaceJS; new(anyArg?: any, objectArg?: any, dictionaryArg?: TestInterfaceJSDictionary): TestInterfaceJS; isInstance: IsInstance; }; interface TestInterfaceLength { } declare var TestInterfaceLength: { prototype: TestInterfaceLength; new(arg: boolean): TestInterfaceLength; isInstance: IsInstance; }; interface TestInterfaceMaplike { clearInternal(): void; deleteInternal(aKey: string): boolean; getInternal(aKey: string): number; hasInternal(aKey: string): boolean; setInternal(aKey: string, aValue: number): void; forEach(callbackfn: (value: number, key: string, parent: TestInterfaceMaplike) => void, thisArg?: any): void; } declare var TestInterfaceMaplike: { prototype: TestInterfaceMaplike; new(): TestInterfaceMaplike; isInstance: IsInstance; }; interface TestInterfaceMaplikeJSObject { clearInternal(): void; deleteInternal(aKey: string): boolean; getInternal(aKey: string): any; hasInternal(aKey: string): boolean; setInternal(aKey: string, aObject: any): void; forEach(callbackfn: (value: any, key: string, parent: TestInterfaceMaplikeJSObject) => void, thisArg?: any): void; } declare var TestInterfaceMaplikeJSObject: { prototype: TestInterfaceMaplikeJSObject; new(): TestInterfaceMaplikeJSObject; isInstance: IsInstance; }; interface TestInterfaceMaplikeObject { clearInternal(): void; deleteInternal(aKey: string): boolean; getInternal(aKey: string): TestInterfaceMaplike | null; hasInternal(aKey: string): boolean; setInternal(aKey: string): void; forEach(callbackfn: (value: TestInterfaceMaplike, key: string, parent: TestInterfaceMaplikeObject) => void, thisArg?: any): void; } declare var TestInterfaceMaplikeObject: { prototype: TestInterfaceMaplikeObject; new(): TestInterfaceMaplikeObject; isInstance: IsInstance; }; interface TestInterfaceObservableArray { observableArrayBoolean: boolean[]; observableArrayInterface: TestInterfaceObservableArray[]; observableArrayObject: any[]; booleanAppendElementInternal(value: boolean): void; booleanElementAtInternal(index: number): boolean; booleanLengthInternal(): number; booleanRemoveLastElementInternal(): void; booleanReplaceElementAtInternal(index: number, value: boolean): void; interfaceAppendElementInternal(value: TestInterfaceObservableArray): void; interfaceElementAtInternal(index: number): TestInterfaceObservableArray; interfaceLengthInternal(): number; interfaceRemoveLastElementInternal(): void; interfaceReplaceElementAtInternal(index: number, value: TestInterfaceObservableArray): void; objectAppendElementInternal(value: any): void; objectElementAtInternal(index: number): any; objectLengthInternal(): number; objectRemoveLastElementInternal(): void; objectReplaceElementAtInternal(index: number, value: any): void; } declare var TestInterfaceObservableArray: { prototype: TestInterfaceObservableArray; new(callbacks?: ObservableArrayCallbacks): TestInterfaceObservableArray; isInstance: IsInstance; }; interface TestInterfaceSetlike { forEach(callbackfn: (value: string, key: string, parent: TestInterfaceSetlike) => void, thisArg?: any): void; } declare var TestInterfaceSetlike: { prototype: TestInterfaceSetlike; new(): TestInterfaceSetlike; isInstance: IsInstance; }; interface TestInterfaceSetlikeNode { forEach(callbackfn: (value: Node, key: Node, parent: TestInterfaceSetlikeNode) => void, thisArg?: any): void; } declare var TestInterfaceSetlikeNode: { prototype: TestInterfaceSetlikeNode; new(): TestInterfaceSetlikeNode; isInstance: IsInstance; }; interface TestReflectedHTMLAttribute { reflectedHTMLAttribute: Element[] | null; setReflectedHTMLAttributeValue(seq: Element[]): void; } declare var TestReflectedHTMLAttribute: { prototype: TestReflectedHTMLAttribute; new(): TestReflectedHTMLAttribute; isInstance: IsInstance; }; interface TestReportBody extends ReportBody { readonly message: string; toJSON(): any; } interface TestTrialInterface { } declare var TestTrialInterface: { prototype: TestTrialInterface; new(): TestTrialInterface; isInstance: IsInstance; }; interface TestingDeprecatedInterface { readonly deprecatedAttribute: boolean; deprecatedMethod(): void; } declare var TestingDeprecatedInterface: { prototype: TestingDeprecatedInterface; new(): TestingDeprecatedInterface; isInstance: IsInstance; }; interface Text extends CharacterData, GeometryUtils { readonly assignedSlot: HTMLSlotElement | null; readonly openOrClosedAssignedSlot: HTMLSlotElement | null; readonly wholeText: string; splitText(offset: number): Text; } declare var Text: { prototype: Text; new(data?: string): Text; isInstance: IsInstance; }; interface TextClause { readonly endOffset: number; readonly isCaret: boolean; readonly isTargetClause: boolean; readonly startOffset: number; } declare var TextClause: { prototype: TextClause; new(): TextClause; isInstance: IsInstance; }; interface TextDecoder extends TextDecoderCommon { decode(input?: BufferSource, options?: TextDecodeOptions): string; } declare var TextDecoder: { prototype: TextDecoder; new(label?: string, options?: TextDecoderOptions): TextDecoder; isInstance: IsInstance; }; interface TextDecoderCommon { readonly encoding: string; readonly fatal: boolean; readonly ignoreBOM: boolean; } interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon { } declare var TextDecoderStream: { prototype: TextDecoderStream; new(label?: string, options?: TextDecoderOptions): TextDecoderStream; isInstance: IsInstance; }; interface TextEncoder extends TextEncoderCommon { encode(input?: string): Uint8Array; encodeInto(source: JSString, destination: Uint8Array): TextEncoderEncodeIntoResult; } declare var TextEncoder: { prototype: TextEncoder; new(): TextEncoder; isInstance: IsInstance; }; interface TextEncoderCommon { readonly encoding: string; } interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon { } declare var TextEncoderStream: { prototype: TextEncoderStream; new(): TextEncoderStream; isInstance: IsInstance; }; interface TextEvent extends UIEvent { readonly data: string; initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void; } declare var TextEvent: { prototype: TextEvent; new(): TextEvent; isInstance: IsInstance; }; interface TextMetrics { readonly actualBoundingBoxAscent: number; readonly actualBoundingBoxDescent: number; readonly actualBoundingBoxLeft: number; readonly actualBoundingBoxRight: number; readonly alphabeticBaseline: number; readonly emHeightAscent: number; readonly emHeightDescent: number; readonly fontBoundingBoxAscent: number; readonly fontBoundingBoxDescent: number; readonly hangingBaseline: number; readonly ideographicBaseline: number; readonly width: number; } declare var TextMetrics: { prototype: TextMetrics; new(): TextMetrics; isInstance: IsInstance; }; interface TextTrackEventMap { "cuechange": Event; } interface TextTrack extends EventTarget { readonly activeCues: TextTrackCueList | null; readonly cues: TextTrackCueList | null; readonly id: string; readonly inBandMetadataTrackDispatchType: string; readonly kind: TextTrackKind; readonly label: string; readonly language: string; mode: TextTrackMode; oncuechange: ((this: TextTrack, ev: Event) => any) | null; readonly textTrackList: TextTrackList | null; addCue(cue: VTTCue): void; removeCue(cue: VTTCue): void; addEventListener(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var TextTrack: { prototype: TextTrack; new(): TextTrack; isInstance: IsInstance; }; interface TextTrackCueEventMap { "enter": Event; "exit": Event; } interface TextTrackCue extends EventTarget { endTime: number; id: string; onenter: ((this: TextTrackCue, ev: Event) => any) | null; onexit: ((this: TextTrackCue, ev: Event) => any) | null; pauseOnExit: boolean; startTime: number; readonly track: TextTrack | null; addEventListener(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var TextTrackCue: { prototype: TextTrackCue; new(): TextTrackCue; isInstance: IsInstance; }; interface TextTrackCueList { readonly length: number; getCueById(id: string): VTTCue | null; [index: number]: VTTCue; } declare var TextTrackCueList: { prototype: TextTrackCueList; new(): TextTrackCueList; isInstance: IsInstance; }; interface TextTrackListEventMap { "addtrack": Event; "change": Event; "removetrack": Event; } interface TextTrackList extends EventTarget { readonly length: number; readonly mediaElement: HTMLMediaElement | null; onaddtrack: ((this: TextTrackList, ev: Event) => any) | null; onchange: ((this: TextTrackList, ev: Event) => any) | null; onremovetrack: ((this: TextTrackList, ev: Event) => any) | null; getTrackById(id: string): TextTrack | null; addEventListener(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; [index: number]: TextTrack; } declare var TextTrackList: { prototype: TextTrackList; new(): TextTrackList; isInstance: IsInstance; }; interface TimeEvent extends Event { readonly detail: number; readonly view: WindowProxy | null; initTimeEvent(aType: string, aView?: Window | null, aDetail?: number): void; } declare var TimeEvent: { prototype: TimeEvent; new(): TimeEvent; isInstance: IsInstance; }; interface TimeRanges { readonly length: number; end(index: number): number; start(index: number): number; } declare var TimeRanges: { prototype: TimeRanges; new(): TimeRanges; isInstance: IsInstance; }; interface ToggleEvent extends Event { readonly newState: string; readonly oldState: string; readonly source: Element | null; } declare var ToggleEvent: { prototype: ToggleEvent; new(type: string, eventInitDict?: ToggleEventInit): ToggleEvent; isInstance: IsInstance; }; interface Touch { readonly clientX: number; readonly clientY: number; readonly force: number; readonly identifier: number; readonly pageX: number; readonly pageY: number; readonly radiusX: number; readonly radiusY: number; readonly rotationAngle: number; readonly screenX: number; readonly screenY: number; readonly target: EventTarget | null; } declare var Touch: { prototype: Touch; new(touchInitDict: TouchInit): Touch; isInstance: IsInstance; }; interface TouchEvent extends UIEvent { readonly altKey: boolean; readonly changedTouches: TouchList; readonly ctrlKey: boolean; readonly metaKey: boolean; readonly shiftKey: boolean; readonly targetTouches: TouchList; readonly touches: TouchList; initTouchEvent(type: string, canBubble?: boolean, cancelable?: boolean, view?: Window | null, detail?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean, touches?: TouchList | null, targetTouches?: TouchList | null, changedTouches?: TouchList | null): void; } declare var TouchEvent: { prototype: TouchEvent; new(type: string, eventInitDict?: TouchEventInit): TouchEvent; isInstance: IsInstance; }; interface TouchEventHandlersEventMap { "touchcancel": Event; "touchend": Event; "touchmove": Event; "touchstart": Event; } interface TouchEventHandlers { ontouchcancel: ((this: TouchEventHandlers, ev: Event) => any) | null; ontouchend: ((this: TouchEventHandlers, ev: Event) => any) | null; ontouchmove: ((this: TouchEventHandlers, ev: Event) => any) | null; ontouchstart: ((this: TouchEventHandlers, ev: Event) => any) | null; addEventListener(type: K, listener: (this: TouchEventHandlers, ev: TouchEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: TouchEventHandlers, ev: TouchEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } interface TouchList { readonly length: number; item(index: number): Touch | null; [index: number]: Touch; } declare var TouchList: { prototype: TouchList; new(): TouchList; isInstance: IsInstance; }; interface TrackEvent extends Event { readonly track: VideoTrack | AudioTrack | TextTrack | null; } declare var TrackEvent: { prototype: TrackEvent; new(type: string, eventInitDict?: TrackEventInit): TrackEvent; isInstance: IsInstance; }; interface TransformStream { readonly readable: ReadableStream; readonly writable: WritableStream; } declare var TransformStream: { prototype: TransformStream; new(transformer?: any, writableStrategy?: QueuingStrategy, readableStrategy?: QueuingStrategy): TransformStream; isInstance: IsInstance; }; interface TransformStreamDefaultController { readonly desiredSize: number | null; enqueue(chunk?: any): void; error(reason?: any): void; terminate(): void; } declare var TransformStreamDefaultController: { prototype: TransformStreamDefaultController; new(): TransformStreamDefaultController; isInstance: IsInstance; }; interface TransitionEvent extends Event { readonly elapsedTime: number; readonly propertyName: string; readonly pseudoElement: string; } declare var TransitionEvent: { prototype: TransitionEvent; new(type: string, eventInitDict?: TransitionEventInit): TransitionEvent; isInstance: IsInstance; }; interface TreeColumn { readonly columns: TreeColumns | null; readonly cycler: boolean; readonly editable: boolean; readonly element: Element; readonly id: string; readonly index: number; readonly previousColumn: TreeColumn | null; readonly primary: boolean; readonly type: number; readonly width: number; readonly x: number; getNext(): TreeColumn | null; getPrevious(): TreeColumn | null; invalidate(): void; readonly TYPE_TEXT: 1; readonly TYPE_CHECKBOX: 2; } declare var TreeColumn: { prototype: TreeColumn; new(): TreeColumn; readonly TYPE_TEXT: 1; readonly TYPE_CHECKBOX: 2; isInstance: IsInstance; }; interface TreeColumns { readonly count: number; readonly length: number; readonly tree: XULTreeElement | null; getColumnAt(index: number): TreeColumn | null; getColumnFor(element: Element | null): TreeColumn | null; getFirstColumn(): TreeColumn | null; getKeyColumn(): TreeColumn | null; getLastColumn(): TreeColumn | null; getNamedColumn(name: string): TreeColumn | null; getPrimaryColumn(): TreeColumn | null; getSortedColumn(): TreeColumn | null; invalidateColumns(): void; [index: number]: TreeColumn; } declare var TreeColumns: { prototype: TreeColumns; new(): TreeColumns; isInstance: IsInstance; }; interface TreeContentView extends TreeView { getIndexOfItem(item: Element | null): number; getItemAtIndex(row: number): Element | null; } declare var TreeContentView: { prototype: TreeContentView; new(): TreeContentView; readonly DROP_BEFORE: -1; readonly DROP_ON: 0; readonly DROP_AFTER: 1; isInstance: IsInstance; }; interface TreeView { readonly rowCount: number; selection: nsITreeSelection | null; canDrop(row: number, orientation: number, dataTransfer: DataTransfer | null): boolean; cycleCell(row: number, column: TreeColumn): void; cycleHeader(column: TreeColumn): void; drop(row: number, orientation: number, dataTransfer: DataTransfer | null): void; getCellProperties(row: number, column: TreeColumn): string; getCellText(row: number, column: TreeColumn): string; getCellValue(row: number, column: TreeColumn): string; getColumnProperties(column: TreeColumn): string; getImageSrc(row: number, column: TreeColumn): string; getLevel(row: number): number; getParentIndex(row: number): number; getRowProperties(row: number): string; hasNextSibling(row: number, afterIndex: number): boolean; isContainer(row: number): boolean; isContainerEmpty(row: number): boolean; isContainerOpen(row: number): boolean; isEditable(row: number, column: TreeColumn): boolean; isSeparator(row: number): boolean; isSorted(): boolean; selectionChanged(): void; setCellText(row: number, column: TreeColumn, value: string): void; setCellValue(row: number, column: TreeColumn, value: string): void; setTree(tree: XULTreeElement | null): void; toggleOpenState(row: number): void; readonly DROP_BEFORE: -1; readonly DROP_ON: 0; readonly DROP_AFTER: 1; } interface TreeWalker { currentNode: Node; readonly filter: NodeFilter | null; readonly root: Node; readonly whatToShow: number; firstChild(): Node | null; lastChild(): Node | null; nextNode(): Node | null; nextSibling(): Node | null; parentNode(): Node | null; previousNode(): Node | null; previousSibling(): Node | null; } declare var TreeWalker: { prototype: TreeWalker; new(): TreeWalker; isInstance: IsInstance; }; interface TrustedHTML { toJSON(): string; toString(): string; } declare var TrustedHTML: { prototype: TrustedHTML; new(): TrustedHTML; isInstance: IsInstance; }; interface TrustedScript { toJSON(): string; toString(): string; } declare var TrustedScript: { prototype: TrustedScript; new(): TrustedScript; isInstance: IsInstance; }; interface TrustedScriptURL { toJSON(): string; toString(): string; } declare var TrustedScriptURL: { prototype: TrustedScriptURL; new(): TrustedScriptURL; isInstance: IsInstance; }; interface TrustedTypePolicy { readonly name: string; createHTML(input: string, ...arguments: any[]): TrustedHTML; createScript(input: string, ...arguments: any[]): TrustedScript; createScriptURL(input: string, ...arguments: any[]): TrustedScriptURL; } declare var TrustedTypePolicy: { prototype: TrustedTypePolicy; new(): TrustedTypePolicy; isInstance: IsInstance; }; interface TrustedTypePolicyFactory { readonly defaultPolicy: TrustedTypePolicy | null; readonly emptyHTML: TrustedHTML; readonly emptyScript: TrustedScript; createPolicy(policyName: string, policyOptions?: TrustedTypePolicyOptions): TrustedTypePolicy; getAttributeType(tagName: string, attribute: string, elementNs?: string | null, attrNs?: string | null): string | null; getPropertyType(tagName: string, property: string, elementNs?: string | null): string | null; isHTML(value: any): boolean; isScript(value: any): boolean; isScriptURL(value: any): boolean; } declare var TrustedTypePolicyFactory: { prototype: TrustedTypePolicyFactory; new(): TrustedTypePolicyFactory; isInstance: IsInstance; }; interface UDPMessageEvent extends Event { readonly data: any; readonly remoteAddress: string; readonly remotePort: number; } declare var UDPMessageEvent: { prototype: UDPMessageEvent; new(type: string, eventInitDict?: UDPMessageEventInit): UDPMessageEvent; isInstance: IsInstance; }; interface UDPSocketEventMap { "message": Event; } interface UDPSocket extends EventTarget { readonly addressReuse: boolean; readonly closed: Promise; readonly localAddress: string | null; readonly localPort: number | null; readonly loopback: boolean; onmessage: ((this: UDPSocket, ev: Event) => any) | null; readonly opened: Promise; readonly readyState: SocketReadyState; readonly remoteAddress: string | null; readonly remotePort: number | null; close(): Promise; joinMulticastGroup(multicastGroupAddress: string): void; leaveMulticastGroup(multicastGroupAddress: string): void; send(data: string | Blob | ArrayBuffer | ArrayBufferView, remoteAddress?: string | null, remotePort?: number | null): boolean; addEventListener(type: K, listener: (this: UDPSocket, ev: UDPSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: UDPSocket, ev: UDPSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var UDPSocket: { prototype: UDPSocket; new(options?: UDPOptions): UDPSocket; isInstance: IsInstance; }; interface UIEvent extends Event { readonly detail: number; readonly layerX: number; readonly layerY: number; readonly rangeOffset: number; readonly rangeParent: Node | null; readonly view: WindowProxy | null; readonly which: number; initUIEvent(aType: string, aCanBubble?: boolean, aCancelable?: boolean, aView?: Window | null, aDetail?: number): void; readonly SCROLL_PAGE_UP: -32768; readonly SCROLL_PAGE_DOWN: 32768; } declare var UIEvent: { prototype: UIEvent; new(type: string, eventInitDict?: UIEventInit): UIEvent; readonly SCROLL_PAGE_UP: -32768; readonly SCROLL_PAGE_DOWN: 32768; isInstance: IsInstance; }; interface URL { readonly URI: URI; hash: string; host: string; hostname: string; href: string; toString(): string; readonly origin: string; password: string; pathname: string; port: string; protocol: string; search: string; readonly searchParams: URLSearchParams; username: string; toJSON(): string; } declare var URL: { prototype: URL; new(url: string, base?: string): URL; isInstance: IsInstance; canParse(url: string, base?: string): boolean; createObjectURL(obj: Blob | MediaSource): string; fromURI(uri: URI): URL; isBoundToBlob(url: string): boolean; parse(url: string, base?: string): URL | null; revokeObjectURL(url: string): void; }; type webkitURL = URL; declare var webkitURL: typeof URL; interface URLPattern { readonly hasRegExpGroups: boolean; readonly hash: string; readonly hostname: string; readonly password: string; readonly pathname: string; readonly port: string; readonly protocol: string; readonly search: string; readonly username: string; exec(input?: URLPatternInput, baseURL?: string): URLPatternResult | null; test(input?: URLPatternInput, baseURL?: string): boolean; } declare var URLPattern: { prototype: URLPattern; new(input: URLPatternInput, baseURL: string, options?: URLPatternOptions): URLPattern; new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern; isInstance: IsInstance; }; interface URLSearchParams { readonly size: number; append(name: string, value: string): void; delete(name: string, value?: string): void; get(name: string): string | null; getAll(name: string): string[]; has(name: string, value?: string): boolean; set(name: string, value: string): void; sort(): void; toString(): string; forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void; } declare var URLSearchParams: { prototype: URLSearchParams; new(init?: string[][] | Record | string): URLSearchParams; isInstance: IsInstance; }; interface UniFFIPointer { } declare var UniFFIPointer: { prototype: UniFFIPointer; new(): UniFFIPointer; isInstance: IsInstance; }; interface UserActivation { readonly hasBeenActive: boolean; readonly isActive: boolean; } declare var UserActivation: { prototype: UserActivation; new(): UserActivation; isInstance: IsInstance; }; interface UserProximityEvent extends Event { readonly near: boolean; } declare var UserProximityEvent: { prototype: UserProximityEvent; new(type: string, eventInitDict?: UserProximityEventInit): UserProximityEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface VRDisplay extends EventTarget { readonly capabilities: VRDisplayCapabilities; depthFar: number; depthNear: number; readonly displayId: number; readonly displayName: string; groupMask: number; readonly isConnected: boolean; readonly isPresenting: boolean; readonly presentingGroups: number; readonly stageParameters: VRStageParameters | null; cancelAnimationFrame(handle: number): void; exitPresent(): Promise; getEyeParameters(whichEye: VREye): VREyeParameters; getFrameData(frameData: VRFrameData): boolean; getLayers(): VRLayer[]; getPose(): VRPose; requestAnimationFrame(callback: FrameRequestCallback): number; requestPresent(layers: VRLayer[]): Promise; resetPose(): void; submitFrame(): void; } declare var VRDisplay: { prototype: VRDisplay; new(): VRDisplay; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface VRDisplayCapabilities { readonly canPresent: boolean; readonly hasExternalDisplay: boolean; readonly hasOrientation: boolean; readonly hasPosition: boolean; readonly maxLayers: number; } declare var VRDisplayCapabilities: { prototype: VRDisplayCapabilities; new(): VRDisplayCapabilities; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface VRDisplayEvent extends Event { readonly display: VRDisplay; readonly reason: VRDisplayEventReason | null; } declare var VRDisplayEvent: { prototype: VRDisplayEvent; new(type: string, eventInitDict: VRDisplayEventInit): VRDisplayEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface VREyeParameters { readonly fieldOfView: VRFieldOfView; readonly offset: Float32Array; readonly renderHeight: number; readonly renderWidth: number; } declare var VREyeParameters: { prototype: VREyeParameters; new(): VREyeParameters; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface VRFieldOfView { readonly downDegrees: number; readonly leftDegrees: number; readonly rightDegrees: number; readonly upDegrees: number; } declare var VRFieldOfView: { prototype: VRFieldOfView; new(): VRFieldOfView; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface VRFrameData { readonly leftProjectionMatrix: Float32Array; readonly leftViewMatrix: Float32Array; readonly pose: VRPose; readonly rightProjectionMatrix: Float32Array; readonly rightViewMatrix: Float32Array; readonly timestamp: DOMHighResTimeStamp; } declare var VRFrameData: { prototype: VRFrameData; new(): VRFrameData; isInstance: IsInstance; }; interface VRMockController { axisCount: number; buttonCount: number; capAngularAcceleration: boolean; capLinearAcceleration: boolean; capOrientation: boolean; capPosition: boolean; hand: GamepadHand; hapticCount: number; clear(): void; create(): void; setAxisValue(axisIdx: number, value: number): void; setButtonPressed(buttonIdx: number, pressed: boolean): void; setButtonTouched(buttonIdx: number, touched: boolean): void; setButtonTrigger(buttonIdx: number, trigger: number): void; setPose(position: Float32Array | null, linearVelocity: Float32Array | null, linearAcceleration: Float32Array | null, orientation: Float32Array | null, angularVelocity: Float32Array | null, angularAcceleration: Float32Array | null): void; } declare var VRMockController: { prototype: VRMockController; new(): VRMockController; isInstance: IsInstance; }; interface VRMockDisplay { capAngularAcceleration: boolean; capExternal: boolean; capLinearAcceleration: boolean; capMountDetection: boolean; capOrientation: boolean; capPosition: boolean; capPositionEmulated: boolean; capPresent: boolean; capStageParameters: boolean; create(): void; setConnected(connected: boolean): void; setEyeFOV(eye: VREye, upDegree: number, rightDegree: number, downDegree: number, leftDegree: number): void; setEyeOffset(eye: VREye, offsetX: number, offsetY: number, offsetZ: number): void; setEyeResolution(renderWidth: number, renderHeight: number): void; setMounted(mounted: boolean): void; setPose(position: Float32Array | null, linearVelocity: Float32Array | null, linearAcceleration: Float32Array | null, orientation: Float32Array | null, angularVelocity: Float32Array | null, angularAcceleration: Float32Array | null): void; setSittingToStandingTransform(sittingToStandingTransform: Float32Array): void; setStageSize(width: number, height: number): void; } declare var VRMockDisplay: { prototype: VRMockDisplay; new(): VRMockDisplay; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface VRPose { readonly angularAcceleration: Float32Array | null; readonly angularVelocity: Float32Array | null; readonly linearAcceleration: Float32Array | null; readonly linearVelocity: Float32Array | null; readonly orientation: Float32Array | null; readonly position: Float32Array | null; } declare var VRPose: { prototype: VRPose; new(): VRPose; isInstance: IsInstance; }; interface VRServiceTest { acknowledgeFrame(): void; captureFrame(): void; clearAll(): void; commit(): void; end(): void; getVRController(controllerIdx: number): VRMockController; getVRDisplay(): VRMockDisplay; rejectFrame(): void; reset(): Promise; run(): Promise; startTimer(): void; stopTimer(): void; timeout(duration: number): void; wait(duration: number): void; waitHapticIntensity(controllerIdx: number, hapticIdx: number, intensity: number): void; waitPresentationEnd(): void; waitPresentationStart(): void; waitSubmit(): void; } declare var VRServiceTest: { prototype: VRServiceTest; new(): VRServiceTest; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface VRStageParameters { readonly sittingToStandingTransform: Float32Array; readonly sizeX: number; readonly sizeZ: number; } declare var VRStageParameters: { prototype: VRStageParameters; new(): VRStageParameters; isInstance: IsInstance; }; interface VTTCue extends TextTrackCue { align: AlignSetting; readonly computedLine: number; readonly computedPosition: number; readonly computedPositionAlign: PositionAlignSetting; displayState: HTMLDivElement | null; readonly getActive: boolean; readonly hasBeenReset: boolean; line: number | AutoKeyword; lineAlign: LineAlignSetting; position: number | AutoKeyword; positionAlign: PositionAlignSetting; region: VTTRegion | null; size: number; snapToLines: boolean; text: string; vertical: DirectionSetting; getCueAsHTML(): DocumentFragment; addEventListener(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var VTTCue: { prototype: VTTCue; new(startTime: number, endTime: number, text: string): VTTCue; isInstance: IsInstance; }; interface VTTRegion { id: string; lines: number; regionAnchorX: number; regionAnchorY: number; scroll: ScrollSetting; viewportAnchorX: number; viewportAnchorY: number; width: number; } declare var VTTRegion: { prototype: VTTRegion; new(): VTTRegion; isInstance: IsInstance; }; interface ValidityState { readonly badInput: boolean; readonly customError: boolean; readonly patternMismatch: boolean; readonly rangeOverflow: boolean; readonly rangeUnderflow: boolean; readonly stepMismatch: boolean; readonly tooLong: boolean; readonly tooShort: boolean; readonly typeMismatch: boolean; readonly valid: boolean; readonly valueMissing: boolean; } declare var ValidityState: { prototype: ValidityState; new(): ValidityState; isInstance: IsInstance; }; interface VideoColorSpace { readonly fullRange: boolean | null; readonly matrix: VideoMatrixCoefficients | null; readonly primaries: VideoColorPrimaries | null; readonly transfer: VideoTransferCharacteristics | null; toJSON(): any; } declare var VideoColorSpace: { prototype: VideoColorSpace; new(init?: VideoColorSpaceInit): VideoColorSpace; isInstance: IsInstance; }; interface VideoDecoderEventMap { "dequeue": Event; } /** Available only in secure contexts. */ interface VideoDecoder extends EventTarget { readonly decodeQueueSize: number; ondequeue: ((this: VideoDecoder, ev: Event) => any) | null; readonly state: CodecState; close(): void; configure(config: VideoDecoderConfig): void; decode(chunk: EncodedVideoChunk): void; flush(): Promise; reset(): void; addEventListener(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var VideoDecoder: { prototype: VideoDecoder; new(init: VideoDecoderInit): VideoDecoder; isInstance: IsInstance; isConfigSupported(config: VideoDecoderConfig): Promise; }; interface VideoEncoderEventMap { "dequeue": Event; } /** Available only in secure contexts. */ interface VideoEncoder extends EventTarget { readonly encodeQueueSize: number; ondequeue: ((this: VideoEncoder, ev: Event) => any) | null; readonly state: CodecState; close(): void; configure(config: VideoEncoderConfig): void; encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void; flush(): Promise; reset(): void; addEventListener(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var VideoEncoder: { prototype: VideoEncoder; new(init: VideoEncoderInit): VideoEncoder; isInstance: IsInstance; isConfigSupported(config: VideoEncoderConfig): Promise; }; interface VideoFrame { readonly codedHeight: number; readonly codedRect: DOMRectReadOnly | null; readonly codedWidth: number; readonly colorSpace: VideoColorSpace; readonly displayHeight: number; readonly displayWidth: number; readonly duration: number | null; readonly format: VideoPixelFormat | null; readonly timestamp: number; readonly visibleRect: DOMRectReadOnly | null; allocationSize(options?: VideoFrameCopyToOptions): number; clone(): VideoFrame; close(): void; copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise; } declare var VideoFrame: { prototype: VideoFrame; new(imageElement: HTMLImageElement, init?: VideoFrameInit): VideoFrame; new(svgImageElement: SVGImageElement, init?: VideoFrameInit): VideoFrame; new(canvasElement: HTMLCanvasElement, init?: VideoFrameInit): VideoFrame; new(videoElement: HTMLVideoElement, init?: VideoFrameInit): VideoFrame; new(offscreenCanvas: OffscreenCanvas, init?: VideoFrameInit): VideoFrame; new(imageBitmap: ImageBitmap, init?: VideoFrameInit): VideoFrame; new(videoFrame: VideoFrame, init?: VideoFrameInit): VideoFrame; new(bufferView: ArrayBufferView, init: VideoFrameBufferInit): VideoFrame; new(buffer: ArrayBuffer, init: VideoFrameBufferInit): VideoFrame; isInstance: IsInstance; }; interface VideoPlaybackQuality { readonly creationTime: DOMHighResTimeStamp; readonly droppedVideoFrames: number; readonly totalVideoFrames: number; } declare var VideoPlaybackQuality: { prototype: VideoPlaybackQuality; new(): VideoPlaybackQuality; isInstance: IsInstance; }; interface VideoTrack { readonly id: string; readonly kind: string; readonly label: string; readonly language: string; selected: boolean; } declare var VideoTrack: { prototype: VideoTrack; new(): VideoTrack; isInstance: IsInstance; }; interface VideoTrackListEventMap { "addtrack": Event; "change": Event; "removetrack": Event; } interface VideoTrackList extends EventTarget { readonly length: number; onaddtrack: ((this: VideoTrackList, ev: Event) => any) | null; onchange: ((this: VideoTrackList, ev: Event) => any) | null; onremovetrack: ((this: VideoTrackList, ev: Event) => any) | null; readonly selectedIndex: number; getTrackById(id: string): VideoTrack | null; addEventListener(type: K, listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; [index: number]: VideoTrack; } declare var VideoTrackList: { prototype: VideoTrackList; new(): VideoTrackList; isInstance: IsInstance; }; interface ViewTransition { readonly finished: Promise; readonly ready: Promise; readonly types: ViewTransitionTypeSet; readonly updateCallbackDone: Promise; skipTransition(): void; } declare var ViewTransition: { prototype: ViewTransition; new(): ViewTransition; isInstance: IsInstance; }; interface ViewTransitionTypeSet { forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void; } declare var ViewTransitionTypeSet: { prototype: ViewTransitionTypeSet; new(): ViewTransitionTypeSet; isInstance: IsInstance; }; interface VisualViewportEventMap { "resize": Event; "scroll": Event; "scrollend": Event; } interface VisualViewport extends EventTarget { readonly height: number; readonly offsetLeft: number; readonly offsetTop: number; onresize: ((this: VisualViewport, ev: Event) => any) | null; onscroll: ((this: VisualViewport, ev: Event) => any) | null; onscrollend: ((this: VisualViewport, ev: Event) => any) | null; readonly pageLeft: number; readonly pageTop: number; readonly scale: number; readonly width: number; addEventListener(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: VisualViewport, ev: VisualViewportEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var VisualViewport: { prototype: VisualViewport; new(): VisualViewport; isInstance: IsInstance; }; interface WEBGL_color_buffer_float { readonly RGBA32F_EXT: 0x8814; readonly RGB32F_EXT: 0x8815; readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211; readonly UNSIGNED_NORMALIZED_EXT: 0x8C17; } interface WEBGL_compressed_texture_astc { getSupportedProfiles(): string[] | null; readonly COMPRESSED_RGBA_ASTC_4x4_KHR: 0x93B0; readonly COMPRESSED_RGBA_ASTC_5x4_KHR: 0x93B1; readonly COMPRESSED_RGBA_ASTC_5x5_KHR: 0x93B2; readonly COMPRESSED_RGBA_ASTC_6x5_KHR: 0x93B3; readonly COMPRESSED_RGBA_ASTC_6x6_KHR: 0x93B4; readonly COMPRESSED_RGBA_ASTC_8x5_KHR: 0x93B5; readonly COMPRESSED_RGBA_ASTC_8x6_KHR: 0x93B6; readonly COMPRESSED_RGBA_ASTC_8x8_KHR: 0x93B7; readonly COMPRESSED_RGBA_ASTC_10x5_KHR: 0x93B8; readonly COMPRESSED_RGBA_ASTC_10x6_KHR: 0x93B9; readonly COMPRESSED_RGBA_ASTC_10x8_KHR: 0x93BA; readonly COMPRESSED_RGBA_ASTC_10x10_KHR: 0x93BB; readonly COMPRESSED_RGBA_ASTC_12x10_KHR: 0x93BC; readonly COMPRESSED_RGBA_ASTC_12x12_KHR: 0x93BD; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: 0x93D0; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: 0x93D1; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: 0x93D2; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: 0x93D3; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: 0x93D4; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: 0x93D5; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: 0x93D6; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: 0x93D7; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: 0x93D8; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: 0x93D9; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: 0x93DA; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: 0x93DB; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: 0x93DC; readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD; } interface WEBGL_compressed_texture_etc { readonly COMPRESSED_R11_EAC: 0x9270; readonly COMPRESSED_SIGNED_R11_EAC: 0x9271; readonly COMPRESSED_RG11_EAC: 0x9272; readonly COMPRESSED_SIGNED_RG11_EAC: 0x9273; readonly COMPRESSED_RGB8_ETC2: 0x9274; readonly COMPRESSED_SRGB8_ETC2: 0x9275; readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9276; readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9277; readonly COMPRESSED_RGBA8_ETC2_EAC: 0x9278; readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279; } interface WEBGL_compressed_texture_etc1 { readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64; } interface WEBGL_compressed_texture_pvrtc { readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00; readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01; readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: 0x8C02; readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: 0x8C03; } interface WEBGL_compressed_texture_s3tc { readonly COMPRESSED_RGB_S3TC_DXT1_EXT: 0x83F0; readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: 0x83F1; readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: 0x83F2; readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3; } interface WEBGL_compressed_texture_s3tc_srgb { readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C; readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D; readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: 0x8C4E; readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: 0x8C4F; } interface WEBGL_debug_renderer_info { readonly UNMASKED_VENDOR_WEBGL: 0x9245; readonly UNMASKED_RENDERER_WEBGL: 0x9246; } interface WEBGL_debug_shaders { getTranslatedShaderSource(shader: WebGLShader): string; } interface WEBGL_depth_texture { readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA; } interface WEBGL_draw_buffers { drawBuffersWEBGL(buffers: GLenum[]): void; readonly COLOR_ATTACHMENT0_WEBGL: 0x8CE0; readonly COLOR_ATTACHMENT1_WEBGL: 0x8CE1; readonly COLOR_ATTACHMENT2_WEBGL: 0x8CE2; readonly COLOR_ATTACHMENT3_WEBGL: 0x8CE3; readonly COLOR_ATTACHMENT4_WEBGL: 0x8CE4; readonly COLOR_ATTACHMENT5_WEBGL: 0x8CE5; readonly COLOR_ATTACHMENT6_WEBGL: 0x8CE6; readonly COLOR_ATTACHMENT7_WEBGL: 0x8CE7; readonly COLOR_ATTACHMENT8_WEBGL: 0x8CE8; readonly COLOR_ATTACHMENT9_WEBGL: 0x8CE9; readonly COLOR_ATTACHMENT10_WEBGL: 0x8CEA; readonly COLOR_ATTACHMENT11_WEBGL: 0x8CEB; readonly COLOR_ATTACHMENT12_WEBGL: 0x8CEC; readonly COLOR_ATTACHMENT13_WEBGL: 0x8CED; readonly COLOR_ATTACHMENT14_WEBGL: 0x8CEE; readonly COLOR_ATTACHMENT15_WEBGL: 0x8CEF; readonly DRAW_BUFFER0_WEBGL: 0x8825; readonly DRAW_BUFFER1_WEBGL: 0x8826; readonly DRAW_BUFFER2_WEBGL: 0x8827; readonly DRAW_BUFFER3_WEBGL: 0x8828; readonly DRAW_BUFFER4_WEBGL: 0x8829; readonly DRAW_BUFFER5_WEBGL: 0x882A; readonly DRAW_BUFFER6_WEBGL: 0x882B; readonly DRAW_BUFFER7_WEBGL: 0x882C; readonly DRAW_BUFFER8_WEBGL: 0x882D; readonly DRAW_BUFFER9_WEBGL: 0x882E; readonly DRAW_BUFFER10_WEBGL: 0x882F; readonly DRAW_BUFFER11_WEBGL: 0x8830; readonly DRAW_BUFFER12_WEBGL: 0x8831; readonly DRAW_BUFFER13_WEBGL: 0x8832; readonly DRAW_BUFFER14_WEBGL: 0x8833; readonly DRAW_BUFFER15_WEBGL: 0x8834; readonly MAX_COLOR_ATTACHMENTS_WEBGL: 0x8CDF; readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824; } interface WEBGL_explicit_present { present(): void; } interface WEBGL_lose_context { loseContext(): void; restoreContext(): void; } interface WEBGL_provoking_vertex { provokingVertexWEBGL(provokeMode: GLenum): void; readonly FIRST_VERTEX_CONVENTION_WEBGL: 0x8E4D; readonly LAST_VERTEX_CONVENTION_WEBGL: 0x8E4E; readonly PROVOKING_VERTEX_WEBGL: 0x8E4F; } /** Available only in secure contexts. */ interface WGSLLanguageFeatures { forEach(callbackfn: (value: string, key: string, parent: WGSLLanguageFeatures) => void, thisArg?: any): void; } declare var WGSLLanguageFeatures: { prototype: WGSLLanguageFeatures; new(): WGSLLanguageFeatures; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface WakeLock { request(type?: WakeLockType): Promise; } declare var WakeLock: { prototype: WakeLock; new(): WakeLock; isInstance: IsInstance; }; interface WakeLockSentinelEventMap { "release": Event; } /** Available only in secure contexts. */ interface WakeLockSentinel extends EventTarget { onrelease: ((this: WakeLockSentinel, ev: Event) => any) | null; readonly released: boolean; readonly type: WakeLockType; release(): Promise; addEventListener(type: K, listener: (this: WakeLockSentinel, ev: WakeLockSentinelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: WakeLockSentinel, ev: WakeLockSentinelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var WakeLockSentinel: { prototype: WakeLockSentinel; new(): WakeLockSentinel; isInstance: IsInstance; }; interface WaveShaperNode extends AudioNode, AudioNodePassThrough { curve: Float32Array | null; oversample: OverSampleType; } declare var WaveShaperNode: { prototype: WaveShaperNode; new(context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode; isInstance: IsInstance; }; interface WebBrowserPersistable { startPersistence(aContext: BrowsingContext | null, aRecv: nsIWebBrowserPersistDocumentReceiver): void; } interface WebExtensionContentScript extends MozDocumentMatcher { readonly cssOrigin: ContentScriptCssOrigin; readonly cssPaths: string[]; readonly jsPaths: string[]; readonly runAt: ContentScriptRunAt; readonly world: ContentScriptExecutionWorld; readonly worldId: string | null; } declare var WebExtensionContentScript: { prototype: WebExtensionContentScript; new(extension: WebExtensionPolicy, options: WebExtensionContentScriptInit): WebExtensionContentScript; isInstance: IsInstance; }; interface WebExtensionPolicy { active: boolean; allowedOrigins: MatchPatternSet; readonly baseCSP: string; readonly baseURL: string; readonly browsingContextGroupId: number; readonly contentScripts: WebExtensionContentScript[]; readonly extensionPageCSP: string; readonly hasRecommendedState: boolean; readonly id: string; ignoreQuarantine: boolean; readonly isPrivileged: boolean; readonly manifestVersion: number; readonly mozExtensionHostname: string; readonly name: string; permissions: string[]; readonly privateBrowsingAllowed: boolean; readonly readyPromise: any; readonly temporarilyInstalled: boolean; readonly type: string; readonly version: string; canAccessURI(uri: URI, explicit?: boolean, checkRestricted?: boolean, allowFilePermission?: boolean): boolean; canAccessWindow(window: WindowProxy): boolean; getURL(path?: string): string; hasPermission(permission: string): boolean; injectContentScripts(): void; isManifestBackgroundWorker(workerURL: string): boolean; isWebAccessiblePath(pathname: string): boolean; localize(unlocalizedText: string): string; quarantinedFromURI(uri: URI): boolean; registerContentScript(script: WebExtensionContentScript): void; sourceMayAccessPath(sourceURI: URI, pathname: string): boolean; unregisterContentScript(script: WebExtensionContentScript): void; } declare var WebExtensionPolicy: { prototype: WebExtensionPolicy; new(options: WebExtensionInit): WebExtensionPolicy; readonly backgroundServiceWorkerEnabled: boolean; readonly isExtensionProcess: boolean; isInstance: IsInstance; readonly quarantinedDomainsEnabled: boolean; readonly useRemoteWebExtensions: boolean; getActiveExtensions(): WebExtensionPolicy[]; getByHostname(hostname: string): WebExtensionPolicy | null; getByID(id: string): WebExtensionPolicy | null; getByURI(uri: URI): WebExtensionPolicy | null; isQuarantinedURI(uri: URI): boolean; isRestrictedURI(uri: URI): boolean; }; interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGLRenderingContextBase { } declare var WebGL2RenderingContext: { prototype: WebGL2RenderingContext; new(): WebGL2RenderingContext; readonly READ_BUFFER: 0x0C02; readonly UNPACK_ROW_LENGTH: 0x0CF2; readonly UNPACK_SKIP_ROWS: 0x0CF3; readonly UNPACK_SKIP_PIXELS: 0x0CF4; readonly PACK_ROW_LENGTH: 0x0D02; readonly PACK_SKIP_ROWS: 0x0D03; readonly PACK_SKIP_PIXELS: 0x0D04; readonly COLOR: 0x1800; readonly DEPTH: 0x1801; readonly STENCIL: 0x1802; readonly RED: 0x1903; readonly RGB8: 0x8051; readonly RGBA8: 0x8058; readonly RGB10_A2: 0x8059; readonly TEXTURE_BINDING_3D: 0x806A; readonly UNPACK_SKIP_IMAGES: 0x806D; readonly UNPACK_IMAGE_HEIGHT: 0x806E; readonly TEXTURE_3D: 0x806F; readonly TEXTURE_WRAP_R: 0x8072; readonly MAX_3D_TEXTURE_SIZE: 0x8073; readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368; readonly MAX_ELEMENTS_VERTICES: 0x80E8; readonly MAX_ELEMENTS_INDICES: 0x80E9; readonly TEXTURE_MIN_LOD: 0x813A; readonly TEXTURE_MAX_LOD: 0x813B; readonly TEXTURE_BASE_LEVEL: 0x813C; readonly TEXTURE_MAX_LEVEL: 0x813D; readonly MIN: 0x8007; readonly MAX: 0x8008; readonly DEPTH_COMPONENT24: 0x81A6; readonly MAX_TEXTURE_LOD_BIAS: 0x84FD; readonly TEXTURE_COMPARE_MODE: 0x884C; readonly TEXTURE_COMPARE_FUNC: 0x884D; readonly CURRENT_QUERY: 0x8865; readonly QUERY_RESULT: 0x8866; readonly QUERY_RESULT_AVAILABLE: 0x8867; readonly STREAM_READ: 0x88E1; readonly STREAM_COPY: 0x88E2; readonly STATIC_READ: 0x88E5; readonly STATIC_COPY: 0x88E6; readonly DYNAMIC_READ: 0x88E9; readonly DYNAMIC_COPY: 0x88EA; readonly MAX_DRAW_BUFFERS: 0x8824; readonly DRAW_BUFFER0: 0x8825; readonly DRAW_BUFFER1: 0x8826; readonly DRAW_BUFFER2: 0x8827; readonly DRAW_BUFFER3: 0x8828; readonly DRAW_BUFFER4: 0x8829; readonly DRAW_BUFFER5: 0x882A; readonly DRAW_BUFFER6: 0x882B; readonly DRAW_BUFFER7: 0x882C; readonly DRAW_BUFFER8: 0x882D; readonly DRAW_BUFFER9: 0x882E; readonly DRAW_BUFFER10: 0x882F; readonly DRAW_BUFFER11: 0x8830; readonly DRAW_BUFFER12: 0x8831; readonly DRAW_BUFFER13: 0x8832; readonly DRAW_BUFFER14: 0x8833; readonly DRAW_BUFFER15: 0x8834; readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49; readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A; readonly SAMPLER_3D: 0x8B5F; readonly SAMPLER_2D_SHADOW: 0x8B62; readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B; readonly PIXEL_PACK_BUFFER: 0x88EB; readonly PIXEL_UNPACK_BUFFER: 0x88EC; readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED; readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF; readonly FLOAT_MAT2x3: 0x8B65; readonly FLOAT_MAT2x4: 0x8B66; readonly FLOAT_MAT3x2: 0x8B67; readonly FLOAT_MAT3x4: 0x8B68; readonly FLOAT_MAT4x2: 0x8B69; readonly FLOAT_MAT4x3: 0x8B6A; readonly SRGB: 0x8C40; readonly SRGB8: 0x8C41; readonly SRGB8_ALPHA8: 0x8C43; readonly COMPARE_REF_TO_TEXTURE: 0x884E; readonly RGBA32F: 0x8814; readonly RGB32F: 0x8815; readonly RGBA16F: 0x881A; readonly RGB16F: 0x881B; readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD; readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF; readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904; readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905; readonly MAX_VARYING_COMPONENTS: 0x8B4B; readonly TEXTURE_2D_ARRAY: 0x8C1A; readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D; readonly R11F_G11F_B10F: 0x8C3A; readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B; readonly RGB9_E5: 0x8C3D; readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E; readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F; readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80; readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83; readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84; readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85; readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88; readonly RASTERIZER_DISCARD: 0x8C89; readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A; readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B; readonly INTERLEAVED_ATTRIBS: 0x8C8C; readonly SEPARATE_ATTRIBS: 0x8C8D; readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E; readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F; readonly RGBA32UI: 0x8D70; readonly RGB32UI: 0x8D71; readonly RGBA16UI: 0x8D76; readonly RGB16UI: 0x8D77; readonly RGBA8UI: 0x8D7C; readonly RGB8UI: 0x8D7D; readonly RGBA32I: 0x8D82; readonly RGB32I: 0x8D83; readonly RGBA16I: 0x8D88; readonly RGB16I: 0x8D89; readonly RGBA8I: 0x8D8E; readonly RGB8I: 0x8D8F; readonly RED_INTEGER: 0x8D94; readonly RGB_INTEGER: 0x8D98; readonly RGBA_INTEGER: 0x8D99; readonly SAMPLER_2D_ARRAY: 0x8DC1; readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4; readonly SAMPLER_CUBE_SHADOW: 0x8DC5; readonly UNSIGNED_INT_VEC2: 0x8DC6; readonly UNSIGNED_INT_VEC3: 0x8DC7; readonly UNSIGNED_INT_VEC4: 0x8DC8; readonly INT_SAMPLER_2D: 0x8DCA; readonly INT_SAMPLER_3D: 0x8DCB; readonly INT_SAMPLER_CUBE: 0x8DCC; readonly INT_SAMPLER_2D_ARRAY: 0x8DCF; readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2; readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3; readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4; readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7; readonly DEPTH_COMPONENT32F: 0x8CAC; readonly DEPTH32F_STENCIL8: 0x8CAD; readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD; readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210; readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211; readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212; readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213; readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214; readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215; readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216; readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217; readonly FRAMEBUFFER_DEFAULT: 0x8218; readonly UNSIGNED_INT_24_8: 0x84FA; readonly DEPTH24_STENCIL8: 0x88F0; readonly UNSIGNED_NORMALIZED: 0x8C17; readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6; readonly READ_FRAMEBUFFER: 0x8CA8; readonly DRAW_FRAMEBUFFER: 0x8CA9; readonly READ_FRAMEBUFFER_BINDING: 0x8CAA; readonly RENDERBUFFER_SAMPLES: 0x8CAB; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4; readonly MAX_COLOR_ATTACHMENTS: 0x8CDF; readonly COLOR_ATTACHMENT1: 0x8CE1; readonly COLOR_ATTACHMENT2: 0x8CE2; readonly COLOR_ATTACHMENT3: 0x8CE3; readonly COLOR_ATTACHMENT4: 0x8CE4; readonly COLOR_ATTACHMENT5: 0x8CE5; readonly COLOR_ATTACHMENT6: 0x8CE6; readonly COLOR_ATTACHMENT7: 0x8CE7; readonly COLOR_ATTACHMENT8: 0x8CE8; readonly COLOR_ATTACHMENT9: 0x8CE9; readonly COLOR_ATTACHMENT10: 0x8CEA; readonly COLOR_ATTACHMENT11: 0x8CEB; readonly COLOR_ATTACHMENT12: 0x8CEC; readonly COLOR_ATTACHMENT13: 0x8CED; readonly COLOR_ATTACHMENT14: 0x8CEE; readonly COLOR_ATTACHMENT15: 0x8CEF; readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56; readonly MAX_SAMPLES: 0x8D57; readonly HALF_FLOAT: 0x140B; readonly RG: 0x8227; readonly RG_INTEGER: 0x8228; readonly R8: 0x8229; readonly RG8: 0x822B; readonly R16F: 0x822D; readonly R32F: 0x822E; readonly RG16F: 0x822F; readonly RG32F: 0x8230; readonly R8I: 0x8231; readonly R8UI: 0x8232; readonly R16I: 0x8233; readonly R16UI: 0x8234; readonly R32I: 0x8235; readonly R32UI: 0x8236; readonly RG8I: 0x8237; readonly RG8UI: 0x8238; readonly RG16I: 0x8239; readonly RG16UI: 0x823A; readonly RG32I: 0x823B; readonly RG32UI: 0x823C; readonly VERTEX_ARRAY_BINDING: 0x85B5; readonly R8_SNORM: 0x8F94; readonly RG8_SNORM: 0x8F95; readonly RGB8_SNORM: 0x8F96; readonly RGBA8_SNORM: 0x8F97; readonly SIGNED_NORMALIZED: 0x8F9C; readonly COPY_READ_BUFFER: 0x8F36; readonly COPY_WRITE_BUFFER: 0x8F37; readonly COPY_READ_BUFFER_BINDING: 0x8F36; readonly COPY_WRITE_BUFFER_BINDING: 0x8F37; readonly UNIFORM_BUFFER: 0x8A11; readonly UNIFORM_BUFFER_BINDING: 0x8A28; readonly UNIFORM_BUFFER_START: 0x8A29; readonly UNIFORM_BUFFER_SIZE: 0x8A2A; readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B; readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D; readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E; readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F; readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30; readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31; readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33; readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34; readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36; readonly UNIFORM_TYPE: 0x8A37; readonly UNIFORM_SIZE: 0x8A38; readonly UNIFORM_BLOCK_INDEX: 0x8A3A; readonly UNIFORM_OFFSET: 0x8A3B; readonly UNIFORM_ARRAY_STRIDE: 0x8A3C; readonly UNIFORM_MATRIX_STRIDE: 0x8A3D; readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E; readonly UNIFORM_BLOCK_BINDING: 0x8A3F; readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40; readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42; readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43; readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44; readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46; readonly INVALID_INDEX: 0xFFFFFFFF; readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122; readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125; readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111; readonly OBJECT_TYPE: 0x9112; readonly SYNC_CONDITION: 0x9113; readonly SYNC_STATUS: 0x9114; readonly SYNC_FLAGS: 0x9115; readonly SYNC_FENCE: 0x9116; readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117; readonly UNSIGNALED: 0x9118; readonly SIGNALED: 0x9119; readonly ALREADY_SIGNALED: 0x911A; readonly TIMEOUT_EXPIRED: 0x911B; readonly CONDITION_SATISFIED: 0x911C; readonly WAIT_FAILED: 0x911D; readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001; readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE; readonly ANY_SAMPLES_PASSED: 0x8C2F; readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A; readonly SAMPLER_BINDING: 0x8919; readonly RGB10_A2UI: 0x906F; readonly INT_2_10_10_10_REV: 0x8D9F; readonly TRANSFORM_FEEDBACK: 0x8E22; readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23; readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24; readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25; readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F; readonly MAX_ELEMENT_INDEX: 0x8D6B; readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF; readonly TIMEOUT_IGNORED: -1; readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247; readonly DEPTH_BUFFER_BIT: 0x00000100; readonly STENCIL_BUFFER_BIT: 0x00000400; readonly COLOR_BUFFER_BIT: 0x00004000; readonly POINTS: 0x0000; readonly LINES: 0x0001; readonly LINE_LOOP: 0x0002; readonly LINE_STRIP: 0x0003; readonly TRIANGLES: 0x0004; readonly TRIANGLE_STRIP: 0x0005; readonly TRIANGLE_FAN: 0x0006; readonly ZERO: 0; readonly ONE: 1; readonly SRC_COLOR: 0x0300; readonly ONE_MINUS_SRC_COLOR: 0x0301; readonly SRC_ALPHA: 0x0302; readonly ONE_MINUS_SRC_ALPHA: 0x0303; readonly DST_ALPHA: 0x0304; readonly ONE_MINUS_DST_ALPHA: 0x0305; readonly DST_COLOR: 0x0306; readonly ONE_MINUS_DST_COLOR: 0x0307; readonly SRC_ALPHA_SATURATE: 0x0308; readonly FUNC_ADD: 0x8006; readonly BLEND_EQUATION: 0x8009; readonly BLEND_EQUATION_RGB: 0x8009; readonly BLEND_EQUATION_ALPHA: 0x883D; readonly FUNC_SUBTRACT: 0x800A; readonly FUNC_REVERSE_SUBTRACT: 0x800B; readonly BLEND_DST_RGB: 0x80C8; readonly BLEND_SRC_RGB: 0x80C9; readonly BLEND_DST_ALPHA: 0x80CA; readonly BLEND_SRC_ALPHA: 0x80CB; readonly CONSTANT_COLOR: 0x8001; readonly ONE_MINUS_CONSTANT_COLOR: 0x8002; readonly CONSTANT_ALPHA: 0x8003; readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004; readonly BLEND_COLOR: 0x8005; readonly ARRAY_BUFFER: 0x8892; readonly ELEMENT_ARRAY_BUFFER: 0x8893; readonly ARRAY_BUFFER_BINDING: 0x8894; readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895; readonly STREAM_DRAW: 0x88E0; readonly STATIC_DRAW: 0x88E4; readonly DYNAMIC_DRAW: 0x88E8; readonly BUFFER_SIZE: 0x8764; readonly BUFFER_USAGE: 0x8765; readonly CURRENT_VERTEX_ATTRIB: 0x8626; readonly FRONT: 0x0404; readonly BACK: 0x0405; readonly FRONT_AND_BACK: 0x0408; readonly CULL_FACE: 0x0B44; readonly BLEND: 0x0BE2; readonly DITHER: 0x0BD0; readonly STENCIL_TEST: 0x0B90; readonly DEPTH_TEST: 0x0B71; readonly SCISSOR_TEST: 0x0C11; readonly POLYGON_OFFSET_FILL: 0x8037; readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E; readonly SAMPLE_COVERAGE: 0x80A0; readonly NO_ERROR: 0; readonly INVALID_ENUM: 0x0500; readonly INVALID_VALUE: 0x0501; readonly INVALID_OPERATION: 0x0502; readonly OUT_OF_MEMORY: 0x0505; readonly CW: 0x0900; readonly CCW: 0x0901; readonly LINE_WIDTH: 0x0B21; readonly ALIASED_POINT_SIZE_RANGE: 0x846D; readonly ALIASED_LINE_WIDTH_RANGE: 0x846E; readonly CULL_FACE_MODE: 0x0B45; readonly FRONT_FACE: 0x0B46; readonly DEPTH_RANGE: 0x0B70; readonly DEPTH_WRITEMASK: 0x0B72; readonly DEPTH_CLEAR_VALUE: 0x0B73; readonly DEPTH_FUNC: 0x0B74; readonly STENCIL_CLEAR_VALUE: 0x0B91; readonly STENCIL_FUNC: 0x0B92; readonly STENCIL_FAIL: 0x0B94; readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95; readonly STENCIL_PASS_DEPTH_PASS: 0x0B96; readonly STENCIL_REF: 0x0B97; readonly STENCIL_VALUE_MASK: 0x0B93; readonly STENCIL_WRITEMASK: 0x0B98; readonly STENCIL_BACK_FUNC: 0x8800; readonly STENCIL_BACK_FAIL: 0x8801; readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802; readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803; readonly STENCIL_BACK_REF: 0x8CA3; readonly STENCIL_BACK_VALUE_MASK: 0x8CA4; readonly STENCIL_BACK_WRITEMASK: 0x8CA5; readonly VIEWPORT: 0x0BA2; readonly SCISSOR_BOX: 0x0C10; readonly COLOR_CLEAR_VALUE: 0x0C22; readonly COLOR_WRITEMASK: 0x0C23; readonly UNPACK_ALIGNMENT: 0x0CF5; readonly PACK_ALIGNMENT: 0x0D05; readonly MAX_TEXTURE_SIZE: 0x0D33; readonly MAX_VIEWPORT_DIMS: 0x0D3A; readonly SUBPIXEL_BITS: 0x0D50; readonly RED_BITS: 0x0D52; readonly GREEN_BITS: 0x0D53; readonly BLUE_BITS: 0x0D54; readonly ALPHA_BITS: 0x0D55; readonly DEPTH_BITS: 0x0D56; readonly STENCIL_BITS: 0x0D57; readonly POLYGON_OFFSET_UNITS: 0x2A00; readonly POLYGON_OFFSET_FACTOR: 0x8038; readonly TEXTURE_BINDING_2D: 0x8069; readonly SAMPLE_BUFFERS: 0x80A8; readonly SAMPLES: 0x80A9; readonly SAMPLE_COVERAGE_VALUE: 0x80AA; readonly SAMPLE_COVERAGE_INVERT: 0x80AB; readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3; readonly DONT_CARE: 0x1100; readonly FASTEST: 0x1101; readonly NICEST: 0x1102; readonly GENERATE_MIPMAP_HINT: 0x8192; readonly BYTE: 0x1400; readonly UNSIGNED_BYTE: 0x1401; readonly SHORT: 0x1402; readonly UNSIGNED_SHORT: 0x1403; readonly INT: 0x1404; readonly UNSIGNED_INT: 0x1405; readonly FLOAT: 0x1406; readonly DEPTH_COMPONENT: 0x1902; readonly ALPHA: 0x1906; readonly RGB: 0x1907; readonly RGBA: 0x1908; readonly LUMINANCE: 0x1909; readonly LUMINANCE_ALPHA: 0x190A; readonly UNSIGNED_SHORT_4_4_4_4: 0x8033; readonly UNSIGNED_SHORT_5_5_5_1: 0x8034; readonly UNSIGNED_SHORT_5_6_5: 0x8363; readonly FRAGMENT_SHADER: 0x8B30; readonly VERTEX_SHADER: 0x8B31; readonly MAX_VERTEX_ATTRIBS: 0x8869; readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB; readonly MAX_VARYING_VECTORS: 0x8DFC; readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D; readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C; readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872; readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD; readonly SHADER_TYPE: 0x8B4F; readonly DELETE_STATUS: 0x8B80; readonly LINK_STATUS: 0x8B82; readonly VALIDATE_STATUS: 0x8B83; readonly ATTACHED_SHADERS: 0x8B85; readonly ACTIVE_UNIFORMS: 0x8B86; readonly ACTIVE_ATTRIBUTES: 0x8B89; readonly SHADING_LANGUAGE_VERSION: 0x8B8C; readonly CURRENT_PROGRAM: 0x8B8D; readonly NEVER: 0x0200; readonly LESS: 0x0201; readonly EQUAL: 0x0202; readonly LEQUAL: 0x0203; readonly GREATER: 0x0204; readonly NOTEQUAL: 0x0205; readonly GEQUAL: 0x0206; readonly ALWAYS: 0x0207; readonly KEEP: 0x1E00; readonly REPLACE: 0x1E01; readonly INCR: 0x1E02; readonly DECR: 0x1E03; readonly INVERT: 0x150A; readonly INCR_WRAP: 0x8507; readonly DECR_WRAP: 0x8508; readonly VENDOR: 0x1F00; readonly RENDERER: 0x1F01; readonly VERSION: 0x1F02; readonly NEAREST: 0x2600; readonly LINEAR: 0x2601; readonly NEAREST_MIPMAP_NEAREST: 0x2700; readonly LINEAR_MIPMAP_NEAREST: 0x2701; readonly NEAREST_MIPMAP_LINEAR: 0x2702; readonly LINEAR_MIPMAP_LINEAR: 0x2703; readonly TEXTURE_MAG_FILTER: 0x2800; readonly TEXTURE_MIN_FILTER: 0x2801; readonly TEXTURE_WRAP_S: 0x2802; readonly TEXTURE_WRAP_T: 0x2803; readonly TEXTURE_2D: 0x0DE1; readonly TEXTURE: 0x1702; readonly TEXTURE_CUBE_MAP: 0x8513; readonly TEXTURE_BINDING_CUBE_MAP: 0x8514; readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515; readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516; readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517; readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518; readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519; readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A; readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C; readonly TEXTURE0: 0x84C0; readonly TEXTURE1: 0x84C1; readonly TEXTURE2: 0x84C2; readonly TEXTURE3: 0x84C3; readonly TEXTURE4: 0x84C4; readonly TEXTURE5: 0x84C5; readonly TEXTURE6: 0x84C6; readonly TEXTURE7: 0x84C7; readonly TEXTURE8: 0x84C8; readonly TEXTURE9: 0x84C9; readonly TEXTURE10: 0x84CA; readonly TEXTURE11: 0x84CB; readonly TEXTURE12: 0x84CC; readonly TEXTURE13: 0x84CD; readonly TEXTURE14: 0x84CE; readonly TEXTURE15: 0x84CF; readonly TEXTURE16: 0x84D0; readonly TEXTURE17: 0x84D1; readonly TEXTURE18: 0x84D2; readonly TEXTURE19: 0x84D3; readonly TEXTURE20: 0x84D4; readonly TEXTURE21: 0x84D5; readonly TEXTURE22: 0x84D6; readonly TEXTURE23: 0x84D7; readonly TEXTURE24: 0x84D8; readonly TEXTURE25: 0x84D9; readonly TEXTURE26: 0x84DA; readonly TEXTURE27: 0x84DB; readonly TEXTURE28: 0x84DC; readonly TEXTURE29: 0x84DD; readonly TEXTURE30: 0x84DE; readonly TEXTURE31: 0x84DF; readonly ACTIVE_TEXTURE: 0x84E0; readonly REPEAT: 0x2901; readonly CLAMP_TO_EDGE: 0x812F; readonly MIRRORED_REPEAT: 0x8370; readonly FLOAT_VEC2: 0x8B50; readonly FLOAT_VEC3: 0x8B51; readonly FLOAT_VEC4: 0x8B52; readonly INT_VEC2: 0x8B53; readonly INT_VEC3: 0x8B54; readonly INT_VEC4: 0x8B55; readonly BOOL: 0x8B56; readonly BOOL_VEC2: 0x8B57; readonly BOOL_VEC3: 0x8B58; readonly BOOL_VEC4: 0x8B59; readonly FLOAT_MAT2: 0x8B5A; readonly FLOAT_MAT3: 0x8B5B; readonly FLOAT_MAT4: 0x8B5C; readonly SAMPLER_2D: 0x8B5E; readonly SAMPLER_CUBE: 0x8B60; readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622; readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623; readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624; readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625; readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A; readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645; readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F; readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A; readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B; readonly COMPILE_STATUS: 0x8B81; readonly LOW_FLOAT: 0x8DF0; readonly MEDIUM_FLOAT: 0x8DF1; readonly HIGH_FLOAT: 0x8DF2; readonly LOW_INT: 0x8DF3; readonly MEDIUM_INT: 0x8DF4; readonly HIGH_INT: 0x8DF5; readonly FRAMEBUFFER: 0x8D40; readonly RENDERBUFFER: 0x8D41; readonly RGBA4: 0x8056; readonly RGB5_A1: 0x8057; readonly RGB565: 0x8D62; readonly DEPTH_COMPONENT16: 0x81A5; readonly STENCIL_INDEX8: 0x8D48; readonly DEPTH_STENCIL: 0x84F9; readonly RENDERBUFFER_WIDTH: 0x8D42; readonly RENDERBUFFER_HEIGHT: 0x8D43; readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44; readonly RENDERBUFFER_RED_SIZE: 0x8D50; readonly RENDERBUFFER_GREEN_SIZE: 0x8D51; readonly RENDERBUFFER_BLUE_SIZE: 0x8D52; readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53; readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54; readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55; readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0; readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3; readonly COLOR_ATTACHMENT0: 0x8CE0; readonly DEPTH_ATTACHMENT: 0x8D00; readonly STENCIL_ATTACHMENT: 0x8D20; readonly DEPTH_STENCIL_ATTACHMENT: 0x821A; readonly NONE: 0; readonly FRAMEBUFFER_COMPLETE: 0x8CD5; readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6; readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7; readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9; readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD; readonly FRAMEBUFFER_BINDING: 0x8CA6; readonly RENDERBUFFER_BINDING: 0x8CA7; readonly MAX_RENDERBUFFER_SIZE: 0x84E8; readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506; readonly UNPACK_FLIP_Y_WEBGL: 0x9240; readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241; readonly CONTEXT_LOST_WEBGL: 0x9242; readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243; readonly BROWSER_DEFAULT_WEBGL: 0x9244; isInstance: IsInstance; }; interface WebGL2RenderingContextBase { beginQuery(target: GLenum, query: WebGLQuery): void; beginTransformFeedback(primitiveMode: GLenum): void; bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void; bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void; bindSampler(unit: GLuint, sampler: WebGLSampler | null): void; bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void; bindVertexArray(array: WebGLVertexArrayObject | null): void; blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void; bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void; bufferData(target: GLenum, srcData: ArrayBuffer | null, usage: GLenum): void; bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum): void; bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: GLuint, length?: GLuint): void; bufferSubData(target: GLenum, offset: GLintptr, srcData: AllowSharedBufferSource): void; bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void; clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void; clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: GLuint): void; clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: GLuint): void; clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: GLuint): void; clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum; compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void; compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void; compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void; compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void; compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void; compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void; compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void; compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: GLuint, srcLengthOverride?: GLuint): void; copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void; copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; createQuery(): WebGLQuery; createSampler(): WebGLSampler; createTransformFeedback(): WebGLTransformFeedback; createVertexArray(): WebGLVertexArrayObject; deleteQuery(query: WebGLQuery | null): void; deleteSampler(sampler: WebGLSampler | null): void; deleteSync(sync: WebGLSync | null): void; deleteTransformFeedback(tf: WebGLTransformFeedback | null): void; deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void; drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void; drawBuffers(buffers: GLenum[]): void; drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void; drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void; endQuery(target: GLenum): void; endTransformFeedback(): void; fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null; framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void; getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null; getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any; getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any; getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstData: ArrayBufferView, dstOffset?: GLuint, length?: GLuint): void; getFragDataLocation(program: WebGLProgram, name: string): GLint; getIndexedParameter(target: GLenum, index: GLuint): any; getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any; getQuery(target: GLenum, pname: GLenum): any; getQueryParameter(query: WebGLQuery, pname: GLenum): any; getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any; getSyncParameter(sync: WebGLSync, pname: GLenum): any; getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null; getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint; getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null; invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void; invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; isQuery(query: WebGLQuery | null): GLboolean; isSampler(sampler: WebGLSampler | null): GLboolean; isSync(sync: WebGLSync | null): GLboolean; isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean; isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean; pauseTransformFeedback(): void; readBuffer(src: GLenum): void; readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void; readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void; readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: GLuint): void; renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void; resumeTransformFeedback(): void; samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void; samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: HTMLCanvasElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: HTMLImageElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: HTMLVideoElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: ImageBitmap): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: ImageData): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: OffscreenCanvas): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: VideoFrame): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: HTMLCanvasElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: HTMLImageElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: HTMLVideoElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: ImageBitmap): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: ImageData): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: OffscreenCanvas): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: VideoFrame): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: HTMLCanvasElement): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: HTMLImageElement): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: HTMLVideoElement): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: ImageBitmap): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: ImageData): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: OffscreenCanvas): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: VideoFrame): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void; texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void; texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void; texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: HTMLCanvasElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: HTMLImageElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: HTMLVideoElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: ImageBitmap): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: ImageData): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: OffscreenCanvas): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: VideoFrame): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: HTMLCanvasElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: HTMLImageElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: HTMLVideoElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: ImageBitmap): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: ImageData): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: OffscreenCanvas): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: VideoFrame): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: GLuint): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: HTMLCanvasElement): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: HTMLImageElement): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: HTMLVideoElement): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: ImageBitmap): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: ImageData): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: OffscreenCanvas): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: VideoFrame): void; texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: GLuint): void; transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void; uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void; uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void; uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void; uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void; uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void; uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: GLuint, srcLength?: GLuint): void; vertexAttribDivisor(index: GLuint, divisor: GLuint): void; vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void; vertexAttribI4iv(index: GLuint, values: Int32List): void; vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void; vertexAttribI4uiv(index: GLuint, values: Uint32List): void; vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void; waitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLint64): void; readonly READ_BUFFER: 0x0C02; readonly UNPACK_ROW_LENGTH: 0x0CF2; readonly UNPACK_SKIP_ROWS: 0x0CF3; readonly UNPACK_SKIP_PIXELS: 0x0CF4; readonly PACK_ROW_LENGTH: 0x0D02; readonly PACK_SKIP_ROWS: 0x0D03; readonly PACK_SKIP_PIXELS: 0x0D04; readonly COLOR: 0x1800; readonly DEPTH: 0x1801; readonly STENCIL: 0x1802; readonly RED: 0x1903; readonly RGB8: 0x8051; readonly RGBA8: 0x8058; readonly RGB10_A2: 0x8059; readonly TEXTURE_BINDING_3D: 0x806A; readonly UNPACK_SKIP_IMAGES: 0x806D; readonly UNPACK_IMAGE_HEIGHT: 0x806E; readonly TEXTURE_3D: 0x806F; readonly TEXTURE_WRAP_R: 0x8072; readonly MAX_3D_TEXTURE_SIZE: 0x8073; readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368; readonly MAX_ELEMENTS_VERTICES: 0x80E8; readonly MAX_ELEMENTS_INDICES: 0x80E9; readonly TEXTURE_MIN_LOD: 0x813A; readonly TEXTURE_MAX_LOD: 0x813B; readonly TEXTURE_BASE_LEVEL: 0x813C; readonly TEXTURE_MAX_LEVEL: 0x813D; readonly MIN: 0x8007; readonly MAX: 0x8008; readonly DEPTH_COMPONENT24: 0x81A6; readonly MAX_TEXTURE_LOD_BIAS: 0x84FD; readonly TEXTURE_COMPARE_MODE: 0x884C; readonly TEXTURE_COMPARE_FUNC: 0x884D; readonly CURRENT_QUERY: 0x8865; readonly QUERY_RESULT: 0x8866; readonly QUERY_RESULT_AVAILABLE: 0x8867; readonly STREAM_READ: 0x88E1; readonly STREAM_COPY: 0x88E2; readonly STATIC_READ: 0x88E5; readonly STATIC_COPY: 0x88E6; readonly DYNAMIC_READ: 0x88E9; readonly DYNAMIC_COPY: 0x88EA; readonly MAX_DRAW_BUFFERS: 0x8824; readonly DRAW_BUFFER0: 0x8825; readonly DRAW_BUFFER1: 0x8826; readonly DRAW_BUFFER2: 0x8827; readonly DRAW_BUFFER3: 0x8828; readonly DRAW_BUFFER4: 0x8829; readonly DRAW_BUFFER5: 0x882A; readonly DRAW_BUFFER6: 0x882B; readonly DRAW_BUFFER7: 0x882C; readonly DRAW_BUFFER8: 0x882D; readonly DRAW_BUFFER9: 0x882E; readonly DRAW_BUFFER10: 0x882F; readonly DRAW_BUFFER11: 0x8830; readonly DRAW_BUFFER12: 0x8831; readonly DRAW_BUFFER13: 0x8832; readonly DRAW_BUFFER14: 0x8833; readonly DRAW_BUFFER15: 0x8834; readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49; readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A; readonly SAMPLER_3D: 0x8B5F; readonly SAMPLER_2D_SHADOW: 0x8B62; readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B; readonly PIXEL_PACK_BUFFER: 0x88EB; readonly PIXEL_UNPACK_BUFFER: 0x88EC; readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED; readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF; readonly FLOAT_MAT2x3: 0x8B65; readonly FLOAT_MAT2x4: 0x8B66; readonly FLOAT_MAT3x2: 0x8B67; readonly FLOAT_MAT3x4: 0x8B68; readonly FLOAT_MAT4x2: 0x8B69; readonly FLOAT_MAT4x3: 0x8B6A; readonly SRGB: 0x8C40; readonly SRGB8: 0x8C41; readonly SRGB8_ALPHA8: 0x8C43; readonly COMPARE_REF_TO_TEXTURE: 0x884E; readonly RGBA32F: 0x8814; readonly RGB32F: 0x8815; readonly RGBA16F: 0x881A; readonly RGB16F: 0x881B; readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD; readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF; readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904; readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905; readonly MAX_VARYING_COMPONENTS: 0x8B4B; readonly TEXTURE_2D_ARRAY: 0x8C1A; readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D; readonly R11F_G11F_B10F: 0x8C3A; readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B; readonly RGB9_E5: 0x8C3D; readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E; readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F; readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80; readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83; readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84; readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85; readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88; readonly RASTERIZER_DISCARD: 0x8C89; readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A; readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B; readonly INTERLEAVED_ATTRIBS: 0x8C8C; readonly SEPARATE_ATTRIBS: 0x8C8D; readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E; readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F; readonly RGBA32UI: 0x8D70; readonly RGB32UI: 0x8D71; readonly RGBA16UI: 0x8D76; readonly RGB16UI: 0x8D77; readonly RGBA8UI: 0x8D7C; readonly RGB8UI: 0x8D7D; readonly RGBA32I: 0x8D82; readonly RGB32I: 0x8D83; readonly RGBA16I: 0x8D88; readonly RGB16I: 0x8D89; readonly RGBA8I: 0x8D8E; readonly RGB8I: 0x8D8F; readonly RED_INTEGER: 0x8D94; readonly RGB_INTEGER: 0x8D98; readonly RGBA_INTEGER: 0x8D99; readonly SAMPLER_2D_ARRAY: 0x8DC1; readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4; readonly SAMPLER_CUBE_SHADOW: 0x8DC5; readonly UNSIGNED_INT_VEC2: 0x8DC6; readonly UNSIGNED_INT_VEC3: 0x8DC7; readonly UNSIGNED_INT_VEC4: 0x8DC8; readonly INT_SAMPLER_2D: 0x8DCA; readonly INT_SAMPLER_3D: 0x8DCB; readonly INT_SAMPLER_CUBE: 0x8DCC; readonly INT_SAMPLER_2D_ARRAY: 0x8DCF; readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2; readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3; readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4; readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7; readonly DEPTH_COMPONENT32F: 0x8CAC; readonly DEPTH32F_STENCIL8: 0x8CAD; readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD; readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210; readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211; readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212; readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213; readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214; readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215; readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216; readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217; readonly FRAMEBUFFER_DEFAULT: 0x8218; readonly UNSIGNED_INT_24_8: 0x84FA; readonly DEPTH24_STENCIL8: 0x88F0; readonly UNSIGNED_NORMALIZED: 0x8C17; readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6; readonly READ_FRAMEBUFFER: 0x8CA8; readonly DRAW_FRAMEBUFFER: 0x8CA9; readonly READ_FRAMEBUFFER_BINDING: 0x8CAA; readonly RENDERBUFFER_SAMPLES: 0x8CAB; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4; readonly MAX_COLOR_ATTACHMENTS: 0x8CDF; readonly COLOR_ATTACHMENT1: 0x8CE1; readonly COLOR_ATTACHMENT2: 0x8CE2; readonly COLOR_ATTACHMENT3: 0x8CE3; readonly COLOR_ATTACHMENT4: 0x8CE4; readonly COLOR_ATTACHMENT5: 0x8CE5; readonly COLOR_ATTACHMENT6: 0x8CE6; readonly COLOR_ATTACHMENT7: 0x8CE7; readonly COLOR_ATTACHMENT8: 0x8CE8; readonly COLOR_ATTACHMENT9: 0x8CE9; readonly COLOR_ATTACHMENT10: 0x8CEA; readonly COLOR_ATTACHMENT11: 0x8CEB; readonly COLOR_ATTACHMENT12: 0x8CEC; readonly COLOR_ATTACHMENT13: 0x8CED; readonly COLOR_ATTACHMENT14: 0x8CEE; readonly COLOR_ATTACHMENT15: 0x8CEF; readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56; readonly MAX_SAMPLES: 0x8D57; readonly HALF_FLOAT: 0x140B; readonly RG: 0x8227; readonly RG_INTEGER: 0x8228; readonly R8: 0x8229; readonly RG8: 0x822B; readonly R16F: 0x822D; readonly R32F: 0x822E; readonly RG16F: 0x822F; readonly RG32F: 0x8230; readonly R8I: 0x8231; readonly R8UI: 0x8232; readonly R16I: 0x8233; readonly R16UI: 0x8234; readonly R32I: 0x8235; readonly R32UI: 0x8236; readonly RG8I: 0x8237; readonly RG8UI: 0x8238; readonly RG16I: 0x8239; readonly RG16UI: 0x823A; readonly RG32I: 0x823B; readonly RG32UI: 0x823C; readonly VERTEX_ARRAY_BINDING: 0x85B5; readonly R8_SNORM: 0x8F94; readonly RG8_SNORM: 0x8F95; readonly RGB8_SNORM: 0x8F96; readonly RGBA8_SNORM: 0x8F97; readonly SIGNED_NORMALIZED: 0x8F9C; readonly COPY_READ_BUFFER: 0x8F36; readonly COPY_WRITE_BUFFER: 0x8F37; readonly COPY_READ_BUFFER_BINDING: 0x8F36; readonly COPY_WRITE_BUFFER_BINDING: 0x8F37; readonly UNIFORM_BUFFER: 0x8A11; readonly UNIFORM_BUFFER_BINDING: 0x8A28; readonly UNIFORM_BUFFER_START: 0x8A29; readonly UNIFORM_BUFFER_SIZE: 0x8A2A; readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B; readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D; readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E; readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F; readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30; readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31; readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33; readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34; readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36; readonly UNIFORM_TYPE: 0x8A37; readonly UNIFORM_SIZE: 0x8A38; readonly UNIFORM_BLOCK_INDEX: 0x8A3A; readonly UNIFORM_OFFSET: 0x8A3B; readonly UNIFORM_ARRAY_STRIDE: 0x8A3C; readonly UNIFORM_MATRIX_STRIDE: 0x8A3D; readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E; readonly UNIFORM_BLOCK_BINDING: 0x8A3F; readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40; readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42; readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43; readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44; readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46; readonly INVALID_INDEX: 0xFFFFFFFF; readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122; readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125; readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111; readonly OBJECT_TYPE: 0x9112; readonly SYNC_CONDITION: 0x9113; readonly SYNC_STATUS: 0x9114; readonly SYNC_FLAGS: 0x9115; readonly SYNC_FENCE: 0x9116; readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117; readonly UNSIGNALED: 0x9118; readonly SIGNALED: 0x9119; readonly ALREADY_SIGNALED: 0x911A; readonly TIMEOUT_EXPIRED: 0x911B; readonly CONDITION_SATISFIED: 0x911C; readonly WAIT_FAILED: 0x911D; readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001; readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE; readonly ANY_SAMPLES_PASSED: 0x8C2F; readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A; readonly SAMPLER_BINDING: 0x8919; readonly RGB10_A2UI: 0x906F; readonly INT_2_10_10_10_REV: 0x8D9F; readonly TRANSFORM_FEEDBACK: 0x8E22; readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23; readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24; readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25; readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F; readonly MAX_ELEMENT_INDEX: 0x8D6B; readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF; readonly TIMEOUT_IGNORED: -1; readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247; } interface WebGLActiveInfo { readonly name: string; readonly size: GLint; readonly type: GLenum; } declare var WebGLActiveInfo: { prototype: WebGLActiveInfo; new(): WebGLActiveInfo; isInstance: IsInstance; }; interface WebGLBuffer { } declare var WebGLBuffer: { prototype: WebGLBuffer; new(): WebGLBuffer; isInstance: IsInstance; }; interface WebGLContextEvent extends Event { readonly statusMessage: string; } declare var WebGLContextEvent: { prototype: WebGLContextEvent; new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent; isInstance: IsInstance; }; interface WebGLFramebuffer { } declare var WebGLFramebuffer: { prototype: WebGLFramebuffer; new(): WebGLFramebuffer; isInstance: IsInstance; }; interface WebGLProgram { } declare var WebGLProgram: { prototype: WebGLProgram; new(): WebGLProgram; isInstance: IsInstance; }; interface WebGLQuery { } declare var WebGLQuery: { prototype: WebGLQuery; new(): WebGLQuery; isInstance: IsInstance; }; interface WebGLRenderbuffer { } declare var WebGLRenderbuffer: { prototype: WebGLRenderbuffer; new(): WebGLRenderbuffer; isInstance: IsInstance; }; interface WebGLRenderingContext extends WebGLRenderingContextBase { bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void; bufferData(target: GLenum, data: ArrayBuffer | null, usage: GLenum): void; bufferData(target: GLenum, data: ArrayBufferView, usage: GLenum): void; bufferSubData(target: GLenum, offset: GLintptr, data: AllowSharedBufferSource): void; compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void; compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void; readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, pixels: ImageBitmap): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, pixels: ImageData): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, image: HTMLImageElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, canvas: HTMLCanvasElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, video: HTMLVideoElement): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, canvas: OffscreenCanvas): void; texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, videoFrame: VideoFrame): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, pixels: ImageBitmap): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, pixels: ImageData): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, image: HTMLImageElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, canvas: HTMLCanvasElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, video: HTMLVideoElement): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, canvas: OffscreenCanvas): void; texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, videoFrame: VideoFrame): void; uniform1fv(location: WebGLUniformLocation | null, data: Float32List): void; uniform1iv(location: WebGLUniformLocation | null, data: Int32List): void; uniform2fv(location: WebGLUniformLocation | null, data: Float32List): void; uniform2iv(location: WebGLUniformLocation | null, data: Int32List): void; uniform3fv(location: WebGLUniformLocation | null, data: Float32List): void; uniform3iv(location: WebGLUniformLocation | null, data: Int32List): void; uniform4fv(location: WebGLUniformLocation | null, data: Float32List): void; uniform4iv(location: WebGLUniformLocation | null, data: Int32List): void; uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List): void; uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List): void; uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List): void; } declare var WebGLRenderingContext: { prototype: WebGLRenderingContext; new(): WebGLRenderingContext; readonly DEPTH_BUFFER_BIT: 0x00000100; readonly STENCIL_BUFFER_BIT: 0x00000400; readonly COLOR_BUFFER_BIT: 0x00004000; readonly POINTS: 0x0000; readonly LINES: 0x0001; readonly LINE_LOOP: 0x0002; readonly LINE_STRIP: 0x0003; readonly TRIANGLES: 0x0004; readonly TRIANGLE_STRIP: 0x0005; readonly TRIANGLE_FAN: 0x0006; readonly ZERO: 0; readonly ONE: 1; readonly SRC_COLOR: 0x0300; readonly ONE_MINUS_SRC_COLOR: 0x0301; readonly SRC_ALPHA: 0x0302; readonly ONE_MINUS_SRC_ALPHA: 0x0303; readonly DST_ALPHA: 0x0304; readonly ONE_MINUS_DST_ALPHA: 0x0305; readonly DST_COLOR: 0x0306; readonly ONE_MINUS_DST_COLOR: 0x0307; readonly SRC_ALPHA_SATURATE: 0x0308; readonly FUNC_ADD: 0x8006; readonly BLEND_EQUATION: 0x8009; readonly BLEND_EQUATION_RGB: 0x8009; readonly BLEND_EQUATION_ALPHA: 0x883D; readonly FUNC_SUBTRACT: 0x800A; readonly FUNC_REVERSE_SUBTRACT: 0x800B; readonly BLEND_DST_RGB: 0x80C8; readonly BLEND_SRC_RGB: 0x80C9; readonly BLEND_DST_ALPHA: 0x80CA; readonly BLEND_SRC_ALPHA: 0x80CB; readonly CONSTANT_COLOR: 0x8001; readonly ONE_MINUS_CONSTANT_COLOR: 0x8002; readonly CONSTANT_ALPHA: 0x8003; readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004; readonly BLEND_COLOR: 0x8005; readonly ARRAY_BUFFER: 0x8892; readonly ELEMENT_ARRAY_BUFFER: 0x8893; readonly ARRAY_BUFFER_BINDING: 0x8894; readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895; readonly STREAM_DRAW: 0x88E0; readonly STATIC_DRAW: 0x88E4; readonly DYNAMIC_DRAW: 0x88E8; readonly BUFFER_SIZE: 0x8764; readonly BUFFER_USAGE: 0x8765; readonly CURRENT_VERTEX_ATTRIB: 0x8626; readonly FRONT: 0x0404; readonly BACK: 0x0405; readonly FRONT_AND_BACK: 0x0408; readonly CULL_FACE: 0x0B44; readonly BLEND: 0x0BE2; readonly DITHER: 0x0BD0; readonly STENCIL_TEST: 0x0B90; readonly DEPTH_TEST: 0x0B71; readonly SCISSOR_TEST: 0x0C11; readonly POLYGON_OFFSET_FILL: 0x8037; readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E; readonly SAMPLE_COVERAGE: 0x80A0; readonly NO_ERROR: 0; readonly INVALID_ENUM: 0x0500; readonly INVALID_VALUE: 0x0501; readonly INVALID_OPERATION: 0x0502; readonly OUT_OF_MEMORY: 0x0505; readonly CW: 0x0900; readonly CCW: 0x0901; readonly LINE_WIDTH: 0x0B21; readonly ALIASED_POINT_SIZE_RANGE: 0x846D; readonly ALIASED_LINE_WIDTH_RANGE: 0x846E; readonly CULL_FACE_MODE: 0x0B45; readonly FRONT_FACE: 0x0B46; readonly DEPTH_RANGE: 0x0B70; readonly DEPTH_WRITEMASK: 0x0B72; readonly DEPTH_CLEAR_VALUE: 0x0B73; readonly DEPTH_FUNC: 0x0B74; readonly STENCIL_CLEAR_VALUE: 0x0B91; readonly STENCIL_FUNC: 0x0B92; readonly STENCIL_FAIL: 0x0B94; readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95; readonly STENCIL_PASS_DEPTH_PASS: 0x0B96; readonly STENCIL_REF: 0x0B97; readonly STENCIL_VALUE_MASK: 0x0B93; readonly STENCIL_WRITEMASK: 0x0B98; readonly STENCIL_BACK_FUNC: 0x8800; readonly STENCIL_BACK_FAIL: 0x8801; readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802; readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803; readonly STENCIL_BACK_REF: 0x8CA3; readonly STENCIL_BACK_VALUE_MASK: 0x8CA4; readonly STENCIL_BACK_WRITEMASK: 0x8CA5; readonly VIEWPORT: 0x0BA2; readonly SCISSOR_BOX: 0x0C10; readonly COLOR_CLEAR_VALUE: 0x0C22; readonly COLOR_WRITEMASK: 0x0C23; readonly UNPACK_ALIGNMENT: 0x0CF5; readonly PACK_ALIGNMENT: 0x0D05; readonly MAX_TEXTURE_SIZE: 0x0D33; readonly MAX_VIEWPORT_DIMS: 0x0D3A; readonly SUBPIXEL_BITS: 0x0D50; readonly RED_BITS: 0x0D52; readonly GREEN_BITS: 0x0D53; readonly BLUE_BITS: 0x0D54; readonly ALPHA_BITS: 0x0D55; readonly DEPTH_BITS: 0x0D56; readonly STENCIL_BITS: 0x0D57; readonly POLYGON_OFFSET_UNITS: 0x2A00; readonly POLYGON_OFFSET_FACTOR: 0x8038; readonly TEXTURE_BINDING_2D: 0x8069; readonly SAMPLE_BUFFERS: 0x80A8; readonly SAMPLES: 0x80A9; readonly SAMPLE_COVERAGE_VALUE: 0x80AA; readonly SAMPLE_COVERAGE_INVERT: 0x80AB; readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3; readonly DONT_CARE: 0x1100; readonly FASTEST: 0x1101; readonly NICEST: 0x1102; readonly GENERATE_MIPMAP_HINT: 0x8192; readonly BYTE: 0x1400; readonly UNSIGNED_BYTE: 0x1401; readonly SHORT: 0x1402; readonly UNSIGNED_SHORT: 0x1403; readonly INT: 0x1404; readonly UNSIGNED_INT: 0x1405; readonly FLOAT: 0x1406; readonly DEPTH_COMPONENT: 0x1902; readonly ALPHA: 0x1906; readonly RGB: 0x1907; readonly RGBA: 0x1908; readonly LUMINANCE: 0x1909; readonly LUMINANCE_ALPHA: 0x190A; readonly UNSIGNED_SHORT_4_4_4_4: 0x8033; readonly UNSIGNED_SHORT_5_5_5_1: 0x8034; readonly UNSIGNED_SHORT_5_6_5: 0x8363; readonly FRAGMENT_SHADER: 0x8B30; readonly VERTEX_SHADER: 0x8B31; readonly MAX_VERTEX_ATTRIBS: 0x8869; readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB; readonly MAX_VARYING_VECTORS: 0x8DFC; readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D; readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C; readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872; readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD; readonly SHADER_TYPE: 0x8B4F; readonly DELETE_STATUS: 0x8B80; readonly LINK_STATUS: 0x8B82; readonly VALIDATE_STATUS: 0x8B83; readonly ATTACHED_SHADERS: 0x8B85; readonly ACTIVE_UNIFORMS: 0x8B86; readonly ACTIVE_ATTRIBUTES: 0x8B89; readonly SHADING_LANGUAGE_VERSION: 0x8B8C; readonly CURRENT_PROGRAM: 0x8B8D; readonly NEVER: 0x0200; readonly LESS: 0x0201; readonly EQUAL: 0x0202; readonly LEQUAL: 0x0203; readonly GREATER: 0x0204; readonly NOTEQUAL: 0x0205; readonly GEQUAL: 0x0206; readonly ALWAYS: 0x0207; readonly KEEP: 0x1E00; readonly REPLACE: 0x1E01; readonly INCR: 0x1E02; readonly DECR: 0x1E03; readonly INVERT: 0x150A; readonly INCR_WRAP: 0x8507; readonly DECR_WRAP: 0x8508; readonly VENDOR: 0x1F00; readonly RENDERER: 0x1F01; readonly VERSION: 0x1F02; readonly NEAREST: 0x2600; readonly LINEAR: 0x2601; readonly NEAREST_MIPMAP_NEAREST: 0x2700; readonly LINEAR_MIPMAP_NEAREST: 0x2701; readonly NEAREST_MIPMAP_LINEAR: 0x2702; readonly LINEAR_MIPMAP_LINEAR: 0x2703; readonly TEXTURE_MAG_FILTER: 0x2800; readonly TEXTURE_MIN_FILTER: 0x2801; readonly TEXTURE_WRAP_S: 0x2802; readonly TEXTURE_WRAP_T: 0x2803; readonly TEXTURE_2D: 0x0DE1; readonly TEXTURE: 0x1702; readonly TEXTURE_CUBE_MAP: 0x8513; readonly TEXTURE_BINDING_CUBE_MAP: 0x8514; readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515; readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516; readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517; readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518; readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519; readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A; readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C; readonly TEXTURE0: 0x84C0; readonly TEXTURE1: 0x84C1; readonly TEXTURE2: 0x84C2; readonly TEXTURE3: 0x84C3; readonly TEXTURE4: 0x84C4; readonly TEXTURE5: 0x84C5; readonly TEXTURE6: 0x84C6; readonly TEXTURE7: 0x84C7; readonly TEXTURE8: 0x84C8; readonly TEXTURE9: 0x84C9; readonly TEXTURE10: 0x84CA; readonly TEXTURE11: 0x84CB; readonly TEXTURE12: 0x84CC; readonly TEXTURE13: 0x84CD; readonly TEXTURE14: 0x84CE; readonly TEXTURE15: 0x84CF; readonly TEXTURE16: 0x84D0; readonly TEXTURE17: 0x84D1; readonly TEXTURE18: 0x84D2; readonly TEXTURE19: 0x84D3; readonly TEXTURE20: 0x84D4; readonly TEXTURE21: 0x84D5; readonly TEXTURE22: 0x84D6; readonly TEXTURE23: 0x84D7; readonly TEXTURE24: 0x84D8; readonly TEXTURE25: 0x84D9; readonly TEXTURE26: 0x84DA; readonly TEXTURE27: 0x84DB; readonly TEXTURE28: 0x84DC; readonly TEXTURE29: 0x84DD; readonly TEXTURE30: 0x84DE; readonly TEXTURE31: 0x84DF; readonly ACTIVE_TEXTURE: 0x84E0; readonly REPEAT: 0x2901; readonly CLAMP_TO_EDGE: 0x812F; readonly MIRRORED_REPEAT: 0x8370; readonly FLOAT_VEC2: 0x8B50; readonly FLOAT_VEC3: 0x8B51; readonly FLOAT_VEC4: 0x8B52; readonly INT_VEC2: 0x8B53; readonly INT_VEC3: 0x8B54; readonly INT_VEC4: 0x8B55; readonly BOOL: 0x8B56; readonly BOOL_VEC2: 0x8B57; readonly BOOL_VEC3: 0x8B58; readonly BOOL_VEC4: 0x8B59; readonly FLOAT_MAT2: 0x8B5A; readonly FLOAT_MAT3: 0x8B5B; readonly FLOAT_MAT4: 0x8B5C; readonly SAMPLER_2D: 0x8B5E; readonly SAMPLER_CUBE: 0x8B60; readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622; readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623; readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624; readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625; readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A; readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645; readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F; readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A; readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B; readonly COMPILE_STATUS: 0x8B81; readonly LOW_FLOAT: 0x8DF0; readonly MEDIUM_FLOAT: 0x8DF1; readonly HIGH_FLOAT: 0x8DF2; readonly LOW_INT: 0x8DF3; readonly MEDIUM_INT: 0x8DF4; readonly HIGH_INT: 0x8DF5; readonly FRAMEBUFFER: 0x8D40; readonly RENDERBUFFER: 0x8D41; readonly RGBA4: 0x8056; readonly RGB5_A1: 0x8057; readonly RGB565: 0x8D62; readonly DEPTH_COMPONENT16: 0x81A5; readonly STENCIL_INDEX8: 0x8D48; readonly DEPTH_STENCIL: 0x84F9; readonly RENDERBUFFER_WIDTH: 0x8D42; readonly RENDERBUFFER_HEIGHT: 0x8D43; readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44; readonly RENDERBUFFER_RED_SIZE: 0x8D50; readonly RENDERBUFFER_GREEN_SIZE: 0x8D51; readonly RENDERBUFFER_BLUE_SIZE: 0x8D52; readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53; readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54; readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55; readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0; readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3; readonly COLOR_ATTACHMENT0: 0x8CE0; readonly DEPTH_ATTACHMENT: 0x8D00; readonly STENCIL_ATTACHMENT: 0x8D20; readonly DEPTH_STENCIL_ATTACHMENT: 0x821A; readonly NONE: 0; readonly FRAMEBUFFER_COMPLETE: 0x8CD5; readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6; readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7; readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9; readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD; readonly FRAMEBUFFER_BINDING: 0x8CA6; readonly RENDERBUFFER_BINDING: 0x8CA7; readonly MAX_RENDERBUFFER_SIZE: 0x84E8; readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506; readonly UNPACK_FLIP_Y_WEBGL: 0x9240; readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241; readonly CONTEXT_LOST_WEBGL: 0x9242; readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243; readonly BROWSER_DEFAULT_WEBGL: 0x9244; isInstance: IsInstance; }; interface WebGLRenderingContextBase { readonly canvas: CanvasSource | null; drawingBufferColorSpace: PredefinedColorSpace; readonly drawingBufferHeight: GLsizei; readonly drawingBufferWidth: GLsizei; unpackColorSpace: PredefinedColorSpace; activeTexture(texture: GLenum): void; attachShader(program: WebGLProgram, shader: WebGLShader): void; bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void; bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void; bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void; bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void; bindTexture(target: GLenum, texture: WebGLTexture | null): void; blendColor(red: GLfloat, green: GLfloat, blue: GLfloat, alpha: GLfloat): void; blendEquation(mode: GLenum): void; blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void; blendFunc(sfactor: GLenum, dfactor: GLenum): void; blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void; checkFramebufferStatus(target: GLenum): GLenum; clear(mask: GLbitfield): void; clearColor(red: GLfloat, green: GLfloat, blue: GLfloat, alpha: GLfloat): void; clearDepth(depth: GLclampf): void; clearStencil(s: GLint): void; colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void; compileShader(shader: WebGLShader): void; copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void; copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; createBuffer(): WebGLBuffer; createFramebuffer(): WebGLFramebuffer; createProgram(): WebGLProgram; createRenderbuffer(): WebGLRenderbuffer; createShader(type: GLenum): WebGLShader | null; createTexture(): WebGLTexture; cullFace(mode: GLenum): 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: GLenum): void; depthMask(flag: GLboolean): void; depthRange(zNear: GLclampf, zFar: GLclampf): void; detachShader(program: WebGLProgram, shader: WebGLShader): void; disable(cap: GLenum): void; disableVertexAttribArray(index: GLuint): void; drawArrays(mode: GLenum, first: GLint, count: GLsizei): void; drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void; enable(cap: GLenum): void; enableVertexAttribArray(index: GLuint): void; finish(): void; flush(): void; framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void; framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void; frontFace(mode: GLenum): void; generateMipmap(target: GLenum): void; getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null; getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null; getAttachedShaders(program: WebGLProgram): WebGLShader[] | null; getAttribLocation(program: WebGLProgram, name: string): GLint; getBufferParameter(target: GLenum, pname: GLenum): any; getContextAttributes(): WebGLContextAttributes | null; getError(): GLenum; getExtension(name: string): any; getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any; getParameter(pname: GLenum): any; getProgramInfoLog(program: WebGLProgram): string | null; getProgramParameter(program: WebGLProgram, pname: GLenum): any; getRenderbufferParameter(target: GLenum, pname: GLenum): any; getShaderInfoLog(shader: WebGLShader): string | null; getShaderParameter(shader: WebGLShader, pname: GLenum): any; getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null; getShaderSource(shader: WebGLShader): string | null; getSupportedExtensions(): string[] | null; getTexParameter(target: GLenum, pname: GLenum): any; getUniform(program: WebGLProgram, location: WebGLUniformLocation): any; getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null; getVertexAttrib(index: GLuint, pname: GLenum): any; getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr; hint(target: GLenum, mode: GLenum): void; isBuffer(buffer: WebGLBuffer | null): GLboolean; isContextLost(): boolean; isEnabled(cap: GLenum): GLboolean; isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean; isProgram(program: WebGLProgram | null): GLboolean; isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean; isShader(shader: WebGLShader | null): GLboolean; isTexture(texture: WebGLTexture | null): GLboolean; lineWidth(width: GLfloat): void; linkProgram(program: WebGLProgram): void; makeXRCompatible(): Promise; pixelStorei(pname: GLenum, param: GLint): void; polygonOffset(factor: GLfloat, units: GLfloat): void; renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void; sampleCoverage(value: GLclampf, invert: GLboolean): void; scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; shaderSource(shader: WebGLShader, source: string): void; stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void; stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void; stencilMask(mask: GLuint): void; stencilMaskSeparate(face: GLenum, mask: GLuint): void; stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void; stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void; texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void; texParameteri(target: GLenum, pname: GLenum, param: GLint): void; uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void; uniform1i(location: WebGLUniformLocation | null, x: GLint): void; uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void; uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void; uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void; uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void; uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void; uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void; useProgram(program: WebGLProgram | null): void; validateProgram(program: WebGLProgram): void; vertexAttrib1f(indx: GLuint, x: GLfloat): void; vertexAttrib1fv(indx: GLuint, values: Float32List): void; vertexAttrib2f(indx: GLuint, x: GLfloat, y: GLfloat): void; vertexAttrib2fv(indx: GLuint, values: Float32List): void; vertexAttrib3f(indx: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void; vertexAttrib3fv(indx: GLuint, values: Float32List): void; vertexAttrib4f(indx: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void; vertexAttrib4fv(indx: GLuint, values: Float32List): void; vertexAttribPointer(indx: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void; viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; readonly DEPTH_BUFFER_BIT: 0x00000100; readonly STENCIL_BUFFER_BIT: 0x00000400; readonly COLOR_BUFFER_BIT: 0x00004000; readonly POINTS: 0x0000; readonly LINES: 0x0001; readonly LINE_LOOP: 0x0002; readonly LINE_STRIP: 0x0003; readonly TRIANGLES: 0x0004; readonly TRIANGLE_STRIP: 0x0005; readonly TRIANGLE_FAN: 0x0006; readonly ZERO: 0; readonly ONE: 1; readonly SRC_COLOR: 0x0300; readonly ONE_MINUS_SRC_COLOR: 0x0301; readonly SRC_ALPHA: 0x0302; readonly ONE_MINUS_SRC_ALPHA: 0x0303; readonly DST_ALPHA: 0x0304; readonly ONE_MINUS_DST_ALPHA: 0x0305; readonly DST_COLOR: 0x0306; readonly ONE_MINUS_DST_COLOR: 0x0307; readonly SRC_ALPHA_SATURATE: 0x0308; readonly FUNC_ADD: 0x8006; readonly BLEND_EQUATION: 0x8009; readonly BLEND_EQUATION_RGB: 0x8009; readonly BLEND_EQUATION_ALPHA: 0x883D; readonly FUNC_SUBTRACT: 0x800A; readonly FUNC_REVERSE_SUBTRACT: 0x800B; readonly BLEND_DST_RGB: 0x80C8; readonly BLEND_SRC_RGB: 0x80C9; readonly BLEND_DST_ALPHA: 0x80CA; readonly BLEND_SRC_ALPHA: 0x80CB; readonly CONSTANT_COLOR: 0x8001; readonly ONE_MINUS_CONSTANT_COLOR: 0x8002; readonly CONSTANT_ALPHA: 0x8003; readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004; readonly BLEND_COLOR: 0x8005; readonly ARRAY_BUFFER: 0x8892; readonly ELEMENT_ARRAY_BUFFER: 0x8893; readonly ARRAY_BUFFER_BINDING: 0x8894; readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895; readonly STREAM_DRAW: 0x88E0; readonly STATIC_DRAW: 0x88E4; readonly DYNAMIC_DRAW: 0x88E8; readonly BUFFER_SIZE: 0x8764; readonly BUFFER_USAGE: 0x8765; readonly CURRENT_VERTEX_ATTRIB: 0x8626; readonly FRONT: 0x0404; readonly BACK: 0x0405; readonly FRONT_AND_BACK: 0x0408; readonly CULL_FACE: 0x0B44; readonly BLEND: 0x0BE2; readonly DITHER: 0x0BD0; readonly STENCIL_TEST: 0x0B90; readonly DEPTH_TEST: 0x0B71; readonly SCISSOR_TEST: 0x0C11; readonly POLYGON_OFFSET_FILL: 0x8037; readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E; readonly SAMPLE_COVERAGE: 0x80A0; readonly NO_ERROR: 0; readonly INVALID_ENUM: 0x0500; readonly INVALID_VALUE: 0x0501; readonly INVALID_OPERATION: 0x0502; readonly OUT_OF_MEMORY: 0x0505; readonly CW: 0x0900; readonly CCW: 0x0901; readonly LINE_WIDTH: 0x0B21; readonly ALIASED_POINT_SIZE_RANGE: 0x846D; readonly ALIASED_LINE_WIDTH_RANGE: 0x846E; readonly CULL_FACE_MODE: 0x0B45; readonly FRONT_FACE: 0x0B46; readonly DEPTH_RANGE: 0x0B70; readonly DEPTH_WRITEMASK: 0x0B72; readonly DEPTH_CLEAR_VALUE: 0x0B73; readonly DEPTH_FUNC: 0x0B74; readonly STENCIL_CLEAR_VALUE: 0x0B91; readonly STENCIL_FUNC: 0x0B92; readonly STENCIL_FAIL: 0x0B94; readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95; readonly STENCIL_PASS_DEPTH_PASS: 0x0B96; readonly STENCIL_REF: 0x0B97; readonly STENCIL_VALUE_MASK: 0x0B93; readonly STENCIL_WRITEMASK: 0x0B98; readonly STENCIL_BACK_FUNC: 0x8800; readonly STENCIL_BACK_FAIL: 0x8801; readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802; readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803; readonly STENCIL_BACK_REF: 0x8CA3; readonly STENCIL_BACK_VALUE_MASK: 0x8CA4; readonly STENCIL_BACK_WRITEMASK: 0x8CA5; readonly VIEWPORT: 0x0BA2; readonly SCISSOR_BOX: 0x0C10; readonly COLOR_CLEAR_VALUE: 0x0C22; readonly COLOR_WRITEMASK: 0x0C23; readonly UNPACK_ALIGNMENT: 0x0CF5; readonly PACK_ALIGNMENT: 0x0D05; readonly MAX_TEXTURE_SIZE: 0x0D33; readonly MAX_VIEWPORT_DIMS: 0x0D3A; readonly SUBPIXEL_BITS: 0x0D50; readonly RED_BITS: 0x0D52; readonly GREEN_BITS: 0x0D53; readonly BLUE_BITS: 0x0D54; readonly ALPHA_BITS: 0x0D55; readonly DEPTH_BITS: 0x0D56; readonly STENCIL_BITS: 0x0D57; readonly POLYGON_OFFSET_UNITS: 0x2A00; readonly POLYGON_OFFSET_FACTOR: 0x8038; readonly TEXTURE_BINDING_2D: 0x8069; readonly SAMPLE_BUFFERS: 0x80A8; readonly SAMPLES: 0x80A9; readonly SAMPLE_COVERAGE_VALUE: 0x80AA; readonly SAMPLE_COVERAGE_INVERT: 0x80AB; readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3; readonly DONT_CARE: 0x1100; readonly FASTEST: 0x1101; readonly NICEST: 0x1102; readonly GENERATE_MIPMAP_HINT: 0x8192; readonly BYTE: 0x1400; readonly UNSIGNED_BYTE: 0x1401; readonly SHORT: 0x1402; readonly UNSIGNED_SHORT: 0x1403; readonly INT: 0x1404; readonly UNSIGNED_INT: 0x1405; readonly FLOAT: 0x1406; readonly DEPTH_COMPONENT: 0x1902; readonly ALPHA: 0x1906; readonly RGB: 0x1907; readonly RGBA: 0x1908; readonly LUMINANCE: 0x1909; readonly LUMINANCE_ALPHA: 0x190A; readonly UNSIGNED_SHORT_4_4_4_4: 0x8033; readonly UNSIGNED_SHORT_5_5_5_1: 0x8034; readonly UNSIGNED_SHORT_5_6_5: 0x8363; readonly FRAGMENT_SHADER: 0x8B30; readonly VERTEX_SHADER: 0x8B31; readonly MAX_VERTEX_ATTRIBS: 0x8869; readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB; readonly MAX_VARYING_VECTORS: 0x8DFC; readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D; readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C; readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872; readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD; readonly SHADER_TYPE: 0x8B4F; readonly DELETE_STATUS: 0x8B80; readonly LINK_STATUS: 0x8B82; readonly VALIDATE_STATUS: 0x8B83; readonly ATTACHED_SHADERS: 0x8B85; readonly ACTIVE_UNIFORMS: 0x8B86; readonly ACTIVE_ATTRIBUTES: 0x8B89; readonly SHADING_LANGUAGE_VERSION: 0x8B8C; readonly CURRENT_PROGRAM: 0x8B8D; readonly NEVER: 0x0200; readonly LESS: 0x0201; readonly EQUAL: 0x0202; readonly LEQUAL: 0x0203; readonly GREATER: 0x0204; readonly NOTEQUAL: 0x0205; readonly GEQUAL: 0x0206; readonly ALWAYS: 0x0207; readonly KEEP: 0x1E00; readonly REPLACE: 0x1E01; readonly INCR: 0x1E02; readonly DECR: 0x1E03; readonly INVERT: 0x150A; readonly INCR_WRAP: 0x8507; readonly DECR_WRAP: 0x8508; readonly VENDOR: 0x1F00; readonly RENDERER: 0x1F01; readonly VERSION: 0x1F02; readonly NEAREST: 0x2600; readonly LINEAR: 0x2601; readonly NEAREST_MIPMAP_NEAREST: 0x2700; readonly LINEAR_MIPMAP_NEAREST: 0x2701; readonly NEAREST_MIPMAP_LINEAR: 0x2702; readonly LINEAR_MIPMAP_LINEAR: 0x2703; readonly TEXTURE_MAG_FILTER: 0x2800; readonly TEXTURE_MIN_FILTER: 0x2801; readonly TEXTURE_WRAP_S: 0x2802; readonly TEXTURE_WRAP_T: 0x2803; readonly TEXTURE_2D: 0x0DE1; readonly TEXTURE: 0x1702; readonly TEXTURE_CUBE_MAP: 0x8513; readonly TEXTURE_BINDING_CUBE_MAP: 0x8514; readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515; readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516; readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517; readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518; readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519; readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A; readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C; readonly TEXTURE0: 0x84C0; readonly TEXTURE1: 0x84C1; readonly TEXTURE2: 0x84C2; readonly TEXTURE3: 0x84C3; readonly TEXTURE4: 0x84C4; readonly TEXTURE5: 0x84C5; readonly TEXTURE6: 0x84C6; readonly TEXTURE7: 0x84C7; readonly TEXTURE8: 0x84C8; readonly TEXTURE9: 0x84C9; readonly TEXTURE10: 0x84CA; readonly TEXTURE11: 0x84CB; readonly TEXTURE12: 0x84CC; readonly TEXTURE13: 0x84CD; readonly TEXTURE14: 0x84CE; readonly TEXTURE15: 0x84CF; readonly TEXTURE16: 0x84D0; readonly TEXTURE17: 0x84D1; readonly TEXTURE18: 0x84D2; readonly TEXTURE19: 0x84D3; readonly TEXTURE20: 0x84D4; readonly TEXTURE21: 0x84D5; readonly TEXTURE22: 0x84D6; readonly TEXTURE23: 0x84D7; readonly TEXTURE24: 0x84D8; readonly TEXTURE25: 0x84D9; readonly TEXTURE26: 0x84DA; readonly TEXTURE27: 0x84DB; readonly TEXTURE28: 0x84DC; readonly TEXTURE29: 0x84DD; readonly TEXTURE30: 0x84DE; readonly TEXTURE31: 0x84DF; readonly ACTIVE_TEXTURE: 0x84E0; readonly REPEAT: 0x2901; readonly CLAMP_TO_EDGE: 0x812F; readonly MIRRORED_REPEAT: 0x8370; readonly FLOAT_VEC2: 0x8B50; readonly FLOAT_VEC3: 0x8B51; readonly FLOAT_VEC4: 0x8B52; readonly INT_VEC2: 0x8B53; readonly INT_VEC3: 0x8B54; readonly INT_VEC4: 0x8B55; readonly BOOL: 0x8B56; readonly BOOL_VEC2: 0x8B57; readonly BOOL_VEC3: 0x8B58; readonly BOOL_VEC4: 0x8B59; readonly FLOAT_MAT2: 0x8B5A; readonly FLOAT_MAT3: 0x8B5B; readonly FLOAT_MAT4: 0x8B5C; readonly SAMPLER_2D: 0x8B5E; readonly SAMPLER_CUBE: 0x8B60; readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622; readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623; readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624; readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625; readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A; readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645; readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F; readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A; readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B; readonly COMPILE_STATUS: 0x8B81; readonly LOW_FLOAT: 0x8DF0; readonly MEDIUM_FLOAT: 0x8DF1; readonly HIGH_FLOAT: 0x8DF2; readonly LOW_INT: 0x8DF3; readonly MEDIUM_INT: 0x8DF4; readonly HIGH_INT: 0x8DF5; readonly FRAMEBUFFER: 0x8D40; readonly RENDERBUFFER: 0x8D41; readonly RGBA4: 0x8056; readonly RGB5_A1: 0x8057; readonly RGB565: 0x8D62; readonly DEPTH_COMPONENT16: 0x81A5; readonly STENCIL_INDEX8: 0x8D48; readonly DEPTH_STENCIL: 0x84F9; readonly RENDERBUFFER_WIDTH: 0x8D42; readonly RENDERBUFFER_HEIGHT: 0x8D43; readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44; readonly RENDERBUFFER_RED_SIZE: 0x8D50; readonly RENDERBUFFER_GREEN_SIZE: 0x8D51; readonly RENDERBUFFER_BLUE_SIZE: 0x8D52; readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53; readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54; readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55; readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0; readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2; readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3; readonly COLOR_ATTACHMENT0: 0x8CE0; readonly DEPTH_ATTACHMENT: 0x8D00; readonly STENCIL_ATTACHMENT: 0x8D20; readonly DEPTH_STENCIL_ATTACHMENT: 0x821A; readonly NONE: 0; readonly FRAMEBUFFER_COMPLETE: 0x8CD5; readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6; readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7; readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9; readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD; readonly FRAMEBUFFER_BINDING: 0x8CA6; readonly RENDERBUFFER_BINDING: 0x8CA7; readonly MAX_RENDERBUFFER_SIZE: 0x84E8; readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506; readonly UNPACK_FLIP_Y_WEBGL: 0x9240; readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241; readonly CONTEXT_LOST_WEBGL: 0x9242; readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243; readonly BROWSER_DEFAULT_WEBGL: 0x9244; } interface WebGLSampler { } declare var WebGLSampler: { prototype: WebGLSampler; new(): WebGLSampler; isInstance: IsInstance; }; interface WebGLShader { } declare var WebGLShader: { prototype: WebGLShader; new(): WebGLShader; isInstance: IsInstance; }; interface WebGLShaderPrecisionFormat { readonly precision: GLint; readonly rangeMax: GLint; readonly rangeMin: GLint; } declare var WebGLShaderPrecisionFormat: { prototype: WebGLShaderPrecisionFormat; new(): WebGLShaderPrecisionFormat; isInstance: IsInstance; }; interface WebGLSync { } declare var WebGLSync: { prototype: WebGLSync; new(): WebGLSync; isInstance: IsInstance; }; interface WebGLTexture { } declare var WebGLTexture: { prototype: WebGLTexture; new(): WebGLTexture; isInstance: IsInstance; }; interface WebGLTransformFeedback { } declare var WebGLTransformFeedback: { prototype: WebGLTransformFeedback; new(): WebGLTransformFeedback; isInstance: IsInstance; }; interface WebGLUniformLocation { } declare var WebGLUniformLocation: { prototype: WebGLUniformLocation; new(): WebGLUniformLocation; isInstance: IsInstance; }; interface WebGLVertexArrayObject { } declare var WebGLVertexArrayObject: { prototype: WebGLVertexArrayObject; new(): WebGLVertexArrayObject; isInstance: IsInstance; }; interface WebSocketEventMap { "close": Event; "error": Event; "message": Event; "open": Event; } interface WebSocket extends EventTarget { binaryType: BinaryType; readonly bufferedAmount: number; readonly extensions: string; onclose: ((this: WebSocket, ev: Event) => any) | null; onerror: ((this: WebSocket, ev: Event) => any) | null; onmessage: ((this: WebSocket, ev: Event) => any) | null; onopen: ((this: WebSocket, ev: Event) => any) | null; readonly protocol: string; readonly readyState: number; readonly url: string; close(code?: number, reason?: string): void; send(data: string): void; send(data: Blob): void; send(data: ArrayBuffer): void; send(data: ArrayBufferView): void; readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSING: 2; readonly CLOSED: 3; addEventListener(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var WebSocket: { prototype: WebSocket; new(url: string, protocols?: string | string[]): WebSocket; readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSING: 2; readonly CLOSED: 3; isInstance: IsInstance; createServerWebSocket(url: string, protocols: string[], transportProvider: nsITransportProvider, negotiatedExtensions: string): WebSocket; }; /** Available only in secure contexts. */ interface WebTransport { readonly closed: Promise; readonly congestionControl: WebTransportCongestionControl; readonly datagrams: WebTransportDatagramDuplexStream; readonly incomingBidirectionalStreams: ReadableStream; readonly incomingUnidirectionalStreams: ReadableStream; readonly ready: Promise; readonly reliability: WebTransportReliabilityMode; close(closeInfo?: WebTransportCloseInfo): void; createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise; createUnidirectionalStream(options?: WebTransportSendStreamOptions): Promise; getStats(): Promise; } declare var WebTransport: { prototype: WebTransport; new(url: string | URL, options?: WebTransportOptions): WebTransport; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface WebTransportBidirectionalStream { readonly readable: WebTransportReceiveStream; readonly writable: WebTransportSendStream; } declare var WebTransportBidirectionalStream: { prototype: WebTransportBidirectionalStream; new(): WebTransportBidirectionalStream; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface WebTransportDatagramDuplexStream { incomingHighWaterMark: number; incomingMaxAge: number; readonly maxDatagramSize: number; outgoingHighWaterMark: number; outgoingMaxAge: number; readonly readable: ReadableStream; readonly writable: WritableStream; } declare var WebTransportDatagramDuplexStream: { prototype: WebTransportDatagramDuplexStream; new(): WebTransportDatagramDuplexStream; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface WebTransportError extends DOMException { readonly source: WebTransportErrorSource; readonly streamErrorCode: number | null; } declare var WebTransportError: { prototype: WebTransportError; new(init?: WebTransportErrorInit): WebTransportError; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface WebTransportReceiveStream extends ReadableStream { getStats(): Promise; } declare var WebTransportReceiveStream: { prototype: WebTransportReceiveStream; new(): WebTransportReceiveStream; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface WebTransportSendStream extends WritableStream { sendOrder: number | null; getStats(): Promise; } declare var WebTransportSendStream: { prototype: WebTransportSendStream; new(): WebTransportSendStream; isInstance: IsInstance; }; 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; readonly DOM_DELTA_PIXEL: 0x00; readonly DOM_DELTA_LINE: 0x01; readonly DOM_DELTA_PAGE: 0x02; } declare var WheelEvent: { prototype: WheelEvent; new(type: string, eventInitDict?: WheelEventInit): WheelEvent; readonly DOM_DELTA_PIXEL: 0x00; readonly DOM_DELTA_LINE: 0x01; readonly DOM_DELTA_PAGE: 0x02; isInstance: IsInstance; }; interface WindowEventMap extends GlobalEventHandlersEventMap, OnErrorEventHandlerForWindowEventMap, TouchEventHandlersEventMap, WindowEventHandlersEventMap { "devicelight": Event; "devicemotion": Event; "deviceorientation": Event; "deviceorientationabsolute": Event; "orientationchange": Event; "userproximity": Event; "vrdisplayactivate": Event; "vrdisplayconnect": Event; "vrdisplaydeactivate": Event; "vrdisplaydisconnect": Event; "vrdisplaypresentchange": Event; } interface Window extends EventTarget, AnimationFrameProvider, GlobalCrypto, GlobalEventHandlers, OnErrorEventHandlerForWindow, SpeechSynthesisGetter, TouchEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage { readonly Glean: GleanImpl; readonly GleanPings: GleanPingsImpl; readonly InstallTrigger: any; browserDOMWindow: nsIBrowserDOMWindow | null; readonly browsingContext: BrowsingContext; readonly clientInformation: Navigator; readonly clientPrincipal: Principal | null; readonly closed: boolean; readonly content: any; readonly controllers: XULControllers; readonly cookieStore: CookieStore; readonly customElements: CustomElementRegistry; readonly desktopToDeviceScale: number; readonly devicePixelRatio: number; readonly docShell: nsIDocShell | null; readonly document: Document | null; /** Available only in secure contexts. */ readonly documentPictureInPicture: DocumentPictureInPicture; readonly event: Event | undefined; readonly external: External; readonly frameElement: Element | null; readonly frames: WindowProxy; fullScreen: boolean; readonly history: History; readonly innerHeight: number; readonly innerWidth: number; readonly intlUtils: IntlUtils; readonly isChromeWindow: boolean; readonly isCloaked: boolean; readonly isFullyOccluded: boolean; readonly isInFullScreenTransition: boolean; readonly length: number; readonly location: Location; readonly locationbar: BarProp; readonly menubar: BarProp; readonly messageManager: ChromeMessageBroadcaster; readonly mozInnerScreenX: number; readonly mozInnerScreenY: number; name: string; readonly navigation: Navigation; readonly navigator: Navigator; ondevicelight: ((this: Window, ev: Event) => any) | null; ondevicemotion: ((this: Window, ev: Event) => any) | null; ondeviceorientation: ((this: Window, ev: Event) => any) | null; ondeviceorientationabsolute: ((this: Window, ev: Event) => any) | null; onorientationchange: ((this: Window, ev: Event) => any) | null; onuserproximity: ((this: Window, ev: Event) => any) | null; onvrdisplayactivate: ((this: Window, ev: Event) => any) | null; onvrdisplayconnect: ((this: Window, ev: Event) => any) | null; onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null; onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null; onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null; opener: any; readonly orientation: number; readonly originAgentCluster: boolean; readonly outerHeight: number; readonly outerWidth: number; readonly pageXOffset: number; readonly pageYOffset: number; readonly paintWorklet: Worklet; readonly parent: WindowProxy | null; readonly performance: Performance | null; readonly personalbar: BarProp; readonly realFrameElement: Element | null; readonly screen: Screen; readonly screenEdgeSlopX: number; readonly screenEdgeSlopY: number; readonly screenLeft: number; readonly screenTop: number; readonly screenX: number; readonly screenY: number; readonly scrollMaxX: number; readonly scrollMaxY: number; readonly scrollMinX: number; readonly scrollMinY: number; readonly scrollX: number; readonly scrollY: number; readonly scrollbars: BarProp; readonly self: WindowProxy; status: string; readonly statusbar: BarProp; readonly toolbar: BarProp; readonly top: WindowProxy | null; readonly visualViewport: VisualViewport; readonly window: WindowProxy; readonly windowGlobalChild: WindowGlobalChild | null; readonly windowRoot: WindowRoot | null; readonly windowState: number; readonly windowUtils: nsIDOMWindowUtils; alert(): void; alert(message: string): void; blur(): void; cancelIdleCallback(handle: number): void; captureEvents(): void; close(): void; confirm(message?: string): boolean; dump(str: string): void; find(str?: string, caseSensitive?: boolean, backwards?: boolean, wrapAround?: boolean, wholeWord?: boolean, searchInFrames?: boolean, showDialog?: boolean): boolean; focus(): void; getAttention(): void; getAttentionWithCycleCount(aCycleCount: number): void; getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties | null; getDefaultComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration | null; getGroupMessageManager(aGroup: string): ChromeMessageBroadcaster; getInterface(iid: any): any; getSelection(): Selection | null; getWebExposedLocales(): string[]; getWorkspaceID(): string; matchMedia(query: string): MediaQueryList | null; maximize(): void; minimize(): void; moveBy(x: number, y: number): void; moveResize(x: number, y: number, w: number, h: number): void; moveTo(x: number, y: number): void; moveToWorkspace(workspaceID: string): void; mozScrollSnap(): void; notifyDefaultButtonLoaded(defaultButton: Element): void; open(url?: string | URL, target?: string, features?: string): WindowProxy | null; openDialog(url?: string, name?: string, options?: string, ...extraArguments: any[]): WindowProxy | null; postMessage(message: any, targetOrigin: string, transfer?: any[]): void; postMessage(message: any, options?: WindowPostMessageOptions): void; print(): void; printPreview(settings?: nsIPrintSettings | null, listener?: nsIWebProgressListener | null, docShellToPreviewInto?: nsIDocShell | null): WindowProxy | null; promiseDocumentFlushed(callback: PromiseDocumentFlushedCallback): Promise; prompt(message?: string, _default?: string): string | null; releaseEvents(): void; requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number; resizeBy(x: number, y: number): void; resizeTo(x: number, y: number): void; restore(): void; scroll(x: number, y: number): void; scroll(options?: ScrollToOptions): void; scrollBy(x: number, y: number): void; scrollBy(options?: ScrollToOptions): void; scrollByLines(numLines: number, options?: ScrollOptions): void; scrollByPages(numPages: number, options?: ScrollOptions): void; scrollTo(x: number, y: number): void; scrollTo(options?: ScrollToOptions): void; setCursor(cursor: string): void; setResizable(resizable: boolean): void; setScrollMarks(marks: number[], onHorizontalScrollbar?: boolean): void; shouldReportForServiceWorkerScope(aScope: string): boolean; sizeToContent(constraints?: SizeToContentConstraints): void; stop(): void; synthesizeMouseEvent(type: string, offsetX: number, offsetY: number, mouseEventData?: SynthesizeMouseEventData, options?: SynthesizeMouseEventOptions, callback?: VoidFunction): boolean; synthesizeTouchEvent(type: string, touches: SynthesizeTouchEventData[], modifiers?: number, options?: SynthesizeTouchEventOptions, callback?: VoidFunction): boolean; updateCommands(action: string): void; readonly STATE_MAXIMIZED: 1; readonly STATE_MINIMIZED: 2; readonly STATE_NORMAL: 3; readonly STATE_FULLSCREEN: 4; addEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; [name: string]: any; } declare var Window: { prototype: Window; new(): Window; readonly STATE_MAXIMIZED: 1; readonly STATE_MINIMIZED: 2; readonly STATE_NORMAL: 3; readonly STATE_FULLSCREEN: 4; isInstance: IsInstance; }; interface WindowContext { allowJavascript: boolean; readonly browsingContext: BrowsingContext | null; readonly hasActiveCloseWatcher: boolean; readonly hasBeforeUnload: boolean; readonly innerWindowId: number; readonly isInBFCache: boolean; readonly isInProcess: boolean; readonly isLocalIP: boolean; readonly overriddenFingerprintingSettings: nsIRFPTargetSetIDL | null; readonly parentWindowContext: WindowContext | null; readonly shouldResistFingerprinting: boolean; readonly topWindowContext: WindowContext; readonly usingStorageAccess: boolean; readonly windowGlobalChild: WindowGlobalChild | null; processCloseRequest(): void; } declare var WindowContext: { prototype: WindowContext; new(): WindowContext; isInstance: IsInstance; }; interface WindowEventHandlersEventMap { "afterprint": Event; "beforeprint": Event; "beforeunload": Event; "gamepadconnected": Event; "gamepaddisconnected": Event; "hashchange": Event; "languagechange": Event; "message": Event; "messageerror": Event; "offline": Event; "online": Event; "pagehide": Event; "pagereveal": Event; "pageshow": Event; "popstate": Event; "rejectionhandled": Event; "storage": Event; "unhandledrejection": Event; "unload": Event; } interface WindowEventHandlers { onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null; onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null; onbeforeunload: ((this: WindowEventHandlers, ev: Event) => any) | null; ongamepadconnected: ((this: WindowEventHandlers, ev: Event) => any) | null; ongamepaddisconnected: ((this: WindowEventHandlers, ev: Event) => any) | null; onhashchange: ((this: WindowEventHandlers, ev: Event) => any) | null; onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null; onmessage: ((this: WindowEventHandlers, ev: Event) => any) | null; onmessageerror: ((this: WindowEventHandlers, ev: Event) => any) | null; onoffline: ((this: WindowEventHandlers, ev: Event) => any) | null; ononline: ((this: WindowEventHandlers, ev: Event) => any) | null; onpagehide: ((this: WindowEventHandlers, ev: Event) => any) | null; onpagereveal: ((this: WindowEventHandlers, ev: Event) => any) | null; onpageshow: ((this: WindowEventHandlers, ev: Event) => any) | null; onpopstate: ((this: WindowEventHandlers, ev: Event) => any) | null; onrejectionhandled: ((this: WindowEventHandlers, ev: Event) => any) | null; onstorage: ((this: WindowEventHandlers, ev: Event) => any) | null; onunhandledrejection: ((this: WindowEventHandlers, ev: Event) => any) | null; onunload: ((this: WindowEventHandlers, ev: Event) => any) | null; addEventListener(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } interface WindowGlobalChild { readonly browsingContext: BrowsingContext; readonly contentParentId: number; readonly contentWindow: WindowProxy | null; readonly innerWindowId: number; readonly isClosed: boolean; readonly isCurrentGlobal: boolean; readonly isInProcess: boolean; readonly isProcessRoot: boolean; readonly outerWindowId: number; readonly parentActor: WindowGlobalParent | null; readonly sameOriginWithTop: boolean; readonly windowContext: WindowContext; findBrowsingContextWithName(name: string): BrowsingContext | null; getActor(name: string): JSWindowActorChild; getExistingActor(name: string): JSWindowActorChild | null; } declare var WindowGlobalChild: { prototype: WindowGlobalChild; new(): WindowGlobalChild; isInstance: IsInstance; getByInnerWindowId(innerWIndowId: number): WindowGlobalChild | null; }; interface WindowGlobalParent extends WindowContext { readonly childActor: WindowGlobalChild | null; readonly contentBlockingAllowListPrincipal: Principal | null; readonly contentBlockingEvents: number; readonly contentBlockingLog: string; readonly contentParentId: number; readonly cookieJarSettings: nsICookieJarSettings | null; readonly documentPrincipal: Principal; readonly documentStoragePrincipal: Principal; readonly documentTitle: string; readonly documentURI: URI | null; readonly domProcess: nsIDOMProcessParent | null; fullscreen: boolean; readonly isActiveInTab: boolean; readonly isClosed: boolean; readonly isCurrentGlobal: boolean; readonly isInitialDocument: boolean; readonly isProcessRoot: boolean; readonly isUncommittedInitialDocument: boolean; readonly osPid: number; readonly outerWindowId: number; readonly rootFrameLoader: FrameLoader | null; drawSnapshot(rect: DOMRect | null, scale: number, backgroundColor: string, resetScrollPosition?: boolean): Promise; getActor(name: string): JSWindowActorParent; getExistingActor(name: string): JSWindowActorParent | null; hasActivePeerConnections(): boolean; permitUnload(action?: PermitUnloadAction, timeout?: number): Promise; } declare var WindowGlobalParent: { prototype: WindowGlobalParent; new(): WindowGlobalParent; isInstance: IsInstance; getByInnerWindowId(innerWindowId: number): WindowGlobalParent | null; }; interface WindowLocalStorage { readonly localStorage: Storage | null; } interface WindowOrWorkerGlobalScope { readonly caches: CacheStorage; readonly crossOriginIsolated: boolean; readonly indexedDB: IDBFactory | null; readonly isSecureContext: boolean; readonly origin: string; readonly scheduler: Scheduler; readonly trustedTypes: TrustedTypePolicyFactory; atob(atob: string): string; btoa(btoa: string): string; clearInterval(handle?: number): void; clearTimeout(handle?: number): void; createImageBitmap(aImage: ImageBitmapSource, aOptions?: ImageBitmapOptions): Promise; createImageBitmap(aImage: ImageBitmapSource, aSx: number, aSy: number, aSw: number, aSh: number, aOptions?: ImageBitmapOptions): Promise; fetch(input: RequestInfo | URL, init?: RequestInit): Promise; isRFPTargetActive(aTargetName: string): boolean; queueMicrotask(callback: VoidFunction): void; reportError(e: any): void; setInterval(handler: TimerHandler, timeout?: number, ...unused: any[]): number; setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number; structuredClone(value: any, options?: StructuredSerializeOptions): any; } interface WindowRoot extends EventTarget { } declare var WindowRoot: { prototype: WindowRoot; new(): WindowRoot; isInstance: IsInstance; }; interface WindowSessionStorage { readonly sessionStorage: Storage | null; } interface WorkerEventMap extends AbstractWorkerEventMap { "message": Event; "messageerror": Event; } interface Worker extends EventTarget, AbstractWorker { onmessage: ((this: Worker, ev: Event) => any) | null; onmessageerror: ((this: Worker, ev: Event) => any) | null; postMessage(message: any, transfer: any[]): void; postMessage(message: any, aOptions?: StructuredSerializeOptions): void; terminate(): void; addEventListener(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var Worker: { prototype: Worker; new(scriptURL: TrustedScriptURL | string, options?: WorkerOptions): Worker; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface Worklet { addModule(moduleURL: string | URL, options?: WorkletOptions): Promise; } declare var Worklet: { prototype: Worklet; new(): Worklet; isInstance: IsInstance; }; interface WrapperCachedNonISupportsTestInterface { } declare var WrapperCachedNonISupportsTestInterface: { prototype: WrapperCachedNonISupportsTestInterface; new(): WrapperCachedNonISupportsTestInterface; isInstance: IsInstance; }; interface WritableStream { readonly locked: boolean; abort(reason?: any): Promise; close(): Promise; getWriter(): WritableStreamDefaultWriter; } declare var WritableStream: { prototype: WritableStream; new(underlyingSink?: any, strategy?: QueuingStrategy): WritableStream; isInstance: IsInstance; }; interface WritableStreamDefaultController { readonly signal: AbortSignal; error(e?: any): void; } declare var WritableStreamDefaultController: { prototype: WritableStreamDefaultController; new(): WritableStreamDefaultController; isInstance: IsInstance; }; interface WritableStreamDefaultWriter { readonly closed: Promise; readonly desiredSize: number | null; readonly ready: Promise; abort(reason?: any): Promise; close(): Promise; releaseLock(): void; write(chunk?: any): Promise; } declare var WritableStreamDefaultWriter: { prototype: WritableStreamDefaultWriter; new(stream: WritableStream): WritableStreamDefaultWriter; isInstance: IsInstance; }; interface XMLDocument extends Document { addEventListener(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XMLDocument: { prototype: XMLDocument; new(): XMLDocument; isInstance: IsInstance; }; interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap { "readystatechange": Event; } interface XMLHttpRequest extends XMLHttpRequestEventTarget { readonly channel: MozChannel | null; readonly errorCode: number; readonly mozAnon: boolean; mozBackgroundRequest: boolean; readonly mozSystem: boolean; onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null; readonly readyState: number; readonly response: any; readonly responseText: string | null; responseType: XMLHttpRequestResponseType; readonly responseURL: string; readonly responseXML: Document | null; readonly status: number; readonly statusText: string; timeout: number; readonly upload: XMLHttpRequestUpload; withCredentials: boolean; abort(): void; getAllResponseHeaders(): string; getInterface(iid: any): any; getResponseHeader(header: string): string | null; open(method: string, url: string): void; open(method: string, url: string, async: boolean, user?: string | null, password?: string | null): void; overrideMimeType(mime: string): void; send(body?: Document | XMLHttpRequestBodyInit | null): void; sendInputStream(body: InputStream): void; setOriginAttributes(originAttributes?: OriginAttributesDictionary): void; setRequestHeader(header: string, value: string): void; readonly UNSENT: 0; readonly OPENED: 1; readonly HEADERS_RECEIVED: 2; readonly LOADING: 3; readonly DONE: 4; addEventListener(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XMLHttpRequest, ev: XMLHttpRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XMLHttpRequest: { prototype: XMLHttpRequest; new(params?: MozXMLHttpRequestParameters): XMLHttpRequest; new(ignored: string): XMLHttpRequest; readonly UNSENT: 0; readonly OPENED: 1; readonly HEADERS_RECEIVED: 2; readonly LOADING: 3; readonly DONE: 4; isInstance: IsInstance; }; interface XMLHttpRequestEventTargetEventMap { "abort": Event; "error": Event; "load": Event; "loadend": Event; "loadstart": Event; "progress": Event; "timeout": Event; } interface XMLHttpRequestEventTarget extends EventTarget { onabort: ((this: XMLHttpRequestEventTarget, ev: Event) => any) | null; onerror: ((this: XMLHttpRequestEventTarget, ev: Event) => any) | null; onload: ((this: XMLHttpRequestEventTarget, ev: Event) => any) | null; onloadend: ((this: XMLHttpRequestEventTarget, ev: Event) => any) | null; onloadstart: ((this: XMLHttpRequestEventTarget, ev: Event) => any) | null; onprogress: ((this: XMLHttpRequestEventTarget, ev: Event) => any) | null; ontimeout: ((this: XMLHttpRequestEventTarget, ev: Event) => any) | null; addEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XMLHttpRequestEventTarget, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XMLHttpRequestEventTarget: { prototype: XMLHttpRequestEventTarget; new(): XMLHttpRequestEventTarget; isInstance: IsInstance; }; interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget { addEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XMLHttpRequestUpload: { prototype: XMLHttpRequestUpload; new(): XMLHttpRequestUpload; isInstance: IsInstance; }; interface XMLSerializer { serializeToStream(root: Node, stream: OutputStream, charset: string | null): void; serializeToString(root: Node): string; } declare var XMLSerializer: { prototype: XMLSerializer; new(): XMLSerializer; isInstance: IsInstance; }; interface XPathEvaluator extends XPathEvaluatorMixin { } declare var XPathEvaluator: { prototype: XPathEvaluator; new(): XPathEvaluator; isInstance: IsInstance; }; interface XPathEvaluatorMixin { createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression; createNSResolver(nodeResolver: Node): Node; evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: any): XPathResult; } interface XPathExpression { evaluate(contextNode: Node, type?: number, result?: any): XPathResult; evaluateWithContext(contextNode: Node, contextPosition: number, contextSize: number, type?: number, result?: any): XPathResult; } declare var XPathExpression: { prototype: XPathExpression; new(): XPathExpression; isInstance: IsInstance; }; interface XPathResult { readonly booleanValue: boolean; readonly invalidIteratorState: boolean; readonly numberValue: number; readonly resultType: number; readonly singleNodeValue: Node | null; readonly snapshotLength: number; readonly stringValue: string; iterateNext(): Node | null; snapshotItem(index: number): Node | null; readonly ANY_TYPE: 0; readonly NUMBER_TYPE: 1; readonly STRING_TYPE: 2; readonly BOOLEAN_TYPE: 3; readonly UNORDERED_NODE_ITERATOR_TYPE: 4; readonly ORDERED_NODE_ITERATOR_TYPE: 5; readonly UNORDERED_NODE_SNAPSHOT_TYPE: 6; readonly ORDERED_NODE_SNAPSHOT_TYPE: 7; readonly ANY_UNORDERED_NODE_TYPE: 8; readonly FIRST_ORDERED_NODE_TYPE: 9; } declare var XPathResult: { prototype: XPathResult; new(): XPathResult; readonly ANY_TYPE: 0; readonly NUMBER_TYPE: 1; readonly STRING_TYPE: 2; readonly BOOLEAN_TYPE: 3; readonly UNORDERED_NODE_ITERATOR_TYPE: 4; readonly ORDERED_NODE_ITERATOR_TYPE: 5; readonly UNORDERED_NODE_SNAPSHOT_TYPE: 6; readonly ORDERED_NODE_SNAPSHOT_TYPE: 7; readonly ANY_UNORDERED_NODE_TYPE: 8; readonly FIRST_ORDERED_NODE_TYPE: 9; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRBoundedReferenceSpace extends XRReferenceSpace { readonly boundsGeometry: DOMPointReadOnly[]; addEventListener(type: K, listener: (this: XRBoundedReferenceSpace, ev: XRReferenceSpaceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XRBoundedReferenceSpace, ev: XRReferenceSpaceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XRBoundedReferenceSpace: { prototype: XRBoundedReferenceSpace; new(): XRBoundedReferenceSpace; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRFrame { readonly session: XRSession; getPose(space: XRSpace, baseSpace: XRSpace): XRPose | null; getViewerPose(referenceSpace: XRReferenceSpace): XRViewerPose | null; } declare var XRFrame: { prototype: XRFrame; new(): XRFrame; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRInputSource { readonly gamepad: Gamepad | null; readonly gripSpace: XRSpace | null; readonly handedness: XRHandedness; readonly profiles: string[]; readonly targetRayMode: XRTargetRayMode; readonly targetRaySpace: XRSpace; } declare var XRInputSource: { prototype: XRInputSource; new(): XRInputSource; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRInputSourceArray { readonly length: number; forEach(callbackfn: (value: XRInputSource, key: number, parent: XRInputSourceArray) => void, thisArg?: any): void; [index: number]: XRInputSource; } declare var XRInputSourceArray: { prototype: XRInputSourceArray; new(): XRInputSourceArray; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRInputSourceEvent extends Event { readonly frame: XRFrame; readonly inputSource: XRInputSource; } declare var XRInputSourceEvent: { prototype: XRInputSourceEvent; new(type: string, eventInitDict: XRInputSourceEventInit): XRInputSourceEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRInputSourcesChangeEvent extends Event { readonly added: XRInputSource[]; readonly removed: XRInputSource[]; readonly session: XRSession; } declare var XRInputSourcesChangeEvent: { prototype: XRInputSourcesChangeEvent; new(type: string, eventInitDict: XRInputSourcesChangeEventInit): XRInputSourcesChangeEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRPose { readonly emulatedPosition: boolean; readonly transform: XRRigidTransform; } declare var XRPose: { prototype: XRPose; new(): XRPose; isInstance: IsInstance; }; interface XRReferenceSpaceEventMap { "reset": Event; } /** Available only in secure contexts. */ interface XRReferenceSpace extends XRSpace { onreset: ((this: XRReferenceSpace, ev: Event) => any) | null; getOffsetReferenceSpace(originOffset: XRRigidTransform): XRReferenceSpace; addEventListener(type: K, listener: (this: XRReferenceSpace, ev: XRReferenceSpaceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XRReferenceSpace, ev: XRReferenceSpaceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XRReferenceSpace: { prototype: XRReferenceSpace; new(): XRReferenceSpace; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRReferenceSpaceEvent extends Event { readonly referenceSpace: XRReferenceSpace; readonly transform: XRRigidTransform | null; } declare var XRReferenceSpaceEvent: { prototype: XRReferenceSpaceEvent; new(type: string, eventInitDict: XRReferenceSpaceEventInit): XRReferenceSpaceEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRRenderState { readonly baseLayer: XRWebGLLayer | null; readonly depthFar: number; readonly depthNear: number; readonly inlineVerticalFieldOfView: number | null; } declare var XRRenderState: { prototype: XRRenderState; new(): XRRenderState; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRRigidTransform { readonly inverse: XRRigidTransform; readonly matrix: Float32Array; readonly orientation: DOMPointReadOnly; readonly position: DOMPointReadOnly; } declare var XRRigidTransform: { prototype: XRRigidTransform; new(position?: DOMPointInit, orientation?: DOMPointInit): XRRigidTransform; isInstance: IsInstance; }; interface XRSessionEventMap { "end": Event; "inputsourceschange": Event; "select": Event; "selectend": Event; "selectstart": Event; "squeeze": Event; "squeezeend": Event; "squeezestart": Event; "visibilitychange": Event; } /** Available only in secure contexts. */ interface XRSession extends EventTarget { readonly frameRate: number | null; readonly inputSources: XRInputSourceArray; onend: ((this: XRSession, ev: Event) => any) | null; oninputsourceschange: ((this: XRSession, ev: Event) => any) | null; onselect: ((this: XRSession, ev: Event) => any) | null; onselectend: ((this: XRSession, ev: Event) => any) | null; onselectstart: ((this: XRSession, ev: Event) => any) | null; onsqueeze: ((this: XRSession, ev: Event) => any) | null; onsqueezeend: ((this: XRSession, ev: Event) => any) | null; onsqueezestart: ((this: XRSession, ev: Event) => any) | null; onvisibilitychange: ((this: XRSession, ev: Event) => any) | null; readonly renderState: XRRenderState; readonly supportedFrameRates: Float32Array | null; readonly visibilityState: XRVisibilityState; cancelAnimationFrame(handle: number): void; end(): Promise; requestAnimationFrame(callback: XRFrameRequestCallback): number; requestReferenceSpace(type: XRReferenceSpaceType): Promise; updateRenderState(state?: XRRenderStateInit): void; updateTargetFrameRate(rate: number): Promise; addEventListener(type: K, listener: (this: XRSession, ev: XRSessionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XRSession, ev: XRSessionEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XRSession: { prototype: XRSession; new(): XRSession; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRSessionEvent extends Event { readonly session: XRSession; } declare var XRSessionEvent: { prototype: XRSessionEvent; new(type: string, eventInitDict: XRSessionEventInit): XRSessionEvent; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRSpace extends EventTarget { } declare var XRSpace: { prototype: XRSpace; new(): XRSpace; isInstance: IsInstance; }; interface XRSystemEventMap { "devicechange": Event; } /** Available only in secure contexts. */ interface XRSystem extends EventTarget { ondevicechange: ((this: XRSystem, ev: Event) => any) | null; isSessionSupported(mode: XRSessionMode): Promise; requestSession(mode: XRSessionMode, options?: XRSessionInit): Promise; addEventListener(type: K, listener: (this: XRSystem, ev: XRSystemEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XRSystem, ev: XRSystemEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XRSystem: { prototype: XRSystem; new(): XRSystem; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRView { readonly eye: XREye; readonly projectionMatrix: Float32Array; readonly transform: XRRigidTransform; } declare var XRView: { prototype: XRView; new(): XRView; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRViewerPose extends XRPose { readonly views: XRView[]; } declare var XRViewerPose: { prototype: XRViewerPose; new(): XRViewerPose; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRViewport { readonly height: number; readonly width: number; readonly x: number; readonly y: number; } declare var XRViewport: { prototype: XRViewport; new(): XRViewport; isInstance: IsInstance; }; /** Available only in secure contexts. */ interface XRWebGLLayer { readonly antialias: boolean; readonly framebuffer: WebGLFramebuffer | null; readonly framebufferHeight: number; readonly framebufferWidth: number; readonly ignoreDepthValues: boolean; getViewport(view: XRView): XRViewport | null; } declare var XRWebGLLayer: { prototype: XRWebGLLayer; new(session: XRSession, context: XRWebGLRenderingContext, layerInit?: XRWebGLLayerInit): XRWebGLLayer; isInstance: IsInstance; getNativeFramebufferScaleFactor(session: XRSession): number; }; interface XSLTProcessor { flags: number; clearParameters(): void; getParameter(namespaceURI: string | null, localName: string): XSLTParameterValue | null; importStylesheet(style: Node): void; removeParameter(namespaceURI: string | null, localName: string): void; reset(): void; setParameter(namespaceURI: string | null, localName: string, value: XSLTParameterValue): void; transformToDocument(source: Node): Document; transformToFragment(source: Node, output: Document): DocumentFragment; readonly DISABLE_ALL_LOADS: 1; } declare var XSLTProcessor: { prototype: XSLTProcessor; new(): XSLTProcessor; readonly DISABLE_ALL_LOADS: 1; isInstance: IsInstance; }; interface XULCommandEvent extends UIEvent { readonly altKey: boolean; readonly button: number; readonly ctrlKey: boolean; readonly inputSource: number; readonly metaKey: boolean; readonly shiftKey: boolean; readonly sourceEvent: Event | null; initCommandEvent(type: string, canBubble?: boolean, cancelable?: boolean, view?: Window | null, detail?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean, buttonArg?: number, sourceEvent?: Event | null, inputSource?: number): void; } declare var XULCommandEvent: { prototype: XULCommandEvent; new(): XULCommandEvent; isInstance: IsInstance; }; interface XULElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap, OnErrorEventHandlerForNodesEventMap, TouchEventHandlersEventMap { } interface XULElement extends Element, ElementCSSInlineStyle, ElementOffsetAttributes, GlobalEventHandlers, HTMLOrForeignElement, OnErrorEventHandlerForNodes, TouchEventHandlers { collapsed: boolean; contextMenu: string; readonly controllers: XULControllers; hidden: boolean; menu: string; observes: string; src: string; tooltip: string; tooltipText: string; click(): void; doCommand(): void; hasMenu(): boolean; openMenu(open: boolean): void; addEventListener(type: K, listener: (this: XULElement, ev: XULElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XULElement, ev: XULElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XULElement: { prototype: XULElement; new(): XULElement; isInstance: IsInstance; }; interface XULFrameElement extends XULElement, MozFrameLoaderOwner { readonly browserId: number; readonly contentDocument: Document | null; readonly contentWindow: WindowProxy | null; readonly docShell: nsIDocShell | null; openWindowInfo: nsIOpenWindowInfo | null; readonly webNavigation: nsIWebNavigation | null; addEventListener(type: K, listener: (this: XULFrameElement, ev: XULElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XULFrameElement, ev: XULElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XULFrameElement: { prototype: XULFrameElement; new(): XULFrameElement; isInstance: IsInstance; }; interface XULMenuElement extends XULElement { activeChild: Element | null; readonly openedWithKey: boolean; handleKeyPress(keyEvent: KeyboardEvent): boolean; addEventListener(type: K, listener: (this: XULMenuElement, ev: XULElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XULMenuElement, ev: XULElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XULMenuElement: { prototype: XULMenuElement; new(): XULMenuElement; isInstance: IsInstance; }; interface XULPopupElement extends XULElement { readonly anchorNode: Element | null; readonly isWaylandDragSource: boolean; readonly isWaylandPopup: boolean; label: string; position: string; readonly state: string; readonly triggerNode: Node | null; activateItem(itemElement: Element, options?: ActivateMenuItemOptions): void; getOuterScreenRect(): DOMRect; hidePopup(cancel?: boolean): void; moveTo(left: number, top: number): void; moveToAnchor(anchorElement?: Element | null, position?: string, x?: number, y?: number, attributesOverride?: boolean): void; openPopup(anchorElement?: Element | null, options?: StringOrOpenPopupOptions, x?: number, y?: number, isContextMenu?: boolean, attributesOverride?: boolean, triggerEvent?: Event | null): void; openPopupAtScreen(x?: number, y?: number, isContextMenu?: boolean, triggerEvent?: Event | null): void; openPopupAtScreenRect(position?: string, x?: number, y?: number, width?: number, height?: number, isContextMenu?: boolean, attributesOverride?: boolean, triggerEvent?: Event | null): void; setConstraintRect(rect: DOMRectReadOnly): void; sizeTo(width: number, height: number): void; addEventListener(type: K, listener: (this: XULPopupElement, ev: XULElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XULPopupElement, ev: XULElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XULPopupElement: { prototype: XULPopupElement; new(): XULPopupElement; isInstance: IsInstance; }; interface XULResizerElement extends XULElement { addEventListener(type: K, listener: (this: XULResizerElement, ev: XULElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XULResizerElement, ev: XULElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XULResizerElement: { prototype: XULResizerElement; new(): XULResizerElement; isInstance: IsInstance; }; interface XULTextElement extends XULElement { accessKey: string; disabled: boolean; value: string; addEventListener(type: K, listener: (this: XULTextElement, ev: XULElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XULTextElement, ev: XULElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XULTextElement: { prototype: XULTextElement; new(): XULTextElement; isInstance: IsInstance; }; interface XULTreeElement extends XULElement { readonly columns: TreeColumns | null; focused: boolean; readonly rowHeight: number; readonly rowWidth: number; readonly scrollbarMaxPosition: number; readonly scrollbarPosition: number; readonly treeBody: Element | null; view: MozTreeView | null; beginUpdateBatch(): void; clearStyleAndImageCaches(): void; endUpdateBatch(): void; ensureCellIsVisible(row: number, col: TreeColumn | null): void; ensureRowIsVisible(index: number): void; getCellAt(x: number, y: number): TreeCellInfo; getCoordsForCellItem(row: number, col: TreeColumn, element: string): DOMRect | null; getFirstVisibleRow(): number; getLastVisibleRow(): number; getPageLength(): number; getRowAt(x: number, y: number): number; invalidate(): void; invalidateCell(row: number, col: TreeColumn | null): void; invalidateColumn(col: TreeColumn | null): void; invalidateRange(startIndex: number, endIndex: number): void; invalidateRow(index: number): void; isCellCropped(row: number, col: TreeColumn | null): boolean; removeImageCacheEntry(row: number, col: TreeColumn): void; rowCountChanged(index: number, count: number): void; scrollByLines(numLines: number): void; scrollByPages(numPages: number): void; scrollToRow(index: number): void; addEventListener(type: K, listener: (this: XULTreeElement, ev: XULElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: XULTreeElement, ev: XULElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare var XULTreeElement: { prototype: XULTreeElement; new(): XULTreeElement; isInstance: IsInstance; }; declare namespace APZHitResultFlags { } declare namespace AddonManagerPermissions { function isHostPermitted(host: string): boolean; } declare namespace CSS { var highlights: HighlightRegistry; function Hz(value: number): CSSUnitValue; function Q(value: number): CSSUnitValue; function _in(value: number): CSSUnitValue; function cap(value: number): CSSUnitValue; function ch(value: number): CSSUnitValue; function cm(value: number): CSSUnitValue; function cqb(value: number): CSSUnitValue; function cqh(value: number): CSSUnitValue; function cqi(value: number): CSSUnitValue; function cqmax(value: number): CSSUnitValue; function cqmin(value: number): CSSUnitValue; function cqw(value: number): CSSUnitValue; function deg(value: number): CSSUnitValue; function dpcm(value: number): CSSUnitValue; function dpi(value: number): CSSUnitValue; function dppx(value: number): CSSUnitValue; function dvb(value: number): CSSUnitValue; function dvh(value: number): CSSUnitValue; function dvi(value: number): CSSUnitValue; function dvmax(value: number): CSSUnitValue; function dvmin(value: number): CSSUnitValue; function dvw(value: number): CSSUnitValue; function em(value: number): CSSUnitValue; function escape(ident: string): string; function ex(value: number): CSSUnitValue; function fr(value: number): CSSUnitValue; function grad(value: number): CSSUnitValue; function ic(value: number): CSSUnitValue; function kHz(value: number): CSSUnitValue; function lh(value: number): CSSUnitValue; function lvb(value: number): CSSUnitValue; function lvh(value: number): CSSUnitValue; function lvi(value: number): CSSUnitValue; function lvmax(value: number): CSSUnitValue; function lvmin(value: number): CSSUnitValue; function lvw(value: number): CSSUnitValue; function mm(value: number): CSSUnitValue; function ms(value: number): CSSUnitValue; function number(value: number): CSSUnitValue; function pc(value: number): CSSUnitValue; function percent(value: number): CSSUnitValue; function pt(value: number): CSSUnitValue; function px(value: number): CSSUnitValue; function rad(value: number): CSSUnitValue; function rcap(value: number): CSSUnitValue; function rch(value: number): CSSUnitValue; function registerProperty(definition: PropertyDefinition): void; function rem(value: number): CSSUnitValue; function rex(value: number): CSSUnitValue; function ric(value: number): CSSUnitValue; function rlh(value: number): CSSUnitValue; function s(value: number): CSSUnitValue; function supports(property: string, value: string): boolean; function supports(conditionText: string): boolean; function svb(value: number): CSSUnitValue; function svh(value: number): CSSUnitValue; function svi(value: number): CSSUnitValue; function svmax(value: number): CSSUnitValue; function svmin(value: number): CSSUnitValue; function svw(value: number): CSSUnitValue; function turn(value: number): CSSUnitValue; function vb(value: number): CSSUnitValue; function vh(value: number): CSSUnitValue; function vi(value: number): CSSUnitValue; function vmax(value: number): CSSUnitValue; function vmin(value: number): CSSUnitValue; function vw(value: number): CSSUnitValue; } declare namespace ChromeUtils { var aliveUtilityProcesses: number; var cpuTimeSinceProcessStart: number; var currentProcessMemoryUsage: number; var domProcessChild: nsIDOMProcessChild | null; var recentJSDevError: any; function CreateOriginAttributesFromOriginSuffix(suffix: string): OriginAttributesDictionary; function addProfilerMarker(name: string, options?: ProfilerMarkerOptions | number, data?: any): void; function androidMoveTaskToBack(): void; function base64URLDecode(string: string, options: Base64URLDecodeOptions): ArrayBuffer; function base64URLEncode(source: BufferSource, options: Base64URLEncodeOptions): string; function callFunctionAndLogException(targetGlobal: any, func: any): any; function clearBfcacheByPrincipal(principal: Principal): void; function clearMessagingLayerSecurityState(): void; function clearMessagingLayerSecurityStateByPrincipal(principal: Principal): void; function clearMessagingLayerSecurityStateBySite(schemelessSite: string, pattern?: OriginAttributesPatternDictionary): void; function clearRecentJSDevError(): void; function clearResourceCache(options?: ClearResourceCacheOptions): void; function collectPerfStats(): Promise; function collectScrollingData(): Promise; function compileScript(url: string, options?: CompileScriptOptionsDictionary): Promise; function consumeInteractionData(): Record; function createCSPFromHeader(header: string, selfURI: URI, loadingPrincipal: Principal): ContentSecurityPolicy; function createError(message: string, stack?: any): any; function createOriginAttributesFromOrigin(origin: string): OriginAttributesDictionary; function dateNow(): number; function defineESModuleGetters(aTarget: any, aModules: any, aOptions?: ImportESModuleOptionsDictionary): void; function defineLazyGetter(aTarget: any, aName: any, aLambda: any): void; function enableAllPerfStatsFeatures(): void; function encodeURIForSrcset(uri: string): string; function endWheelTransaction(window: WindowProxy): Promise; function ensureHeadlessContentProcess(aRemoteType: string): Promise; function ensureJSOracleStarted(): void; function fetchDecodedImage(uri: URI, channel: MozChannel): Promise; function fillNonDefaultOriginAttributes(originAttrs?: OriginAttributesDictionary): OriginAttributesDictionary; function generateQI(interfaces: any[]): MozQueryInterface; function getAllDOMProcesses(): nsIDOMProcessParent[]; function getAllPossibleUtilityActorNames(): string[]; function getBaseDomainFromPartitionKey(partitionKey: string): string; function getCachedJavaScriptSource(key: string, uri: string, hintCharset: string): any; function getCallerLocation(principal: Principal): any; function getClassName(obj: any, unwrap?: boolean): string; function getFormAutofillConfidences(elements: Element[]): FormAutofillConfidences[]; function getGMPContentDecryptionModuleInformation(): Promise; function getGlobalWindowCommandEnabled(name: string): boolean | null; function getLastOOMStackTrace(): string; function getLibcConstants(): LibcConstants; function getObjectNodeId(obj: any): NodeId; function getPartitionKeyFromURL(topLevelUrl: string, subresourceUrl: string, foreignContext?: boolean): string; function getPopupControlState(): PopupBlockerState; function getWMFContentDecryptionModuleInformation(): Promise; function getXPCOMErrorName(aErrorCode: number): string; function hasReportingHeaderForOrigin(aOrigin: string): boolean; function idleDispatch(callback: IdleRequestCallback, options?: IdleRequestOptions): void; function importESModule(aResourceURI: string, aOptions?: ImportESModuleOptionsDictionary): any; function invalidateResourceCache(): void; function isClassifierBlockingErrorCode(aError: number): boolean; function isDOMObject(obj: any, unwrap?: boolean): boolean; function isDarkBackground(element: Element): boolean; function isDevToolsOpened(): boolean; function isISOStyleDate(str: string): boolean; function isJSIdentifier(str: string): boolean; function isOriginAttributesEqual(aA?: OriginAttributesDictionary, aB?: OriginAttributesDictionary): boolean; function lastExternalProtocolIframeAllowed(): number; function nondeterministicGetWeakMapKeys(map: any): any; function nondeterministicGetWeakSetKeys(aSet: any): any; function notifyDevToolsClosed(): void; function notifyDevToolsOpened(): void; function now(): number; function originAttributesMatchPattern(originAttrs?: OriginAttributesDictionary, pattern?: OriginAttributesPatternDictionary): boolean; function originAttributesToSuffix(originAttrs?: OriginAttributesDictionary): string; function privateNoteIntentionalCrash(): void; function readHeapSnapshot(filePath: string): HeapSnapshot; function registerMarkerSchema(schema: any): void; function registerProcessActor(aName: string, aOptions?: ProcessActorOptions): void; function registerWindowActor(aName: string, aOptions?: WindowActorOptions): void; function releaseAssert(condition: boolean, message?: string): void; function requestProcInfo(): Promise; function resetLastExternalProtocolIframeAllowed(): void; function saveHeapSnapshot(boundaries?: HeapSnapshotBoundaries): string; function saveHeapSnapshotGetId(boundaries?: HeapSnapshotBoundaries): string; function setPerfStatsFeatures(aMetrics: string[]): void; function shallowClone(obj: any, target?: any): any; function shouldResistFingerprinting(target: JSRFPTarget, overriddenFingerprintingSettings: nsIRFPTargetSetIDL | null, isPBM?: boolean): boolean; function unregisterProcessActor(aName: string): void; function unregisterWindowActor(aName: string): void; function unwaiveXrays(val: any): any; function vsyncEnabled(): boolean; function waiveXrays(val: any): any; } declare namespace FuzzingFunctions { function crash(reason?: string): void; function cycleCollect(): void; function enableAccessibility(): void; function garbageCollect(): void; function garbageCollectCompacting(): void; function killGPUProcess(): void; function memoryPressure(): void; function signalIPCReady(): void; function spinEventLoopFor(aMilliseconds: number): void; function synthesizeKeyboardEvents(aKeyValue: string, aDictionary?: KeyboardEventInit): void; } declare namespace GPUBufferUsage { } declare namespace GPUColorWrite { } declare namespace GPUMapMode { } declare namespace GPUShaderStage { } declare namespace GPUTextureUsage { } declare namespace IOUtils { var profileBeforeChange: any; var sendTelemetry: any; function computeHexDigest(path: string, method: HashAlgorithm): Promise; function copy(sourcePath: string, destPath: string, options?: CopyOptions): Promise; function createUniqueDirectory(parent: string, prefix: string, permissions?: number): Promise; function createUniqueFile(parent: string, prefix: string, permissions?: number): Promise; function delMacXAttr(path: string, attr: string): Promise; function exists(path: string): Promise; function getChildren(path: string, options?: GetChildrenOptions): Promise; function getDirectory(...components: string[]): Promise; function getFile(...components: string[]): Promise; function getMacXAttr(path: string, attr: string): Promise; function getWindowsAttributes(path: string): Promise; function hasChildren(path: string, options?: HasChildrenOptions): Promise; function hasMacXAttr(path: string, attr: string): Promise; function makeDirectory(path: string, options?: MakeDirectoryOptions): Promise; function move(sourcePath: string, destPath: string, options?: MoveOptions): Promise; function read(path: string, opts?: ReadOptions): Promise; function readJSON(path: string, opts?: ReadUTF8Options): Promise; function readUTF8(path: string, opts?: ReadUTF8Options): Promise; function remove(path: string, options?: RemoveOptions): Promise; function setAccessTime(path: string, access?: number): Promise; function setMacXAttr(path: string, attr: string, value: Uint8Array): Promise; function setModificationTime(path: string, modification?: number): Promise; function setPermissions(path: string, permissions: number, honorUmask?: boolean): Promise; function setWindowsAttributes(path: string, attrs?: WindowsFileAttributes, recursive?: boolean): Promise; function stat(path: string): Promise; function write(path: string, data: Uint8Array, options?: WriteOptions): Promise; function writeJSON(path: string, value: any, options?: WriteOptions): Promise; function writeUTF8(path: string, string: string, options?: WriteOptions): Promise; } declare namespace InspectorUtils { function addPseudoClassLock(element: Element, pseudoClass: string, enabled?: boolean): void; function clearPseudoClassLocks(element: Element): void; function colorTo(fromColor: string, toColorSpace: string): InspectorColorToResult | null; function colorToRGBA(colorString: string): InspectorRGBATuple | null; function containingBlockOf(element: Element): Element | null; function cssPropertyIsShorthand(property: string): boolean; function cssPropertySupportsType(property: string, type: InspectorPropertyType): boolean; function getAllStyleSheets(document: Document, documentOnly?: boolean): StyleSheet[]; function getAnchorFor(element: Element, anchorName?: string | null): InspectorAnchorElement | null; function getAnchorNamesFor(element: Element): string[]; function getBlockLineCounts(element: Element): number[] | null; function getCSSPropertyNames(options?: PropertyNamesOptions): string[]; function getCSSPropertyPrefs(): PropertyPref[]; function getCSSPseudoElementNames(): string[]; function getCSSRegisteredProperties(document: Document): InspectorCSSPropertyDefinition[]; function getCSSRegisteredProperty(document: Document, name: string): InspectorCSSPropertyDefinition | null; function getCSSValuesForProperty(property: string): string[]; function getCSSWideKeywords(): string[]; function getChildrenForNode(node: Node, showingAnonymousContent: boolean, includeAssignedNodes: boolean): Node[]; function getContentState(element: Element): number; function getGridContainerType(aElement: Element): number; function getMatchingCSSRules(element: Element, pseudo?: string, relevantLinkVisited?: boolean, withStartingStyle?: boolean): (CSSRule | InspectorDeclaration)[]; function getOverflowingChildrenOfElement(element: Element): NodeList; function getParentForNode(node: Node, showingAnonymousContent: boolean): Node | null; function getRegisteredCssHighlights(document: Document, activeOnly?: boolean): string[]; function getRelativeRuleLine(rule: CSSRule): number; function getRuleBodyText(initialText: string): string | null; function getRuleColumn(rule: CSSRule): number; function getRuleIndex(rule: CSSRule): number[]; function getRuleLine(rule: CSSRule): number; function getStyleSheetRuleCountAndAtRules(sheet: CSSStyleSheet): InspectorStyleSheetRuleCountAndAtRulesResult; function getSubpropertiesForCSSProperty(property: string): string[]; function getUsedFontFaces(range: Range, maxRanges?: number, skipCollapsedWhitespace?: boolean): InspectorFontFace[]; function hasPseudoClassLock(element: Element, pseudoClass: string): boolean; function hasRulesModifiedByCSSOM(sheet: CSSStyleSheet): boolean; function hsvToRgb(h: number, s: number, v: number): number[] | Float32Array; function isBlockContainer(element: Element): boolean; function isCustomElementName(name: string | null, namespaceURI: string | null): boolean; function isElementThemed(element: Element): boolean; function isIgnorableWhitespace(dataNode: CharacterData): boolean; function isInheritedProperty(document: Document, property: string): boolean; function isUsedColorSchemeDark(element: Element): boolean; function isValidCSSColor(colorString: string): boolean; function parseStyleSheet(sheet: CSSStyleSheet, input: string): void; function relativeLuminance(r: number, g: number, b: number): number; function removeContentState(element: Element, state: number, clearActiveDocument?: boolean): boolean; function removePseudoClassLock(element: Element, pseudoClass: string): void; function replaceBlockRuleBodyTextInStylesheet(styleSheetText: string, line: number, column: number, newBodyText: string): string | null; function rgbToColorName(r: number, g: number, b: number): string; function rgbToHsv(r: number, g: number, b: number): number[] | Float32Array; function rgbToNearestColorName(r: number, g: number, b: number): InspectorNearestColor; function setContentState(element: Element, state: number): boolean; function setDynamicToolbarMaxHeight(aContext: BrowsingContext | null, aHeight: number): void; function setVerticalClipping(aContext: BrowsingContext | null, aOffset: number): void; function supports(conditionText: string, options?: SupportsOptions): boolean; function valueMatchesSyntax(document: Document, value: string, syntax: string): boolean; } declare namespace JSActorTypeUtils { function serializeDeserialize(strict: boolean, val: any): any; } declare namespace L10nOverlays { function translateElement(element: Element, translation?: L10nMessage): L10nOverlaysError[] | null; } declare namespace MediaControlService { function generateMediaControlKey(aKey: MediaControlKey, aSeekValue?: number): void; function getCurrentActiveMediaMetadata(): MediaMetadataInit; function getCurrentMediaSessionPlaybackState(): MediaSessionPlaybackState; } declare namespace Nyx { function getRawData(): ArrayBuffer; function isEnabled(aFuzzerName: string): boolean; function isReplay(): boolean; function isStarted(): boolean; function log(aMsg: string): void; function release(): void; function start(): void; } declare namespace PathUtils { var localProfileDir: string; var profileDir: string; var tempDir: string; var xulLibraryPath: string; function filename(path: string): string; function isAbsolute(path: string): boolean; function join(...components: string[]): string; function joinRelative(base: string, relativePath: string): string; function normalize(path: string): string; function parent(path: string, depth?: number): string | null; function split(path: string): string[]; function splitRelative(path: string, options?: SplitRelativeOptions): string[]; function toExtendedWindowsPath(path: string): string; function toFileURI(path: string): string; } declare namespace PlacesObservers { var counts: PlacesEventCounts; function addListener(eventTypes: PlacesEventType[], listener: PlacesEventCallback): void; function addListener(eventTypes: PlacesEventType[], listener: PlacesWeakCallbackWrapper): void; function notifyListeners(events: PlacesEvent[]): void; function removeListener(eventTypes: PlacesEventType[], listener: PlacesEventCallback): void; function removeListener(eventTypes: PlacesEventType[], listener: PlacesWeakCallbackWrapper): void; } declare namespace PromiseDebugging { function addUncaughtRejectionObserver(o: UncaughtRejectionObserver): void; function getAllocationStack(p: any): any; function getFullfillmentStack(p: any): any; function getPromiseID(p: any): string; function getRejectionStack(p: any): any; function getState(p: any): PromiseDebuggingStateHolder; function removeUncaughtRejectionObserver(o: UncaughtRejectionObserver): boolean; } declare namespace SessionStoreUtils { function addDynamicFrameFilteredListener(target: EventTarget, type: string, listener: any, useCapture: boolean, mozSystemGroup?: boolean): nsISupports | null; function collectDocShellCapabilities(docShell: nsIDocShell): string; function collectFormData(window: WindowProxy): CollectedData | null; function collectScrollPosition(window: WindowProxy): CollectedData | null; function constructSessionStoreRestoreData(): nsISessionStoreRestoreData; function forEachNonDynamicChildFrame(window: WindowProxy, callback: SessionStoreUtilsFrameCallback): void; function initializeRestore(browsingContext: CanonicalBrowsingContext, data: nsISessionStoreRestoreData | null): Promise; function removeDynamicFrameFilteredListener(target: EventTarget, type: string, listener: nsISupports, useCapture: boolean, mozSystemGroup?: boolean): void; function restoreDocShellCapabilities(docShell: nsIDocShell, disallowCapabilities: string): void; function restoreDocShellState(browsingContext: CanonicalBrowsingContext, url: string | null, docShellCaps: string | null): Promise; function restoreFormData(document: Document, data?: CollectedData): boolean; function restoreScrollPosition(frame: Window, data?: CollectedData): void; function restoreSessionStorageFromParent(browsingContext: CanonicalBrowsingContext, sessionStorage: Record>): void; } declare namespace TestReportGenerator { function generateReport(params: GenerateTestReportParameters): Promise; } declare namespace TestUtils { function gc(): Promise; } declare namespace UniFFIScaffolding { function callAsync(id: UniFFIFunctionId, ...args: UniFFIScaffoldingValue[]): Promise; function callAsyncWrapper(id: UniFFIFunctionId, ...args: UniFFIScaffoldingValue[]): Promise; function callSync(id: UniFFIFunctionId, ...args: UniFFIScaffoldingValue[]): UniFFIScaffoldingCallResult; function callbackHandleCreate(): number; function callbackHandleFree(handle: number): void; function callbackHandleRelease(handle: number): number; function deregisterCallbackHandler(interfaceId: UniFFICallbackInterfaceId): void; function readPointer(id: UniFFIPointerId, buff: ArrayBuffer, position: number): UniFFIPointer; function registerCallbackHandler(interfaceId: UniFFICallbackInterfaceId, handler: UniFFICallbackHandler): void; function writePointer(id: UniFFIPointerId, ptr: UniFFIPointer, buff: ArrayBuffer, position: number): void; } declare namespace UserInteraction { function cancel(id: string, obj?: any): boolean; function finish(id: string, obj?: any, additionalText?: string): boolean; function running(id: string, obj?: any): boolean; function start(id: string, value: string, obj?: any): boolean; function update(id: string, value: string, obj?: any): boolean; } declare namespace WebrtcGlobalInformation { var aecDebug: boolean; var aecDebugLogDir: string; function clearAllStats(): void; function clearLogging(): void; function getAllStats(callback: WebrtcGlobalStatisticsCallback, pcIdFilter?: string): void; function getLogging(pattern: string, callback: WebrtcGlobalLoggingCallback): void; function getMediaContext(): WebrtcGlobalMediaContext; function getStatsHistoryPcIds(callback: WebrtcGlobalStatisticsHistoryPcIdsCallback): void; function getStatsHistorySince(callback: WebrtcGlobalStatisticsHistoryCallback, pcIdFilter: string, after?: DOMHighResTimeStamp, sdpAfter?: DOMHighResTimeStamp): void; } interface Console { assert(condition?: boolean, ...data: any[]): void; clear(): void; count(label?: string): void; countReset(label?: string): void; createInstance(options?: ConsoleInstanceOptions): ConsoleInstance; debug(...data: any[]): void; dir(...data: any[]): void; dirxml(...data: any[]): void; error(...data: any[]): void; exception(...data: any[]): void; group(...data: any[]): void; groupCollapsed(...data: any[]): void; groupEnd(): void; info(...data: any[]): void; log(...data: any[]): void; profile(...data: any[]): void; profileEnd(...data: any[]): void; table(...data: any[]): void; time(label?: string): void; timeEnd(label?: string): void; timeLog(label?: string, ...data: any[]): void; timeStamp(data?: any): void; trace(...data: any[]): void; warn(...data: any[]): void; } declare var console: Console; interface AnyCallback { (value: any): any; } interface AudioDataOutputCallback { (output: AudioData): void; } interface BlobCallback { (blob: Blob | null): void; } interface ChainedOperation { (): any; } interface ConsoleInstanceDumpCallback { (message: string): void; } interface CreateHTMLCallback { (input: string, ...arguments: any[]): string | null; } interface CreateScriptCallback { (input: string, ...arguments: any[]): string | null; } interface CreateScriptURLCallback { (input: string, ...arguments: any[]): string | null; } interface CustomElementConstructor { new (...params: any[]): HTMLElement; } interface CustomElementCreationCallback { (name: string): void; } interface DebuggerNotificationCallback { (n: DebuggerNotification): void; } interface DecodeErrorCallback { (error: DOMException): void; } interface DecodeSuccessCallback { (decodedData: AudioBuffer): void; } interface EncodedAudioChunkOutputCallback { (output: EncodedAudioChunk, metadata?: EncodedAudioChunkMetadata): void; } interface EncodedVideoChunkOutputCallback { (chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void; } interface ErrorCallback { (err: DOMException): void; } interface FileCallback { (file: File): void; } interface FileSystemEntriesCallback { (entries: FileSystemEntry[]): void; } interface FileSystemEntryCallback { (entry: FileSystemEntry): void; } interface FontFaceSetForEachCallback { (value: FontFace, key: FontFace, set: FontFaceSet): void; } interface FrameRequestCallback { (time: DOMHighResTimeStamp): void; } interface FunctionStringCallback { (data: string): void; } interface GenerateAssertionCallback { (contents: string, origin: string, options: RTCIdentityProviderOptions): RTCIdentityAssertionResult | PromiseLike; } interface IdleRequestCallback { (deadline: IdleDeadline): void; } interface IntersectionCallback { (entries: IntersectionObserverEntry[], observer: IntersectionObserver): void; } interface LockGrantedCallback { (lock: Lock | null): any; } interface MediaSessionActionHandler { (details: MediaSessionActionDetails): void; } interface MutationCallback { (mutations: MutationRecord[], observer: MutationObserver): void; } interface NavigationInterceptHandler { (): void | PromiseLike; } interface NavigationPrecommitHandler { (controller: NavigationPrecommitController): void | PromiseLike; } interface NavigatorUserMediaErrorCallback { (error: MediaStreamError): void; } interface NavigatorUserMediaSuccessCallback { (stream: MediaStream): void; } interface NotificationPermissionCallback { (permission: NotificationPermission): void; } interface OnBeforeUnloadEventHandlerNonNull { (event: Event): string | null; } interface OnErrorEventHandlerNonNull { (event: Event | string, source?: string, lineno?: number, column?: number, error?: any): any; } interface PeerConnectionLifecycleCallback { (pc: RTCPeerConnection, windowId: number, eventType: RTCLifecycleEvent): void; } interface PerformanceObserverCallback { (entries: PerformanceObserverEntryList, observer: PerformanceObserver): void; } interface PlacesEventCallback { (events: PlacesEvent[]): void; } interface PositionCallback { (position: GeolocationPosition): void; } interface PositionErrorCallback { (positionError: GeolocationPositionError): void; } interface PrintCallback { (ctx: MozCanvasPrintState): void; } interface PromiseDocumentFlushedCallback { (): any; } interface PromiseReturner { (): any; } interface QueuingStrategySize { (chunk?: any): number; } interface RTCPeerConnectionErrorCallback { (error: DOMException): void; } interface RTCSessionDescriptionCallback { (description: RTCSessionDescriptionInit): void; } interface ReportingObserverCallback { (reports: Report[], observer: ReportingObserver): void; } interface ResizeObserverCallback { (entries: ResizeObserverEntry[], observer: ResizeObserver): void; } interface SchedulerPostTaskCallback { (): any; } interface SessionStoreUtilsFrameCallback { (frame: WindowProxy, index: number): void; } interface SetDeleteBooleanCallback { (value: boolean, index: number): void; } interface SetDeleteInterfaceCallback { (value: TestInterfaceObservableArray, index: number): void; } interface SetDeleteObjectCallback { (value: any, index: number): void; } interface TestThrowingCallback { (): void; } interface ToolExecuteCallback { (input: any, client: ModelContextClient): any; } interface UserInteractionCallback { (): any; } interface ValidateAssertionCallback { (assertion: string, origin: string): RTCIdentityValidationResult | PromiseLike; } interface VideoFrameOutputCallback { (output: VideoFrame): void; } interface VideoFrameRequestCallback { (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void; } interface ViewTransitionUpdateCallback { (): any; } interface VoidFunction { (): void; } interface WebCodecsErrorCallback { (error: DOMException): void; } interface WebExtensionLocalizeCallback { (unlocalizedText: string): string; } interface WebrtcGlobalLoggingCallback { (logMessages: string[]): void; } interface WebrtcGlobalStatisticsCallback { (reports: WebrtcGlobalStatisticsReport): void; } interface WebrtcGlobalStatisticsHistoryCallback { (reports: WebrtcGlobalStatisticsReport): void; } interface WebrtcGlobalStatisticsHistoryPcIdsCallback { (pcIds: string[]): void; } interface XRFrameRequestCallback { (time: DOMHighResTimeStamp, frame: XRFrame): void; } interface mozPacketCallback { (level: number, type: mozPacketDumpType, sending: boolean, packet: ArrayBuffer): void; } interface HTMLElementTagNameMap { "a": HTMLAnchorElement; "abbr": HTMLElement; "acronym": HTMLElement; "address": HTMLElement; "applet": HTMLUnknownElement; "area": HTMLAreaElement; "article": HTMLElement; "aside": HTMLElement; "audio": HTMLAudioElement; "b": HTMLElement; "base": HTMLBaseElement; "basefont": HTMLElement; "bdi": HTMLElement; "bdo": HTMLElement; "bgsound": HTMLUnknownElement; "big": HTMLElement; "blockquote": HTMLQuoteElement; "body": HTMLBodyElement; "br": HTMLBRElement; "button": HTMLButtonElement; "canvas": HTMLCanvasElement; "caption": HTMLTableCaptionElement; "center": HTMLElement; "cite": HTMLElement; "code": HTMLElement; "col": HTMLTableColElement; "colgroup": HTMLTableColElement; "data": HTMLDataElement; "datalist": HTMLDataListElement; "dd": HTMLElement; "del": HTMLModElement; "details": HTMLDetailsElement; "dfn": HTMLElement; "dialog": HTMLDialogElement; "dir": HTMLDirectoryElement; "div": HTMLDivElement; "dl": HTMLDListElement; "dt": HTMLElement; "em": HTMLElement; "embed": HTMLEmbedElement; "fieldset": HTMLFieldSetElement; "figcaption": HTMLElement; "figure": HTMLElement; "font": HTMLFontElement; "footer": HTMLElement; "form": HTMLFormElement; "frame": HTMLFrameElement; "frameset": HTMLFrameSetElement; "h1": HTMLHeadingElement; "h2": HTMLHeadingElement; "h3": HTMLHeadingElement; "h4": HTMLHeadingElement; "h5": HTMLHeadingElement; "h6": HTMLHeadingElement; "head": HTMLHeadElement; "header": HTMLElement; "hgroup": HTMLElement; "hr": HTMLHRElement; "html": HTMLHtmlElement; "i": HTMLElement; "iframe": HTMLIFrameElement; "image": HTMLElement; "img": HTMLImageElement; "input": HTMLInputElement; "ins": HTMLModElement; "kbd": HTMLElement; "keygen": HTMLUnknownElement; "label": HTMLLabelElement; "legend": HTMLLegendElement; "li": HTMLLIElement; "link": HTMLLinkElement; "listing": HTMLPreElement; "main": HTMLElement; "map": HTMLMapElement; "mark": HTMLElement; "marquee": HTMLMarqueeElement; "menu": HTMLMenuElement; "meta": HTMLMetaElement; "meter": HTMLMeterElement; "multicol": HTMLUnknownElement; "nav": HTMLElement; "nobr": HTMLElement; "noembed": HTMLElement; "noframes": HTMLElement; "noscript": HTMLElement; "object": HTMLObjectElement; "ol": HTMLOListElement; "optgroup": HTMLOptGroupElement; "option": HTMLOptionElement; "output": HTMLOutputElement; "p": HTMLParagraphElement; "param": HTMLParamElement; "picture": HTMLPictureElement; "plaintext": HTMLElement; "pre": HTMLPreElement; "progress": HTMLProgressElement; "q": HTMLQuoteElement; "rb": HTMLElement; "rp": HTMLElement; "rt": HTMLElement; "rtc": HTMLElement; "ruby": HTMLElement; "s": HTMLElement; "samp": HTMLElement; "script": HTMLScriptElement; "search": HTMLElement; "section": HTMLElement; "select": HTMLSelectElement; "slot": HTMLSlotElement; "small": HTMLElement; "source": HTMLSourceElement; "span": HTMLSpanElement; "strike": HTMLElement; "strong": HTMLElement; "style": HTMLStyleElement; "sub": HTMLElement; "summary": HTMLElement; "sup": HTMLElement; "table": HTMLTableElement; "tbody": HTMLTableSectionElement; "td": HTMLTableCellElement; "template": HTMLTemplateElement; "textarea": HTMLTextAreaElement; "tfoot": HTMLTableSectionElement; "th": HTMLTableCellElement; "thead": HTMLTableSectionElement; "time": HTMLTimeElement; "title": HTMLTitleElement; "tr": HTMLTableRowElement; "track": HTMLTrackElement; "tt": HTMLElement; "u": HTMLElement; "ul": HTMLUListElement; "var": HTMLElement; "video": HTMLVideoElement; "wbr": HTMLElement; "xmp": HTMLPreElement; } interface HTMLElementDeprecatedTagNameMap { } interface SVGElementTagNameMap { } interface MathMLElementTagNameMap { } /** @deprecated Directly use HTMLElementTagNameMap or SVGElementTagNameMap as appropriate, instead. */ type ElementTagNameMap = HTMLElementTagNameMap & Pick>; 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 webkitSpeechGrammar: { new(): SpeechGrammar; }; declare var webkitSpeechGrammarList: { new(): SpeechGrammarList; }; declare var webkitSpeechRecognition: { new(): SpeechRecognition; }; declare var Glean: GleanImpl; declare var GleanPings: GleanPingsImpl; declare var InstallTrigger: any; declare var browserDOMWindow: nsIBrowserDOMWindow | null; declare var browsingContext: BrowsingContext; declare var clientInformation: Navigator; declare var clientPrincipal: Principal | null; declare var closed: boolean; declare var content: any; declare var controllers: XULControllers; declare var cookieStore: CookieStore; declare var customElements: CustomElementRegistry; declare var desktopToDeviceScale: number; declare var devicePixelRatio: number; declare var docShell: nsIDocShell | null; declare var document: Document | null; /** Available only in secure contexts. */ declare var documentPictureInPicture: DocumentPictureInPicture; declare var event: Event | undefined; declare var external: External; declare var frameElement: Element | null; declare var frames: WindowProxy; declare var fullScreen: boolean; declare var history: History; declare var innerHeight: number; declare var innerWidth: number; declare var intlUtils: IntlUtils; declare var isChromeWindow: boolean; declare var isCloaked: boolean; declare var isFullyOccluded: boolean; declare var isInFullScreenTransition: boolean; declare var length: number; declare var location: Location; declare var locationbar: BarProp; declare var menubar: BarProp; declare var messageManager: ChromeMessageBroadcaster; declare var mozInnerScreenX: number; declare var mozInnerScreenY: number; /** @deprecated */ declare const name: void; declare var navigation: Navigation; declare var navigator: Navigator; declare var ondevicelight: ((this: Window, ev: Event) => any) | null; declare var ondevicemotion: ((this: Window, ev: Event) => any) | null; declare var ondeviceorientation: ((this: Window, ev: Event) => any) | null; declare var ondeviceorientationabsolute: ((this: Window, ev: Event) => any) | null; declare var onorientationchange: ((this: Window, ev: Event) => any) | null; declare var onuserproximity: ((this: Window, ev: Event) => any) | null; declare var onvrdisplayactivate: ((this: Window, ev: Event) => any) | null; declare var onvrdisplayconnect: ((this: Window, ev: Event) => any) | null; declare var onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null; declare var onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null; declare var onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null; declare var opener: any; declare var orientation: number; declare var originAgentCluster: boolean; declare var outerHeight: number; declare var outerWidth: number; declare var pageXOffset: number; declare var pageYOffset: number; declare var paintWorklet: Worklet; declare var parent: WindowProxy | null; declare var performance: Performance | null; declare var personalbar: BarProp; declare var realFrameElement: Element | null; declare var screen: Screen; declare var screenEdgeSlopX: number; declare var screenEdgeSlopY: number; declare var screenLeft: number; declare var screenTop: number; declare var screenX: number; declare var screenY: number; declare var scrollMaxX: number; declare var scrollMaxY: number; declare var scrollMinX: number; declare var scrollMinY: number; declare var scrollX: number; declare var scrollY: number; declare var scrollbars: BarProp; declare var self: WindowProxy; declare var status: string; declare var statusbar: BarProp; declare var toolbar: BarProp; declare var top: WindowProxy | null; declare var visualViewport: VisualViewport; declare var window: WindowProxy; declare var windowGlobalChild: WindowGlobalChild | null; declare var windowRoot: WindowRoot | null; declare var windowState: number; declare var windowUtils: nsIDOMWindowUtils; declare function alert(): void; declare function alert(message: string): void; declare function blur(): void; declare function cancelIdleCallback(handle: number): void; declare function captureEvents(): void; declare function close(): void; declare function confirm(message?: string): boolean; declare function dump(str: string): void; declare function find(str?: string, caseSensitive?: boolean, backwards?: boolean, wrapAround?: boolean, wholeWord?: boolean, searchInFrames?: boolean, showDialog?: boolean): boolean; declare function focus(): void; declare function getAttention(): void; declare function getAttentionWithCycleCount(aCycleCount: number): void; declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleProperties | null; declare function getDefaultComputedStyle(elt: Element, pseudoElt?: string): CSSStyleDeclaration | null; declare function getGroupMessageManager(aGroup: string): ChromeMessageBroadcaster; declare function getInterface(iid: any): any; declare function getSelection(): Selection | null; declare function getWebExposedLocales(): string[]; declare function getWorkspaceID(): string; declare function matchMedia(query: string): MediaQueryList | null; declare function maximize(): void; declare function minimize(): void; declare function moveBy(x: number, y: number): void; declare function moveResize(x: number, y: number, w: number, h: number): void; declare function moveTo(x: number, y: number): void; declare function moveToWorkspace(workspaceID: string): void; declare function mozScrollSnap(): void; declare function notifyDefaultButtonLoaded(defaultButton: Element): void; declare function open(url?: string | URL, target?: string, features?: string): WindowProxy | null; declare function openDialog(url?: string, name?: string, options?: string, ...extraArguments: any[]): WindowProxy | null; declare function postMessage(message: any, targetOrigin: string, transfer?: any[]): void; declare function postMessage(message: any, options?: WindowPostMessageOptions): void; declare function print(): void; declare function printPreview(settings?: nsIPrintSettings | null, listener?: nsIWebProgressListener | null, docShellToPreviewInto?: nsIDocShell | null): WindowProxy | null; declare function promiseDocumentFlushed(callback: PromiseDocumentFlushedCallback): Promise; declare function prompt(message?: string, _default?: string): string | null; declare function releaseEvents(): void; declare function requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number; declare function resizeBy(x: number, y: number): void; declare function resizeTo(x: number, y: number): void; declare function restore(): void; declare function scroll(x: number, y: number): void; declare function scroll(options?: ScrollToOptions): void; declare function scrollBy(x: number, y: number): void; declare function scrollBy(options?: ScrollToOptions): void; declare function scrollByLines(numLines: number, options?: ScrollOptions): void; declare function scrollByPages(numPages: number, options?: ScrollOptions): void; declare function scrollTo(x: number, y: number): void; declare function scrollTo(options?: ScrollToOptions): void; declare function setCursor(cursor: string): void; declare function setResizable(resizable: boolean): void; declare function setScrollMarks(marks: number[], onHorizontalScrollbar?: boolean): void; declare function shouldReportForServiceWorkerScope(aScope: string): boolean; declare function sizeToContent(constraints?: SizeToContentConstraints): void; declare function stop(): void; declare function synthesizeMouseEvent(type: string, offsetX: number, offsetY: number, mouseEventData?: SynthesizeMouseEventData, options?: SynthesizeMouseEventOptions, callback?: VoidFunction): boolean; declare function synthesizeTouchEvent(type: string, touches: SynthesizeTouchEventData[], modifiers?: number, options?: SynthesizeTouchEventOptions, callback?: VoidFunction): boolean; declare function updateCommands(action: string): void; declare function toString(): string; declare var ownerGlobal: WindowProxy | null; declare function dispatchEvent(event: Event): boolean; declare function getEventHandler(type: string): EventHandler; declare function setEventHandler(type: string, handler: EventHandler): void; declare function cancelAnimationFrame(handle: number): void; declare function requestAnimationFrame(callback: FrameRequestCallback): number; declare var crypto: Crypto; declare var onabort: ((this: Window, ev: Event) => any) | null; declare var onanimationcancel: ((this: Window, ev: Event) => any) | null; declare var onanimationend: ((this: Window, ev: Event) => any) | null; declare var onanimationiteration: ((this: Window, ev: Event) => any) | null; declare var onanimationstart: ((this: Window, ev: Event) => any) | null; declare var onauxclick: ((this: Window, ev: Event) => any) | null; declare var onbeforeinput: ((this: Window, ev: Event) => any) | null; declare var onbeforematch: ((this: Window, ev: Event) => any) | null; declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null; declare var onblur: ((this: Window, ev: Event) => any) | null; declare var oncancel: ((this: Window, ev: Event) => any) | null; declare var oncanplay: ((this: Window, ev: Event) => any) | null; declare var oncanplaythrough: ((this: Window, ev: Event) => any) | null; declare var onchange: ((this: Window, ev: Event) => any) | null; declare var onclick: ((this: Window, ev: Event) => any) | null; declare var onclose: ((this: Window, ev: Event) => any) | null; declare var oncommand: ((this: Window, ev: Event) => any) | null; declare var oncontentvisibilityautostatechange: ((this: Window, ev: Event) => any) | null; declare var oncontextlost: ((this: Window, ev: Event) => any) | null; declare var oncontextmenu: ((this: Window, ev: Event) => any) | null; declare var oncontextrestored: ((this: Window, ev: Event) => any) | null; declare var oncopy: ((this: Window, ev: Event) => any) | null; declare var oncuechange: ((this: Window, ev: Event) => any) | null; declare var oncut: ((this: Window, ev: Event) => any) | null; declare var ondblclick: ((this: Window, ev: Event) => any) | null; declare var ondrag: ((this: Window, ev: Event) => any) | null; declare var ondragend: ((this: Window, ev: Event) => any) | null; declare var ondragenter: ((this: Window, ev: Event) => any) | null; declare var ondragexit: ((this: Window, ev: Event) => any) | null; declare var ondragleave: ((this: Window, ev: Event) => any) | null; declare var ondragover: ((this: Window, ev: Event) => any) | null; declare var ondragstart: ((this: Window, ev: Event) => any) | null; declare var ondrop: ((this: Window, ev: Event) => any) | null; declare var ondurationchange: ((this: Window, ev: Event) => any) | null; declare var onemptied: ((this: Window, ev: Event) => any) | null; declare var onended: ((this: Window, ev: Event) => any) | null; declare var onfocus: ((this: Window, ev: Event) => any) | null; declare var onformdata: ((this: Window, ev: Event) => any) | null; declare var ongotpointercapture: ((this: Window, ev: Event) => any) | null; declare var oninput: ((this: Window, ev: Event) => any) | null; declare var oninvalid: ((this: Window, ev: Event) => any) | null; declare var onkeydown: ((this: Window, ev: Event) => any) | null; declare var onkeypress: ((this: Window, ev: Event) => any) | null; declare var onkeyup: ((this: Window, ev: Event) => any) | null; declare var onload: ((this: Window, ev: Event) => any) | null; declare var onloadeddata: ((this: Window, ev: Event) => any) | null; declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null; declare var onloadstart: ((this: Window, ev: Event) => any) | null; declare var onlostpointercapture: ((this: Window, ev: Event) => any) | null; declare var onmousedown: ((this: Window, ev: Event) => any) | null; declare var onmouseenter: ((this: Window, ev: Event) => any) | null; declare var onmouseleave: ((this: Window, ev: Event) => any) | null; declare var onmousemove: ((this: Window, ev: Event) => any) | null; declare var onmouseout: ((this: Window, ev: Event) => any) | null; declare var onmouseover: ((this: Window, ev: Event) => any) | null; declare var onmouseup: ((this: Window, ev: Event) => any) | null; declare var onmozfullscreenchange: ((this: Window, ev: Event) => any) | null; declare var onmozfullscreenerror: ((this: Window, ev: Event) => any) | null; declare var onpaste: ((this: Window, ev: Event) => any) | null; declare var onpause: ((this: Window, ev: Event) => any) | null; declare var onplay: ((this: Window, ev: Event) => any) | null; declare var onplaying: ((this: Window, ev: Event) => any) | null; declare var onpointercancel: ((this: Window, ev: Event) => any) | null; declare var onpointerdown: ((this: Window, ev: Event) => any) | null; declare var onpointerenter: ((this: Window, ev: Event) => any) | null; declare var onpointerleave: ((this: Window, ev: Event) => any) | null; declare var onpointermove: ((this: Window, ev: Event) => any) | null; declare var onpointerout: ((this: Window, ev: Event) => any) | null; declare var onpointerover: ((this: Window, ev: Event) => any) | null; /** Available only in secure contexts. */ declare var onpointerrawupdate: ((this: Window, ev: Event) => any) | null; declare var onpointerup: ((this: Window, ev: Event) => any) | null; declare var onprogress: ((this: Window, ev: Event) => any) | null; declare var onratechange: ((this: Window, ev: Event) => any) | null; declare var onreset: ((this: Window, ev: Event) => any) | null; declare var onresize: ((this: Window, ev: Event) => any) | null; declare var onscroll: ((this: Window, ev: Event) => any) | null; declare var onscrollend: ((this: Window, ev: Event) => any) | null; declare var onsecuritypolicyviolation: ((this: Window, ev: Event) => any) | null; declare var onseeked: ((this: Window, ev: Event) => any) | null; declare var onseeking: ((this: Window, ev: Event) => any) | null; declare var onselect: ((this: Window, ev: Event) => any) | null; declare var onselectionchange: ((this: Window, ev: Event) => any) | null; declare var onselectstart: ((this: Window, ev: Event) => any) | null; declare var onslotchange: ((this: Window, ev: Event) => any) | null; declare var onstalled: ((this: Window, ev: Event) => any) | null; declare var onsubmit: ((this: Window, ev: Event) => any) | null; declare var onsuspend: ((this: Window, ev: Event) => any) | null; declare var ontimeupdate: ((this: Window, ev: Event) => any) | null; declare var ontoggle: ((this: Window, ev: Event) => any) | null; declare var ontransitioncancel: ((this: Window, ev: Event) => any) | null; declare var ontransitionend: ((this: Window, ev: Event) => any) | null; declare var ontransitionrun: ((this: Window, ev: Event) => any) | null; declare var ontransitionstart: ((this: Window, ev: Event) => any) | null; declare var onvolumechange: ((this: Window, ev: Event) => any) | null; declare var onwaiting: ((this: Window, ev: Event) => any) | null; declare var onwebkitanimationend: ((this: Window, ev: Event) => any) | null; declare var onwebkitanimationiteration: ((this: Window, ev: Event) => any) | null; declare var onwebkitanimationstart: ((this: Window, ev: Event) => any) | null; declare var onwebkittransitionend: ((this: Window, ev: Event) => any) | null; declare var onwheel: ((this: Window, ev: Event) => any) | null; declare var onerror: ((this: Window, ev: Event) => any) | null; declare var speechSynthesis: SpeechSynthesis; declare var ontouchcancel: ((this: Window, ev: Event) => any) | null; declare var ontouchend: ((this: Window, ev: Event) => any) | null; declare var ontouchmove: ((this: Window, ev: Event) => any) | null; declare var ontouchstart: ((this: Window, ev: Event) => any) | null; declare var onafterprint: ((this: Window, ev: Event) => any) | null; declare var onbeforeprint: ((this: Window, ev: Event) => any) | null; declare var onbeforeunload: ((this: Window, ev: Event) => any) | null; declare var ongamepadconnected: ((this: Window, ev: Event) => any) | null; declare var ongamepaddisconnected: ((this: Window, ev: Event) => any) | null; declare var onhashchange: ((this: Window, ev: Event) => any) | null; declare var onlanguagechange: ((this: Window, ev: Event) => any) | null; declare var onmessage: ((this: Window, ev: Event) => any) | null; declare var onmessageerror: ((this: Window, ev: Event) => any) | null; declare var onoffline: ((this: Window, ev: Event) => any) | null; declare var ononline: ((this: Window, ev: Event) => any) | null; declare var onpagehide: ((this: Window, ev: Event) => any) | null; declare var onpagereveal: ((this: Window, ev: Event) => any) | null; declare var onpageshow: ((this: Window, ev: Event) => any) | null; declare var onpopstate: ((this: Window, ev: Event) => any) | null; declare var onrejectionhandled: ((this: Window, ev: Event) => any) | null; declare var onstorage: ((this: Window, ev: Event) => any) | null; declare var onunhandledrejection: ((this: Window, ev: Event) => any) | null; declare var onunload: ((this: Window, ev: Event) => any) | null; declare var localStorage: Storage | null; declare var caches: CacheStorage; declare var crossOriginIsolated: boolean; declare var indexedDB: IDBFactory | null; declare var isSecureContext: boolean; declare var origin: string; declare var scheduler: Scheduler; declare var trustedTypes: TrustedTypePolicyFactory; declare function atob(atob: string): string; declare function btoa(btoa: string): string; declare function clearInterval(handle?: number): void; declare function clearTimeout(handle?: number): void; declare function createImageBitmap(aImage: ImageBitmapSource, aOptions?: ImageBitmapOptions): Promise; declare function createImageBitmap(aImage: ImageBitmapSource, aSx: number, aSy: number, aSw: number, aSh: number, aOptions?: ImageBitmapOptions): Promise; declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise; declare function isRFPTargetActive(aTargetName: string): boolean; declare function queueMicrotask(callback: VoidFunction): void; declare function reportError(e: any): void; declare function setInterval(handler: TimerHandler, timeout?: number, ...unused: any[]): number; declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number; declare function structuredClone(value: any, options?: StructuredSerializeOptions): any; declare var sessionStorage: Storage | null; declare function addEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; declare function removeEventListener(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void; declare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; type AlgorithmIdentifier = any; type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView; type Base64URLString = string; type BinaryData = ArrayBuffer | ArrayBufferView; type BlobPart = BufferSource | Blob | string; type BodyInit = XMLHttpRequestBodyInit; type BufferSource = ArrayBufferView | ArrayBuffer; type COSEAlgorithmIdentifier = number; type CSSColorAngle = CSSNumberish | CSSKeywordish; type CSSColorNumber = CSSNumberish | CSSKeywordish; type CSSColorPercent = CSSNumberish | CSSKeywordish; type CSSColorRGBComp = CSSNumberish | CSSKeywordish; type CSSKeywordish = string | CSSKeywordValue; type CSSNumberish = number | CSSNumericValue; type CSSPerspectiveValue = CSSNumericValue | CSSKeywordish; type CSSUnparsedSegment = string | CSSVariableReferenceValue; type CanvasImageSource = HTMLOrSVGImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | ImageBitmap | VideoFrame; type CanvasSource = HTMLCanvasElement | OffscreenCanvas; type ClipboardItemData = Promise; type ClipboardItemDataType = string | Blob; type ClipboardItems = ClipboardItem[]; type CollectedFormDataValue = any; type ConstrainBoolean = boolean | ConstrainBooleanParameters; type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters; type ConstrainDouble = number | ConstrainDoubleRange; type ConstrainLong = number | ConstrainLongRange; type ContentSecurityPolicy = nsIContentSecurityPolicy; type Cookie = nsICookie; type CookieList = CookieListItem[]; type CustomMediaQuery = MediaList | boolean; type DOMHighResTimeStamp = number; type DOMTimeStamp = number; type EpochTimeStamp = number; type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams; type Float32List = Float32Array | GLfloat[]; type FormDataEntryValue = Blob | Directory | string; type FormDataValue = any; type GLbitfield = number; type GLboolean = boolean; type GLclampf = number; type GLenum = number; type GLfloat = number; type GLint = number; type GLint64 = number; type GLintptr = number; type GLsizei = number; type GLsizeiptr = number; type GLuint = number; type GLuint64 = number; type GPUBindingResource = GPUSampler | GPUTexture | GPUTextureView | GPUBuffer | GPUBufferBinding | GPUExternalTexture; type GPUBufferDynamicOffset = number; type GPUBufferUsageFlags = number; type GPUColor = number[] | GPUColorDict; type GPUColorWriteFlags = number; type GPUCopyExternalImageSource = ImageBitmap | HTMLImageElement | HTMLCanvasElement | OffscreenCanvas; type GPUDepthBias = number; type GPUExtent3D = GPUIntegerCoordinate[] | GPUExtent3DDict; type GPUFlagsConstant = number; type GPUIndex32 = number; type GPUIntegerCoordinate = number; type GPUIntegerCoordinateOut = number; type GPUMapModeFlags = number; type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict; type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict; type GPUPipelineConstantValue = number; type GPUSampleMask = number; type GPUShaderStageFlags = number; type GPUSignedOffset32 = number; type GPUSize32 = number; type GPUSize32Out = number; type GPUSize64 = number; type GPUSize64Out = number; type GPUStencilValue = number; type GPUTextureUsageFlags = number; type GeometryNode = Text | Element | Document; type GleanLabeledTestValue = boolean | number | string | GleanDistributionData; type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement; type HeadersInit = string[][] | Record; type ImageBitmapSource = CanvasImageSource | Blob | CanvasRenderingContext2D | ImageData; type ImageBufferSource = AllowSharedBufferSource | ReadableStream; type InferenceSessionFeedsType = InferenceSessionTensorMapType; type InferenceSessionReturnType = InferenceSessionTensorMapType; type InferenceSessionTensorMapType = Record; type InputStream = nsIInputStream; type Int32List = Int32Array | GLint[]; type KeyFormat = string; type KeyType = string; type KeyUsage = string; type L10nArgs = Record; type L10nKey = string | L10nIdArgs; type L10nResourceId = string | ResourceId; type LoadContext = nsILoadContext; type LoadInfo = nsILoadInfo; type MLSBytesOrUint8Array = MLSBytes | Uint8Array; type MLSBytesOrUint8ArrayOrUTF8String = MLSBytes | Uint8Array | string; type MLSClientId = MLSBytes; type MLSCredential = MLSBytes; type MLSGroupEpoch = MLSBytes; type MLSGroupId = MLSBytes; type MLSKeyPackage = MLSBytes; type MLSProposal = MLSBytes; type MatchGlobOrString = MatchGlob | string; type MatchPatternSetOrStringSequence = MatchPatternSet | string[]; type MessageEventSource = WindowProxy | MessagePort | ServiceWorker; type MozChannel = nsIChannel; type MozTreeView = nsITreeView; type NodeId = number; type NodeSize = number; type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext; type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null; type OnErrorEventHandler = OnErrorEventHandlerNonNull | null; type OutputStream = nsIOutputStream; type PerformanceEntryList = PerformanceEntry[]; type PolicyContainer = nsIPolicyContainer; type Principal = nsIPrincipal; type PublicKeyCredentialClientCapabilities = Record; type RTCRtpTransform = RTCRtpScriptTransform; type ReadableStreamReader = ReadableStreamDefaultReader | ReadableStreamBYOBReader; type ReferrerInfo = nsIReferrerInfo; type RemoteTab = nsIRemoteTab; type ReportList = Report[]; type RequestInfo = Request | string; type SanitizerAttribute = string | SanitizerAttributeNamespace; type SanitizerElement = string | SanitizerElementNamespace; type SanitizerElementWithAttributes = string | SanitizerElementNamespaceWithAttributes; type StackFrame = nsIStackFrame; type StringOrOpenPopupOptions = string | OpenPopupOptions; type StructuredClonable = any; type TimerHandler = Function | TrustedScript | string; type TrustedType = TrustedHTML | TrustedScript | TrustedScriptURL; type URI = nsIURI; type URLPatternInput = string | URLPatternInit; type Uint32List = Uint32Array | GLuint[]; type UniFFICallbackInterfaceId = number; type UniFFICallbackObjectHandle = number; type UniFFIFunctionId = number; type UniFFIPointerId = number; type UniFFIScaffoldingValue = number | ArrayBuffer | UniFFIPointer; type UnrestrictedDoubleOrKeyframeAnimationOptions = number | KeyframeAnimationOptions; type VibratePattern = number | number[]; type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string; type XRWebGLRenderingContext = WebGLRenderingContext | WebGL2RenderingContext; type XSLTParameterValue = number | boolean | string | Node | Node[] | XPathResult; type XULCommandDispatcher = nsIDOMXULCommandDispatcher; type XULControllers = nsIControllers; type nsContentPolicyType = number; type AlignSetting = "center" | "end" | "left" | "right" | "start"; type AlphaOption = "discard" | "keep"; type AnimationPlayState = "finished" | "idle" | "paused" | "running"; type AnimationReplaceState = "active" | "persisted" | "removed"; type AriaNotifyPriority = "high" | "normal"; type AudioContextState = "closed" | "running" | "suspended"; type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar"; type AutoKeyword = "auto"; type AutoplayPolicy = "allowed" | "allowed-muted" | "disallowed"; type AutoplayPolicyMediaType = "audiocontext" | "mediaelement"; type AvcBitstreamFormat = "annexb" | "avc"; type Base64URLDecodePadding = "ignore" | "reject" | "require"; type BinaryType = "arraybuffer" | "blob"; type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking"; type BitrateMode = "constant" | "variable"; type CSSBoxType = "border" | "content" | "margin" | "padding"; type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum"; type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time"; type CSSStyleSheetParsingMode = "agent" | "author" | "user"; type CacheStorageNamespace = "chrome" | "content"; type CallbackDebuggerNotificationPhase = "post" | "pre"; type CanvasContextProperties = "both" | "fill" | "none" | "stroke"; type CanvasDirection = "inherit" | "ltr" | "rtl"; type CanvasFontKerning = "auto" | "none" | "normal"; type CanvasFontStretch = "condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded"; type CanvasFontVariantCaps = "all-petite-caps" | "all-small-caps" | "normal" | "petite-caps" | "small-caps" | "titling-caps" | "unicase"; type CanvasLineCap = "butt" | "round" | "square"; type CanvasLineJoin = "bevel" | "miter" | "round"; type CanvasTextAlign = "center" | "end" | "left" | "right" | "start"; type CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top"; type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed"; type CanvasWindingRule = "evenodd" | "nonzero"; type CaretChangedReason = "dragcaret" | "longpressonemptycontent" | "presscaret" | "releasecaret" | "scroll" | "taponcaret" | "updateposition" | "visibilitychange"; type ChannelCountMode = "clamped-max" | "explicit" | "max"; type ChannelInterpretation = "discrete" | "speakers"; type CheckerboardReason = "recent" | "severe"; type CodecState = "closed" | "configured" | "unconfigured"; type ColorGamut = "p3" | "rec2020" | "srgb"; type ColorSpaceConversion = "default" | "none"; type CompositeOperation = "accumulate" | "add" | "replace"; type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip" | "zstd"; type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "none" | "other" | "unknown" | "wifi"; type ConsoleLevel = "error" | "log" | "warning"; type ConsoleLogLevel = "All" | "Clear" | "Debug" | "Dir" | "Dirxml" | "Error" | "Group" | "GroupEnd" | "Info" | "Log" | "Off" | "Profile" | "ProfileEnd" | "Time" | "TimeEnd" | "TimeLog" | "Trace" | "Warn"; type ContentScriptCssOrigin = "author" | "user"; type ContentScriptExecutionWorld = "ISOLATED" | "MAIN" | "USER_SCRIPT"; type ContentScriptRunAt = "document_end" | "document_idle" | "document_start"; type CookieSameSite = "lax" | "none" | "strict"; type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent"; type CredentialProtectionPolicy = "userVerificationOptional" | "userVerificationOptionalWithCredentialIDList" | "userVerificationRequired"; type DebuggerNotificationType = "cancelAnimationFrame" | "clearInterval" | "clearTimeout" | "domEvent" | "requestAnimationFrame" | "requestAnimationFrameCallback" | "setInterval" | "setIntervalCallback" | "setTimeout" | "setTimeoutCallback"; type DeclarationOrigin = "animations" | "position-fallback" | "pres-hints" | "smil" | "style-attribute" | "transitions" | "user" | "user-agent"; type DecoderDoctorReportType = "mediacannotinitializepulseaudio" | "mediacannotplaynodecoders" | "mediadecodeerror" | "mediadecodewarning" | "medianodecoders" | "mediaplatformdecodernotfound" | "mediaunsupportedlibavcodec" | "mediawidevinenowmf" | "mediawmfneeded"; type DirectionSetting = "" | "lr" | "rl"; type DisplayMode = "browser" | "fullscreen" | "minimal-ui" | "picture-in-picture" | "standalone"; type DistanceModelType = "exponential" | "inverse" | "linear"; type EncodedAudioChunkType = "delta" | "key"; type EncodedVideoChunkType = "delta" | "key"; type EndingType = "native" | "transparent"; type EventCallbackDebuggerNotificationType = "closewatcher" | "global" | "node" | "websocket" | "worker" | "xhr"; type FetchState = "aborted" | "complete" | "errored" | "requesting" | "responding"; type FileSystemHandleKind = "directory" | "file"; type FileType = "directory" | "other" | "regular"; type FillMode = "auto" | "backwards" | "both" | "forwards" | "none"; type FlexItemClampState = "clamped_to_max" | "clamped_to_min" | "unclamped"; type FlexLineGrowthState = "growing" | "shrinking"; type FlexPhysicalDirection = "horizontal-lr" | "horizontal-rl" | "vertical-bt" | "vertical-tb"; type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded"; type FontFaceSetLoadStatus = "loaded" | "loading"; type ForceMediaDocument = "image" | "none" | "video"; type ForcedColorsOverride = "active" | "none"; type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat"; type GPUAutoLayoutMode = "auto"; type GPUBlendFactor = "constant" | "dst" | "dst-alpha" | "one" | "one-minus-constant" | "one-minus-dst" | "one-minus-dst-alpha" | "one-minus-src" | "one-minus-src-alpha" | "src" | "src-alpha" | "src-alpha-saturated" | "zero"; type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract"; type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform"; type GPUBufferMapState = "mapped" | "pending" | "unmapped"; type GPUCanvasAlphaMode = "opaque" | "premultiplied"; type GPUCompareFunction = "always" | "equal" | "greater" | "greater-equal" | "less" | "less-equal" | "never" | "not-equal"; type GPUCompilationMessageType = "error" | "info" | "warning"; type GPUCullMode = "back" | "front" | "none"; type GPUDeviceLostReason = "destroyed" | "unknown"; type GPUErrorFilter = "internal" | "out-of-memory" | "validation"; type GPUFeatureName = "bgra8unorm-storage" | "clip-distances" | "core-features-and-limits" | "depth-clip-control" | "depth32float-stencil8" | "dual-source-blending" | "float32-blendable" | "float32-filterable" | "indirect-first-instance" | "primitive-index" | "rg11b10ufloat-renderable" | "shader-f16" | "subgroups" | "texture-compression-astc" | "texture-compression-astc-sliced-3d" | "texture-compression-bc" | "texture-compression-bc-sliced-3d" | "texture-compression-etc2" | "timestamp-query"; type GPUFilterMode = "linear" | "nearest"; type GPUFrontFace = "ccw" | "cw"; type GPUIndexFormat = "uint16" | "uint32"; type GPULoadOp = "clear" | "load"; type GPUMipmapFilterMode = "linear" | "nearest"; type GPUPipelineErrorReason = "internal" | "validation"; type GPUPowerPreference = "high-performance" | "low-power"; type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip"; type GPUQueryType = "occlusion" | "timestamp"; type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering"; type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero"; type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only"; type GPUStoreOp = "discard" | "store"; type GPUTextureAspect = "all" | "depth-only" | "stencil-only"; type GPUTextureDimension = "1d" | "2d" | "3d"; type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16uint" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16uint" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16uint" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8"; type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float"; type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array"; type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra"; type GPUVertexStepMode = "instance" | "vertex"; type GamepadHand = "" | "left" | "right"; type GamepadHapticActuatorType = "vibration"; type GamepadLightIndicatorType = "on-off" | "rgb"; type GamepadMappingType = "" | "standard" | "xr-standard"; type GetUserMediaRequestType = "getusermedia" | "recording-device-stopped" | "selectaudiooutput"; type GridDeclaration = "explicit" | "implicit"; type GridTrackState = "removed" | "repeat" | "static"; type HDCPVersion = "1.0" | "1.1" | "1.2" | "1.3" | "1.4" | "2.0" | "2.1" | "2.2" | "2.3"; type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software"; type HashAlgorithm = "sha256" | "sha384" | "sha512"; type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40"; type HeadersGuardEnum = "immutable" | "none" | "request" | "request-no-cors" | "response"; type HighlightType = "grammar-error" | "highlight" | "spelling-error"; type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique"; type IDBRequestReadyState = "done" | "pending"; type IDBTransactionDurability = "default" | "relaxed" | "strict"; type IDBTransactionMode = "cleanup" | "readonly" | "readwrite" | "readwriteflush" | "versionchange"; type IdentityCredentialRequestOptionsMode = "active" | "passive"; type ImageOrientation = "flipY" | "from-image" | "none"; type ImportESModuleTargetGlobal = "contextual" | "current" | "devtools" | "shared"; type InspectorAnchorType = "explicit" | "popover" | "pseudo-element"; type InspectorPropertyType = "color" | "gradient" | "timing-function"; type IntegrityViolationReason = "invalid_manifest" | "invalid_transparency_proof" | "manifest_unavailable" | "missing_from_manifest" | "no_manifest_match" | "untrusted_transparency_proof"; type IterationCompositeOperation = "accumulate" | "replace"; type JSRFPTarget = "CSSPrefersColorScheme" | "HttpUserAgent" | "JSLocalePrompt" | "RoundWindowSize" | "SiteSpecificZoom"; type L10nFileSourceHasFileStatus = "missing" | "present" | "unknown"; type LatencyMode = "quality" | "realtime"; type LineAlignSetting = "center" | "end" | "start"; type LlamaKVCacheDtype = "f16" | "f32" | "q4_0" | "q4_1" | "q5_0" | "q5_1" | "q8_0"; type LlamaSamplerType = "dist" | "dry" | "infill" | "logit-bias" | "min-p" | "mirostat" | "penalties" | "temperature" | "temperature-ext" | "top-k" | "top-n-sigma" | "top-p" | "typical" | "xtc"; type LockMode = "exclusive" | "shared"; type LoginStatus = "logged-in" | "logged-out"; type MIDIPortConnectionState = "closed" | "open" | "pending"; type MIDIPortDeviceState = "connected" | "disconnected"; type MIDIPortType = "input" | "output"; type MLSObjectType = "application-message-ciphertext" | "application-message-plaintext" | "client-identifier" | "commit-output" | "commit-processed" | "credential-basic" | "exporter-context" | "exporter-label" | "exporter-output" | "group-epoch" | "group-identifier" | "group-info" | "key-package" | "proposal" | "welcome"; type MediaControlKey = "focus" | "mute" | "nexttrack" | "pause" | "play" | "playpause" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "setvolume" | "skipad" | "stop" | "unmute"; type MediaDecodingType = "file" | "media-source"; type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput"; type MediaEncodingType = "record" | "transmission"; type MediaKeyMessageType = "individualization-request" | "license-release" | "license-renewal" | "license-request"; type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-reset" | "internal-error" | "release-acknowledged" | "resource-evicted"; type MediaKeySessionType = "persistent-license" | "temporary"; type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable"; type MediaKeysRequirement = "not-allowed" | "optional" | "required"; type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop"; type MediaSessionPlaybackState = "none" | "paused" | "playing"; type MediaSourceEndOfStreamError = "decode" | "network"; type MediaSourceReadyState = "closed" | "ended" | "open"; type MediaStreamTrackState = "ended" | "live"; type MozContentPolicyType = "beacon" | "csp_report" | "font" | "image" | "imageset" | "json" | "main_frame" | "media" | "object" | "other" | "ping" | "script" | "speculative" | "stylesheet" | "sub_frame" | "web_manifest" | "websocket" | "xml_dtd" | "xmlhttprequest" | "xslt"; type MozUrlClassificationFlags = "antifraud" | "any_basic_tracking" | "any_social_tracking" | "any_strict_tracking" | "consentmanager" | "cryptomining" | "cryptomining_content" | "emailtracking" | "emailtracking_content" | "fingerprinting" | "fingerprinting_content" | "socialtracking" | "socialtracking_facebook" | "socialtracking_linkedin" | "socialtracking_twitter" | "tracking" | "tracking_ad" | "tracking_analytics" | "tracking_content" | "tracking_social"; type NavigationFocusReset = "after-transition" | "manual"; type NavigationHistoryBehavior = "auto" | "push" | "replace"; type NavigationScrollBehavior = "after-transition" | "manual"; type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"; type NavigationType = "push" | "reload" | "replace" | "traverse"; type NotificationDirection = "auto" | "ltr" | "rtl"; type NotificationPermission = "default" | "denied" | "granted"; type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu"; type OpusBitstreamFormat = "ogg" | "opus"; type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary"; type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary"; type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle"; type OverSampleType = "2x" | "4x" | "none"; type OverridableErrorCategory = "domain-mismatch" | "expired-or-not-yet-valid" | "trust-error" | "unset"; type PCError = "InvalidAccessError" | "InvalidCharacterError" | "InvalidModificationError" | "InvalidStateError" | "NotReadableError" | "NotSupportedError" | "OperationError" | "RangeError" | "SyntaxError" | "TypeError" | "UnknownError"; type PCObserverStateType = "ConnectionState" | "IceConnectionState" | "IceGatheringState" | "None" | "SignalingState"; type PanningModelType = "HRTF" | "equalpower"; type PaymentComplete = "fail" | "success" | "unknown"; type PaymentShippingType = "delivery" | "pickup" | "shipping"; type PermissionName = "camera" | "geolocation" | "local-network" | "loopback-network" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access"; type PermissionState = "denied" | "granted" | "prompt"; type PermitUnloadAction = "dontUnload" | "prompt" | "unload"; type PlacesEventType = "bookmark-added" | "bookmark-guid-changed" | "bookmark-keyword-changed" | "bookmark-moved" | "bookmark-removed" | "bookmark-tags-changed" | "bookmark-time-changed" | "bookmark-title-changed" | "bookmark-url-changed" | "favicon-changed" | "history-cleared" | "none" | "page-removed" | "page-title-changed" | "page-visited" | "pages-rank-changed" | "purge-caches"; type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse"; type PopupBlockerState = "openAbused" | "openAllowed" | "openBlocked" | "openControlled" | "openOverridden"; type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right"; type PredefinedColorSpace = "display-p3" | "srgb"; type PrefersColorSchemeOverride = "dark" | "light" | "none"; type PremultiplyAlpha = "default" | "none" | "premultiply"; type PresentationStyle = "attachment" | "inline" | "unspecified"; type PrivateAttributionImpressionType = "click" | "view"; type PromiseDebuggingState = "fulfilled" | "pending" | "rejected"; type PushEncryptionKeyName = "auth" | "p256dh"; type RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat"; type RTCCodecType = "decode" | "encode"; type RTCDataChannelState = "closed" | "closing" | "connecting" | "open"; type RTCDataChannelType = "arraybuffer" | "blob"; type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution"; type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new"; type RTCEncodedVideoFrameType = "delta" | "empty" | "key"; type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error"; type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx"; type RTCIceComponent = "rtcp" | "rtp"; type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new"; type RTCIceCredentialType = "password"; type RTCIceGathererState = "complete" | "gathering" | "new"; type RTCIceGatheringState = "complete" | "gathering" | "new"; type RTCIceProtocol = "tcp" | "udp"; type RTCIceRole = "controlled" | "controlling" | "unknown"; type RTCIceTcpCandidateType = "active" | "passive" | "so"; type RTCIceTransportPolicy = "all" | "relay"; type RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new"; type RTCLifecycleEvent = "connectionstatechange" | "iceconnectionstatechange" | "icegatheringstatechange" | "initialized"; type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new"; type RTCPriorityType = "high" | "low" | "medium" | "very-low"; type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped"; type RTCSctpTransportState = "closed" | "connected" | "connecting"; type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback"; type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable"; type RTCStatsIceCandidatePairState = "cancelled" | "failed" | "frozen" | "in-progress" | "succeeded" | "waiting"; type RTCStatsType = "candidate-pair" | "codec" | "csrc" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "session" | "track" | "transport"; type ReadableStreamReaderMode = "byob"; type RecordingState = "inactive" | "paused" | "recording"; type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; type RenderBlockingStatusType = "blocking" | "non-blocking"; type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload"; type RequestCredentials = "include" | "omit" | "same-origin"; type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt"; type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin"; type RequestPriority = "auto" | "high" | "low"; type RequestRedirect = "error" | "follow" | "manual"; type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box"; type ResizeQuality = "high" | "low" | "medium" | "pixelated"; type ResourceCacheTarget = "chrome" | "content"; type ResourceCacheType = "image" | "script" | "stylesheet"; type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect"; type SanitizerPresets = "default"; type ScreenColorGamut = "p3" | "rec2020" | "srgb"; type ScrollBehavior = "auto" | "instant" | "smooth"; type ScrollLogicalPosition = "center" | "end" | "nearest" | "start"; type ScrollRestoration = "auto" | "manual"; type ScrollSetting = "" | "up"; type SecurityPolicyViolationEventDisposition = "enforce" | "report"; type SelectionMode = "end" | "preserve" | "select" | "start"; type SelectorWarningKind = "SiblingCombinatorAfterScope" | "UnconstrainedHas"; type ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant"; type ServiceWorkerUpdateViaCache = "all" | "imports" | "none"; type ShadowRootMode = "closed" | "open"; type SlotAssignmentMode = "manual" | "named"; type SocketReadyState = "closed" | "closing" | "halfclosed" | "open" | "opening"; type SourceBufferAppendMode = "segments" | "sequence"; type SpeechRecognitionErrorCode = "aborted" | "audio-capture" | "bad-grammar" | "language-not-supported" | "network" | "no-speech" | "not-allowed" | "service-not-allowed"; type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "interrupted" | "invalid-argument" | "language-unavailable" | "network" | "synthesis-failed" | "synthesis-unavailable" | "text-too-long" | "voice-unavailable"; type StreamFilterStatus = "closed" | "disconnected" | "failed" | "finishedtransferringdata" | "suspended" | "transferringdata" | "uninitialized"; type StringType = "inline" | "literal" | "other" | "stringbuffer"; type SupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml"; type TCPReadyState = "closed" | "closing" | "connecting" | "open"; type TCPSocketBinaryType = "arraybuffer" | "string"; type TaskPriority = "background" | "user-blocking" | "user-visible"; type TensorDataLocation = "cpu" | "cpu-pinned" | "gpu-buffer" | "ml-tensor" | "none" | "texture"; type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles"; type TextTrackMode = "disabled" | "hidden" | "showing"; type TouchEventsOverride = "disabled" | "enabled" | "none"; type TransferFunction = "hlg" | "pq" | "srgb"; type UniFFIScaffoldingCallCode = "error" | "internal-error" | "success"; type VRDisplayEventReason = "mounted" | "navigation" | "requested" | "unmounted"; type VREye = "left" | "right"; type VideoColorPrimaries = "bt2020" | "bt470bg" | "bt709" | "smpte170m" | "smpte432"; type VideoEncoderBitrateMode = "constant" | "quantizer" | "variable"; type VideoMatrixCoefficients = "bt2020-ncl" | "bt470bg" | "bt709" | "rgb" | "smpte170m"; type VideoPixelFormat = "BGRA" | "BGRX" | "I420" | "I420A" | "I420AP10" | "I420AP12" | "I420P10" | "I420P12" | "I422" | "I422A" | "I422AP10" | "I422AP12" | "I422P10" | "I422P12" | "I444" | "I444A" | "I444AP10" | "I444AP12" | "I444P10" | "I444P12" | "NV12" | "RGBA" | "RGBX"; type VideoTransferCharacteristics = "bt709" | "hlg" | "iec61966-2-1" | "linear" | "pq" | "smpte170m"; type VisibilityState = "hidden" | "visible"; type WakeLockType = "screen"; type WebGLPowerPreference = "default" | "high-performance" | "low-power"; type WebIDLProcType = "browser" | "extension" | "file" | "forkServer" | "gmpPlugin" | "gpu" | "inference" | "ipdlUnitTest" | "preallocated" | "privilegedabout" | "privilegedmozilla" | "rdd" | "socket" | "unknown" | "utility" | "vr" | "web" | "webIsolated" | "webServiceWorker" | "withCoopCoep"; type WebIDLUtilityActorName = "audioDecoder_AppleMedia" | "audioDecoder_Generic" | "audioDecoder_WMF" | "jSOracle" | "mfMediaEngineCDM" | "pkcs11Module" | "unknown" | "windowsFileDialog" | "windowsUtils"; type WebTransportCongestionControl = "default" | "low-latency" | "throughput"; type WebTransportErrorSource = "session" | "stream"; type WebTransportReliabilityMode = "pending" | "reliable-only" | "supports-unreliable"; type WireframeRectType = "background" | "image" | "text" | "unknown"; type WorkerType = "classic" | "module"; type WriteCommandType = "seek" | "truncate" | "write"; type WriteMode = "append" | "appendOrCreate" | "create" | "overwrite"; type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text"; type XREye = "left" | "none" | "right"; type XRHandedness = "left" | "none" | "right"; type XRReferenceSpaceType = "bounded-floor" | "local" | "local-floor" | "unbounded" | "viewer"; type XRSessionMode = "immersive-ar" | "immersive-vr" | "inline"; type XRTargetRayMode = "gaze" | "screen" | "tracked-pointer"; type XRVisibilityState = "hidden" | "visible" | "visible-blurred"; type mozPacketDumpType = "rtcp" | "rtp" | "srtcp" | "srtp"; ///////////////////////////// /// Window Iterable APIs ///////////////////////////// interface AudioParam { setValueCurveAtTime(values: Iterable, startTime: number, duration: number): AudioParam; } interface AudioParamMap extends ReadonlyMap { } interface AudioTrackList { [Symbol.iterator](): IterableIterator; } interface BaseAudioContext { createIIRFilter(feedforward: Iterable, feedback: Iterable): IIRFilterNode; createPeriodicWave(real: Iterable, imag: Iterable, constraints?: PeriodicWaveConstraints): PeriodicWave; } interface CSSKeyframesRule { [Symbol.iterator](): IterableIterator; } interface CSSNumericArray { [Symbol.iterator](): IterableIterator; entries(): IterableIterator<[number, CSSNumericValue]>; keys(): IterableIterator; values(): IterableIterator; } interface CSSRuleList { [Symbol.iterator](): IterableIterator; } interface CSSStyleDeclaration { [Symbol.iterator](): IterableIterator; } interface CSSTransformValue { [Symbol.iterator](): IterableIterator; entries(): IterableIterator<[number, CSSTransformComponent]>; keys(): IterableIterator; values(): IterableIterator; } interface CSSUnparsedValue { [Symbol.iterator](): IterableIterator; entries(): IterableIterator<[number, CSSUnparsedSegment]>; keys(): IterableIterator; values(): IterableIterator; } interface Cache { addAll(requests: Iterable): Promise; } interface CanvasPathDrawingStyles { setLineDash(segments: Iterable): void; } interface CanvasPathMethods { roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable): void; } interface CookieStoreManager { subscribe(subscriptions: Iterable): Promise; unsubscribe(subscriptions: Iterable): Promise; } interface CustomStateSet extends Set { } interface DOMLocalization { translateElements(aElements: Iterable): Promise; } interface DOMParser { parseFromBuffer(buf: Iterable, type: SupportedType): Document; } interface DOMRectList { [Symbol.iterator](): IterableIterator; } interface DOMStringList { [Symbol.iterator](): IterableIterator; } interface DOMTokenList { [Symbol.iterator](): IterableIterator; entries(): IterableIterator<[number, string | null]>; keys(): IterableIterator; values(): IterableIterator; } interface DataTransferItemList { [Symbol.iterator](): IterableIterator; } interface Document { createTouchList(touches: Iterable): TouchList; } interface EventCounts extends ReadonlyMap { } interface FileList { [Symbol.iterator](): IterableIterator; } interface FormData { [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>; entries(): IterableIterator<[string, FormDataEntryValue]>; keys(): IterableIterator; values(): IterableIterator; } interface FragmentDirective { createTextDirectiveForRanges(ranges: Iterable): Promise; } interface GPUBindingCommandsMixin { setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable): void; } interface GPUCommandEncoder { copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable): void; copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable): void; copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable): void; } interface GPUQueue { copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: Iterable): void; submit(buffers: Iterable): void; writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: Iterable): void; } interface GPURenderPassEncoder { executeBundles(bundles: Iterable): void; setBlendConstant(color: Iterable): void; } interface GPUSupportedFeatures extends ReadonlySet { } interface GleanCustomDistribution { accumulateSamples(aSamples: Iterable): void; } interface GleanStringList { set(aValue: Iterable): void; } interface GleanTimingDistribution { accumulateSamples(aSamples: Iterable): void; } interface GridLines { [Symbol.iterator](): IterableIterator; } interface GridTracks { [Symbol.iterator](): IterableIterator; } interface HTMLAllCollection { [Symbol.iterator](): IterableIterator; } interface HTMLCollectionBase { [Symbol.iterator](): IterableIterator; } interface HTMLFormElement { [Symbol.iterator](): IterableIterator; } interface HTMLInputElement { mozSetDndFilesAndDirectories(list: Iterable): void; mozSetFileArray(files: Iterable): void; mozSetFileNameArray(fileNames: Iterable): void; } interface HTMLSelectElement { [Symbol.iterator](): IterableIterator; } interface Headers { [Symbol.iterator](): IterableIterator<[string, string]>; entries(): IterableIterator<[string, string]>; keys(): IterableIterator; values(): IterableIterator; } interface HeapSnapshot { computeShortestPaths(start: NodeId, targets: Iterable, maxNumPaths: number): any; } interface Highlight extends Set { } interface HighlightRegistry extends Map { } interface IDBDatabase { transaction(storeNames: string | Iterable, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction; } interface IDBObjectStore { createIndex(name: string, keyPath: string | Iterable, optionalParameters?: IDBIndexParameters): IDBIndex; } interface ImageTrackList { [Symbol.iterator](): IterableIterator; } interface IntlUtils { getDisplayNames(locales: Iterable, options?: DisplayNameOptions): DisplayNameResult; } interface L10nRegistry { generateBundles(aLocales: Iterable, aResourceIds: Iterable): FluentBundleAsyncIterator; generateBundlesSync(aLocales: Iterable, aResourceIds: Iterable): FluentBundleIterator; registerSources(aSources: Iterable): void; removeSources(aSources: Iterable): void; updateSources(aSources: Iterable): void; } interface Localization { addResourceIds(aResourceIds: Iterable): void; formatMessages(aKeys: Iterable): Promise<(L10nMessage | null)[]>; formatMessagesSync(aKeys: Iterable): (L10nMessage | null)[]; formatValues(aKeys: Iterable): Promise<(string | null)[]>; formatValuesSync(aKeys: Iterable): (string | null)[]; removeResourceIds(aResourceIds: Iterable): number; } interface MIDIInputMap extends ReadonlyMap { } interface MIDIOutput { send(data: Iterable, timestamp?: DOMHighResTimeStamp): void; } interface MIDIOutputMap extends ReadonlyMap { } interface MediaKeyStatusMap { [Symbol.iterator](): IterableIterator<[ArrayBuffer, MediaKeyStatus]>; entries(): IterableIterator<[ArrayBuffer, MediaKeyStatus]>; keys(): IterableIterator; values(): IterableIterator; } interface MediaList { [Symbol.iterator](): IterableIterator; } interface MessageEvent { initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable): void; } interface MessagePort { postMessage(message: any, transferable: Iterable): void; } interface MimeTypeArray { [Symbol.iterator](): IterableIterator; } interface MozDocumentObserver { observe(matchers: Iterable): void; } interface MozSharedMap { [Symbol.iterator](): IterableIterator<[string, StructuredClonable]>; entries(): IterableIterator<[string, StructuredClonable]>; keys(): IterableIterator; values(): IterableIterator; } interface MozStorageAsyncStatementParams { [Symbol.iterator](): IterableIterator; } interface MozStorageStatementParams { [Symbol.iterator](): IterableIterator; } interface NamedNodeMap { [Symbol.iterator](): IterableIterator; } interface Navigator { requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable): Promise; vibrate(pattern: Iterable): boolean; } interface NodeList { [Symbol.iterator](): IterableIterator; entries(): IterableIterator<[number, Node | null]>; keys(): IterableIterator; values(): IterableIterator; } interface PaintRequestList { [Symbol.iterator](): IterableIterator; } interface PeerConnectionObserver { fireTrackEvent(receiver: RTCRtpReceiver, streams: Iterable): void; } interface PlacesEventCounts extends ReadonlyMap { } interface Plugin { [Symbol.iterator](): IterableIterator; } interface PluginArray { [Symbol.iterator](): IterableIterator; } interface RTCRtpTransceiver { setCodecPreferences(codecs: Iterable): void; } interface RTCStatsReport extends ReadonlyMap { } interface SVGLengthList { [Symbol.iterator](): IterableIterator; } interface SVGNumberList { [Symbol.iterator](): IterableIterator; } interface SVGPathData { setPathData(pathData: Iterable): void; } interface SVGPointList { [Symbol.iterator](): IterableIterator; } interface SVGStringList { [Symbol.iterator](): IterableIterator; } interface SVGTransformList { [Symbol.iterator](): IterableIterator; } interface Screen { mozLockOrientation(orientation: Iterable): boolean; } interface ServiceWorker { postMessage(message: any, transferable: Iterable): void; } interface SourceBufferList { [Symbol.iterator](): IterableIterator; } interface SpeechGrammarList { [Symbol.iterator](): IterableIterator; } interface SpeechRecognitionResult { [Symbol.iterator](): IterableIterator; } interface SpeechRecognitionResultList { [Symbol.iterator](): IterableIterator; } interface StylePropertyMapReadOnly { [Symbol.iterator](): IterableIterator<[string, Iterable]>; entries(): IterableIterator<[string, Iterable]>; keys(): IterableIterator; values(): IterableIterator>; } interface StyleSheetList { [Symbol.iterator](): IterableIterator; } interface SubtleCrypto { deriveKey(algorithm: AlgorithmIdentifier, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable): Promise; generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable): Promise; importKey(format: KeyFormat, keyData: any, algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable): Promise; unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable): Promise; } interface TestInterfaceIterableDouble { [Symbol.iterator](): IterableIterator<[string, string]>; entries(): IterableIterator<[string, string]>; keys(): IterableIterator; values(): IterableIterator; } interface TestInterfaceIterableDoubleUnion { [Symbol.iterator](): IterableIterator<[string, string | number]>; entries(): IterableIterator<[string, string | number]>; keys(): IterableIterator; values(): IterableIterator; } interface TestInterfaceIterableSingle { [Symbol.iterator](): IterableIterator; entries(): IterableIterator<[number, number]>; keys(): IterableIterator; values(): IterableIterator; } interface TestInterfaceJS { anySequenceLength(seq: Iterable): number; objectSequenceLength(seq: Iterable): number; testSequenceOverload(arg: Iterable): void; testSequenceUnion(arg: Iterable | string): void; } interface TestInterfaceMaplike extends Map { } interface TestInterfaceMaplikeJSObject extends ReadonlyMap { } interface TestInterfaceMaplikeObject extends ReadonlyMap { } interface TestInterfaceSetlike extends Set { } interface TestInterfaceSetlikeNode extends Set { } interface TestReflectedHTMLAttribute { setReflectedHTMLAttributeValue(seq: Iterable): void; } interface TextTrackCueList { [Symbol.iterator](): IterableIterator; } interface TextTrackList { [Symbol.iterator](): IterableIterator; } interface TouchList { [Symbol.iterator](): IterableIterator; } interface TreeColumns { [Symbol.iterator](): IterableIterator; } interface URLSearchParams { [Symbol.iterator](): IterableIterator<[string, string]>; entries(): IterableIterator<[string, string]>; keys(): IterableIterator; values(): IterableIterator; } interface VRDisplay { requestPresent(layers: Iterable): Promise; } interface VideoTrackList { [Symbol.iterator](): IterableIterator; } interface ViewTransitionTypeSet extends Set { } interface WEBGL_draw_buffers { drawBuffersWEBGL(buffers: Iterable): void; } interface WGSLLanguageFeatures extends ReadonlySet { } interface WebGL2RenderingContextBase { clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable, srcOffset?: GLuint): void; clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable, srcOffset?: GLuint): void; clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable, srcOffset?: GLuint): void; drawBuffers(buffers: Iterable): void; getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable, pname: GLenum): any; getUniformIndices(program: WebGLProgram, uniformNames: Iterable): GLuint[] | null; invalidateFramebuffer(target: GLenum, attachments: Iterable): void; invalidateSubFramebuffer(target: GLenum, attachments: Iterable, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void; transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable, bufferMode: GLenum): void; uniform1fv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform1iv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform1uiv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform2fv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform2iv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform2uiv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform3fv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform3iv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform3uiv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform4fv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform4iv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniform4uiv(location: WebGLUniformLocation | null, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable, srcOffset?: GLuint, srcLength?: GLuint): void; vertexAttribI4iv(index: GLuint, values: Iterable): void; vertexAttribI4uiv(index: GLuint, values: Iterable): void; } interface WebGLRenderingContext { uniform1fv(location: WebGLUniformLocation | null, data: Iterable): void; uniform1iv(location: WebGLUniformLocation | null, data: Iterable): void; uniform2fv(location: WebGLUniformLocation | null, data: Iterable): void; uniform2iv(location: WebGLUniformLocation | null, data: Iterable): void; uniform3fv(location: WebGLUniformLocation | null, data: Iterable): void; uniform3iv(location: WebGLUniformLocation | null, data: Iterable): void; uniform4fv(location: WebGLUniformLocation | null, data: Iterable): void; uniform4iv(location: WebGLUniformLocation | null, data: Iterable): void; uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable): void; uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable): void; uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable): void; } interface WebGLRenderingContextBase { vertexAttrib1fv(indx: GLuint, values: Iterable): void; vertexAttrib2fv(indx: GLuint, values: Iterable): void; vertexAttrib3fv(indx: GLuint, values: Iterable): void; vertexAttrib4fv(indx: GLuint, values: Iterable): void; } interface Window { postMessage(message: any, targetOrigin: string, transfer?: Iterable): void; setScrollMarks(marks: Iterable, onHorizontalScrollbar?: boolean): void; synthesizeTouchEvent(type: string, touches: Iterable, modifiers?: number, options?: SynthesizeTouchEventOptions, callback?: VoidFunction): boolean; } interface Worker { postMessage(message: any, transfer: Iterable): void; } interface XRInputSourceArray { [Symbol.iterator](): IterableIterator; entries(): IterableIterator<[number, XRInputSource]>; keys(): IterableIterator; values(): IterableIterator; } interface XSLTProcessor { setParameter(namespaceURI: string | null, localName: string, value: Iterable): void; } ///////////////////////////// /// Window Async Iterable APIs ///////////////////////////// interface FileSystemDirectoryHandle { [Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>; entries(): AsyncIterableIterator<[string, FileSystemHandle]>; keys(): AsyncIterableIterator; values(): AsyncIterableIterator; } interface ReadableStream { [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): AsyncIterableIterator; values(options?: ReadableStreamIteratorOptions): AsyncIterableIterator; } interface TestInterfaceAsyncIterableDouble { [Symbol.asyncIterator](): AsyncIterableIterator<[string, string]>; entries(): AsyncIterableIterator<[string, string]>; keys(): AsyncIterableIterator; values(): AsyncIterableIterator; } interface TestInterfaceAsyncIterableDoubleUnion { [Symbol.asyncIterator](): AsyncIterableIterator<[string, string | number]>; entries(): AsyncIterableIterator<[string, string | number]>; keys(): AsyncIterableIterator; values(): AsyncIterableIterator; } interface TestInterfaceAsyncIterableSingle { [Symbol.asyncIterator](): AsyncIterableIterator; values(): AsyncIterableIterator; } interface TestInterfaceAsyncIterableSingleWithArgs { [Symbol.asyncIterator](options?: TestInterfaceAsyncIteratorOptions): AsyncIterableIterator; values(options?: TestInterfaceAsyncIteratorOptions): AsyncIterableIterator; } declare namespace CSS { export { _in as in, }; }