/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABILITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
///
///
/////////////////////////////
/// Window APIs
/////////////////////////////
interface AacEncoderConfig {
format?: AacBitstreamFormat;
}
interface AddEventListenerOptions extends EventListenerOptions {
once?: boolean;
passive?: boolean;
signal?: AbortSignal;
}
interface AddressErrors {
addressLine?: string;
city?: string;
country?: string;
dependentLocality?: string;
organization?: string;
phone?: string;
postalCode?: string;
recipient?: string;
region?: string;
sortingCode?: string;
}
interface AesCbcParams extends Algorithm {
iv: BufferSource;
}
interface AesCtrParams extends Algorithm {
counter: BufferSource;
length: number;
}
interface AesDerivedKeyParams extends Algorithm {
length: number;
}
interface AesGcmParams extends Algorithm {
additionalData?: BufferSource;
iv: BufferSource;
tagLength?: number;
}
interface AesKeyAlgorithm extends KeyAlgorithm {
length: number;
}
interface AesKeyGenParams extends Algorithm {
length: number;
}
interface Algorithm {
name: string;
}
interface AllAcceptedCredentialsOptions {
allAcceptedCredentialIds: Base64URLString[];
rpId: string;
userId: Base64URLString;
}
interface AnalyserOptions extends AudioNodeOptions {
fftSize?: number;
maxDecibels?: number;
minDecibels?: number;
smoothingTimeConstant?: number;
}
interface AnimationEventInit extends EventInit {
animation?: CSSAnimation | null;
animationName?: string;
elapsedTime?: number;
pseudoElement?: string;
}
interface AnimationPlaybackEventInit extends EventInit {
currentTime?: CSSNumberish | null;
timelineTime?: CSSNumberish | null;
}
interface AssignedNodesOptions {
flatten?: boolean;
}
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;
spatialRendering?: boolean;
}
interface AudioContextOptions {
latencyHint?: AudioContextLatencyCategory | number;
sampleRate?: number;
}
interface AudioDataCopyToOptions {
format?: AudioSampleFormat;
frameCount?: number;
frameOffset?: number;
planeIndex: number;
}
interface AudioDataInit {
data: BufferSource;
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 {
aac?: AacEncoderConfig;
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 AudioProcessingEventInit extends EventInit {
inputBuffer: AudioBuffer;
outputBuffer: AudioBuffer;
playbackTime: number;
}
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?: string;
enforceCredentialProtectionPolicy?: boolean;
hmacCreateSecret?: boolean;
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
minPinLength?: boolean;
prf?: AuthenticationExtensionsPRFInputs;
}
interface AuthenticationExtensionsClientInputsJSON {
appid?: string;
credProps?: boolean;
largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
prf?: AuthenticationExtensionsPRFInputsJSON;
}
interface AuthenticationExtensionsClientOutputs {
appid?: boolean;
credProps?: CredentialPropertiesOutput;
hmacCreateSecret?: boolean;
largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
prf?: AuthenticationExtensionsPRFOutputs;
}
interface AuthenticationExtensionsClientOutputsJSON {
appid?: boolean;
credProps?: CredentialPropertiesOutput;
largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON;
prf?: AuthenticationExtensionsPRFOutputsJSON;
}
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 AuthenticationExtensionsLargeBlobOutputsJSON {
blob?: Base64URLString;
supported?: boolean;
written?: boolean;
}
interface AuthenticationExtensionsPRFInputs {
eval?: AuthenticationExtensionsPRFValues;
evalByCredential?: Record;
}
interface AuthenticationExtensionsPRFInputsJSON {
eval?: AuthenticationExtensionsPRFValuesJSON;
evalByCredential?: Record;
}
interface AuthenticationExtensionsPRFOutputs {
enabled?: boolean;
results?: AuthenticationExtensionsPRFValues;
}
interface AuthenticationExtensionsPRFOutputsJSON {
enabled?: boolean;
results?: AuthenticationExtensionsPRFValuesJSON;
}
interface AuthenticationExtensionsPRFValues {
first: BufferSource;
second?: BufferSource;
}
interface AuthenticationExtensionsPRFValuesJSON {
first: Base64URLString;
second?: Base64URLString;
}
interface AuthenticationResponseJSON {
authenticatorAttachment?: string;
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
id: string;
rawId: Base64URLString;
response: AuthenticatorAssertionResponseJSON;
type: string;
}
interface AuthenticatorAssertionResponseJSON {
authenticatorData: Base64URLString;
clientDataJSON: Base64URLString;
signature: Base64URLString;
userHandle?: Base64URLString;
}
interface AuthenticatorAttestationResponseJSON {
attestationObject: Base64URLString;
authenticatorData: Base64URLString;
clientDataJSON: Base64URLString;
publicKey?: Base64URLString;
publicKeyAlgorithm: COSEAlgorithmIdentifier;
transports: string[];
}
interface AuthenticatorSelectionCriteria {
authenticatorAttachment?: AuthenticatorAttachment;
requireResidentKey?: boolean;
residentKey?: ResidentKeyRequirement;
userVerification?: UserVerificationRequirement;
}
interface AvcEncoderConfig {
format?: AvcBitstreamFormat;
}
interface BiquadFilterOptions extends AudioNodeOptions {
Q?: number;
detune?: number;
frequency?: number;
gain?: number;
type?: BiquadFilterType;
}
interface BlobEventInit extends EventInit {
data: Blob;
timecode?: DOMHighResTimeStamp;
}
interface BlobPropertyBag {
endings?: EndingType;
type?: string;
}
interface CSSContainerCondition {
name: string;
query: string;
}
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 | null;
disabled?: boolean;
media?: MediaList | string;
}
interface CacheQueryOptions {
ignoreMethod?: boolean;
ignoreSearch?: boolean;
ignoreVary?: boolean;
}
interface CanvasRenderingContext2DSettings {
alpha?: boolean;
colorSpace?: PredefinedColorSpace;
desynchronized?: boolean;
willReadFrequently?: boolean;
}
interface CaretPositionFromPointOptions {
shadowRoots?: ShadowRoot[];
}
interface ChannelMergerOptions extends AudioNodeOptions {
numberOfInputs?: number;
}
interface ChannelSplitterOptions extends AudioNodeOptions {
numberOfOutputs?: number;
}
interface CheckVisibilityOptions {
checkOpacity?: boolean;
checkVisibilityCSS?: boolean;
contentVisibilityAuto?: boolean;
opacityProperty?: boolean;
visibilityProperty?: boolean;
}
interface ClientQueryOptions {
includeUncontrolled?: boolean;
type?: ClientTypes;
}
interface ClipboardEventInit extends EventInit {
clipboardData?: DataTransfer | null;
}
interface ClipboardItemOptions {
presentationStyle?: PresentationStyle;
}
interface CloseEventInit extends EventInit {
code?: number;
reason?: string;
wasClean?: boolean;
}
interface CloseWatcherOptions {
signal?: AbortSignal;
}
interface CommandEventInit extends EventInit {
command?: string;
source?: Element | null;
}
interface CompositionEventInit extends UIEventInit {
data?: string;
}
interface ComputedEffectTiming extends EffectTiming {
activeDuration?: CSSNumberish;
currentIteration?: number | null;
endTime?: CSSNumberish;
localTime?: CSSNumberish | null;
progress?: number | null;
startTime?: CSSNumberish;
}
interface ComputedKeyframe {
composite: CompositeOperationOrAuto;
computedOffset: number;
easing: string;
offset: number | null;
[property: string]: string | number | null | undefined;
}
interface ConstantSourceOptions {
offset?: number;
}
interface ConstrainBooleanOrDOMStringParameters {
exact?: boolean | string;
ideal?: boolean | string;
}
interface ConstrainBooleanParameters {
exact?: boolean;
ideal?: boolean;
}
interface ConstrainDOMStringParameters {
exact?: string | string[];
ideal?: string | string[];
}
interface ConstrainDoubleRange extends DoubleRange {
exact?: number;
ideal?: number;
}
interface ConstrainULongRange extends ULongRange {
exact?: number;
ideal?: number;
}
interface ContentVisibilityAutoStateChangeEventInit extends EventInit {
skipped?: boolean;
}
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;
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 CredentialCreationOptions {
publicKey?: PublicKeyCredentialCreationOptions;
signal?: AbortSignal;
}
interface CredentialPropertiesOutput {
rk?: boolean;
}
interface CredentialRequestOptions {
mediation?: CredentialMediationRequirement;
publicKey?: PublicKeyCredentialRequestOptions;
signal?: AbortSignal;
}
interface CryptoKeyPair {
privateKey: CryptoKey;
publicKey: CryptoKey;
}
interface CurrentUserDetailsOptions {
displayName: string;
name: string;
rpId: string;
userId: Base64URLString;
}
interface CustomEventInit extends EventInit {
detail?: T;
}
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 DelayOptions extends AudioNodeOptions {
delayTime?: number;
maxDelayTime?: number;
}
interface DeviceMotionEventAccelerationInit {
x?: number | null;
y?: number | null;
z?: number | null;
}
interface DeviceMotionEventInit extends EventInit {
acceleration?: DeviceMotionEventAccelerationInit;
accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;
interval?: number;
rotationRate?: DeviceMotionEventRotationRateInit;
}
interface DeviceMotionEventRotationRateInit {
alpha?: number | null;
beta?: number | null;
gamma?: number | null;
}
interface DeviceOrientationEventInit extends EventInit {
absolute?: boolean;
alpha?: number | null;
beta?: number | null;
gamma?: number | null;
}
interface DisplayMediaStreamOptions {
audio?: boolean | MediaTrackConstraints;
video?: boolean | MediaTrackConstraints;
}
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 EcKeyAlgorithm extends KeyAlgorithm {
namedCurve: NamedCurve;
}
interface EcKeyGenParams extends Algorithm {
namedCurve: NamedCurve;
}
interface EcKeyImportParams extends Algorithm {
namedCurve: NamedCurve;
}
interface EcdhKeyDeriveParams extends Algorithm {
public: CryptoKey;
}
interface EcdsaParams extends Algorithm {
hash: HashAlgorithmIdentifier;
}
interface EffectTiming {
delay?: number;
direction?: PlaybackDirection;
duration?: number | CSSNumericValue | string;
easing?: string;
endDelay?: number;
fill?: FillMode;
iterationStart?: number;
iterations?: number;
playbackRate?: number;
}
interface ElementCreationOptions {
customElementRegistry?: CustomElementRegistry | null;
is?: 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;
}
interface EventModifierInit extends UIEventInit {
altKey?: boolean;
ctrlKey?: boolean;
metaKey?: boolean;
modifierAltGraph?: boolean;
modifierCapsLock?: boolean;
modifierFn?: boolean;
modifierFnLock?: boolean;
modifierHyper?: boolean;
modifierNumLock?: boolean;
modifierScrollLock?: boolean;
modifierSuper?: boolean;
modifierSymbol?: boolean;
modifierSymbolLock?: boolean;
shiftKey?: boolean;
}
interface EventSourceInit {
withCredentials?: boolean;
}
interface FilePropertyBag extends BlobPropertyBag {
lastModified?: number;
}
interface FileSystemCreateWritableOptions {
keepExistingData?: boolean;
}
interface FileSystemFlags {
create?: boolean;
exclusive?: boolean;
}
interface FileSystemGetDirectoryOptions {
create?: boolean;
}
interface FileSystemGetFileOptions {
create?: boolean;
}
interface FileSystemRemoveOptions {
recursive?: boolean;
}
interface FocusEventInit extends UIEventInit {
relatedTarget?: EventTarget | null;
}
interface FocusOptions {
focusVisible?: boolean;
preventScroll?: boolean;
}
interface FontFaceDescriptors {
ascentOverride?: string;
descentOverride?: string;
display?: FontDisplay;
featureSettings?: string;
lineGapOverride?: string;
stretch?: string;
style?: string;
unicodeRange?: string;
variationSettings?: string;
weight?: string;
}
interface FontFaceSetLoadEventInit extends EventInit {
fontfaces?: FontFace[];
}
interface FormDataEventInit extends EventInit {
formData: FormData;
}
interface FullscreenOptions {
keyboardLock?: FullscreenKeyboardLock;
navigationUI?: FullscreenNavigationUI;
}
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;
colorSpace?: PredefinedColorSpace;
device: GPUDevice;
format: GPUTextureFormat;
toneMapping?: GPUCanvasToneMapping;
usage?: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}
interface GPUCanvasToneMapping {
mode?: GPUCanvasToneMappingMode;
}
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 {
colorSpace?: PredefinedColorSpace;
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)[];
immediateSize?: GPUSize32;
}
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;
maxDrawCount?: GPUSize64;
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 {
forceFallbackAdapter?: boolean;
powerPreference?: GPUPowerPreference;
}
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 GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}
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 GamepadEffectParameters {
duration?: number;
leftTrigger?: number;
rightTrigger?: number;
startDelay?: number;
strongMagnitude?: number;
weakMagnitude?: number;
}
interface GamepadEventInit extends EventInit {
gamepad?: Gamepad | null;
}
interface GetAnimationsOptions {
subtree?: boolean;
}
interface GetComposedRangesOptions {
shadowRoots?: ShadowRoot[];
}
interface GetHTMLOptions {
serializableShadowRoots?: boolean;
shadowRoots?: ShadowRoot[];
}
interface GetNotificationOptions {
tag?: string;
}
interface GetRootNodeOptions {
composed?: boolean;
}
interface HashChangeEventInit extends EventInit {
newURL?: string;
oldURL?: string;
}
interface HighlightHitResult {
highlight?: Highlight;
ranges?: AbstractRange[];
}
interface HighlightsFromPointOptions {
shadowRoots?: ShadowRoot[];
}
interface HkdfParams extends Algorithm {
hash: HashAlgorithmIdentifier;
info: BufferSource;
salt: BufferSource;
}
interface HmacImportParams extends Algorithm {
hash: HashAlgorithmIdentifier;
length?: number;
}
interface HmacKeyAlgorithm extends KeyAlgorithm {
hash: KeyAlgorithm;
length: number;
}
interface HmacKeyGenParams extends Algorithm {
hash: HashAlgorithmIdentifier;
length?: number;
}
interface IDBDatabaseInfo {
name?: string;
version?: number;
}
interface IDBIndexParameters {
multiEntry?: boolean;
unique?: boolean;
}
interface IDBObjectStoreParameters {
autoIncrement?: boolean;
keyPath?: string | string[] | null;
}
interface IDBTransactionOptions {
durability?: IDBTransactionDurability;
}
interface IDBVersionChangeEventInit extends EventInit {
newVersion?: number | null;
oldVersion?: number;
}
interface IIRFilterOptions extends AudioNodeOptions {
feedback: number[];
feedforward: number[];
}
interface IdleRequestOptions {
timeout?: number;
}
interface ImageBitmapOptions {
colorSpaceConversion?: ColorSpaceConversion;
imageOrientation?: ImageOrientation;
premultiplyAlpha?: PremultiplyAlpha;
resizeHeight?: number;
resizeQuality?: ResizeQuality;
resizeWidth?: number;
}
interface ImageBitmapRenderingContextSettings {
alpha?: boolean;
}
interface ImageDataSettings {
colorSpace?: PredefinedColorSpace;
pixelFormat?: ImageDataPixelFormat;
}
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 ImportNodeOptions {
customElementRegistry?: CustomElementRegistry;
selfOnly?: boolean;
}
interface InputEventInit extends UIEventInit {
data?: string | null;
dataTransfer?: DataTransfer | null;
inputType?: string;
isComposing?: boolean;
targetRanges?: StaticRange[];
}
interface IntersectionObserverInit {
root?: Element | Document | null;
rootMargin?: string;
scrollMargin?: string;
threshold?: number | number[];
}
interface JsonWebKey {
alg?: string;
crv?: string;
d?: string;
dp?: string;
dq?: string;
e?: string;
ext?: boolean;
k?: string;
key_ops?: string[];
kty?: string;
n?: string;
oth?: RsaOtherPrimesInfo[];
p?: string;
q?: string;
qi?: string;
use?: string;
x?: string;
y?: string;
}
interface KeyAlgorithm {
name: string;
}
interface KeySystemTrackConfiguration {
robustness?: string;
}
interface KeyboardEventInit extends EventModifierInit {
/** @deprecated `charCode` is inconsistent across environments, consider using `key` instead. */
charCode?: number;
code?: string;
isComposing?: boolean;
key?: string;
/** @deprecated `keyCode` is inconsistent across environments, consider using `key` instead. */
keyCode?: number;
location?: number;
repeat?: boolean;
}
interface Keyframe {
composite?: CompositeOperationOrAuto;
easing?: string;
offset?: number | null;
[property: string]: string | number | CSSStyleValue | null | undefined;
}
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
id?: string;
rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
timeline?: AnimationTimeline | null;
}
interface KeyframeEffectOptions extends EffectTiming {
composite?: CompositeOperation;
iterationComposite?: IterationCompositeOperation;
pseudoElement?: string | null;
}
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;
}
interface MIDIMessageEventInit extends EventInit {
data?: Uint8Array;
}
interface MIDIOptions {
software?: boolean;
sysex?: boolean;
}
interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
keySystemAccess: MediaKeySystemAccess | null;
}
interface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo {
}
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 MediaDecodingConfiguration extends MediaConfiguration {
keySystemConfiguration?: MediaCapabilitiesKeySystemConfiguration;
type: MediaDecodingType;
}
interface MediaElementAudioSourceOptions {
mediaElement: HTMLMediaElement;
}
interface MediaEncodingConfiguration extends MediaConfiguration {
type: MediaEncodingType;
}
interface MediaEncryptedEventInit extends EventInit {
initData?: ArrayBuffer | null;
initDataType?: string;
}
interface MediaImage {
sizes?: string;
src: string;
type?: string;
}
interface MediaKeyMessageEventInit extends EventInit {
message: ArrayBuffer;
messageType: MediaKeyMessageType;
}
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?: string;
}
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 MediaRecorderOptions {
audioBitsPerSecond?: number;
bitsPerSecond?: number;
mimeType?: string;
videoBitsPerSecond?: number;
}
interface MediaSessionActionDetails {
action: MediaSessionAction;
fastSeek?: boolean;
seekOffset?: number;
seekTime?: number;
}
interface MediaSettingsRange {
max?: number;
min?: number;
step?: number;
}
interface MediaStreamAudioSourceOptions {
mediaStream: MediaStream;
}
interface MediaStreamConstraints {
audio?: boolean | MediaTrackConstraints;
peerIdentity?: string;
preferCurrentTab?: boolean;
video?: boolean | MediaTrackConstraints;
}
interface MediaStreamTrackEventInit extends EventInit {
track: MediaStreamTrack;
}
interface MediaTrackCapabilities {
aspectRatio?: DoubleRange;
autoGainControl?: boolean[];
backgroundBlur?: boolean[];
channelCount?: ULongRange;
deviceId?: string;
displaySurface?: string;
echoCancellation?: (boolean | string)[];
facingMode?: string[];
frameRate?: DoubleRange;
groupId?: string;
height?: ULongRange;
noiseSuppression?: boolean[];
sampleRate?: ULongRange;
sampleSize?: ULongRange;
width?: ULongRange;
}
interface MediaTrackConstraintSet {
aspectRatio?: ConstrainDouble;
autoGainControl?: ConstrainBoolean;
backgroundBlur?: ConstrainBoolean;
channelCount?: ConstrainULong;
deviceId?: ConstrainDOMString;
displaySurface?: ConstrainDOMString;
echoCancellation?: ConstrainBooleanOrDOMString;
facingMode?: ConstrainDOMString;
frameRate?: ConstrainDouble;
groupId?: ConstrainDOMString;
height?: ConstrainULong;
noiseSuppression?: ConstrainBoolean;
sampleRate?: ConstrainULong;
sampleSize?: ConstrainULong;
width?: ConstrainULong;
}
interface MediaTrackConstraints extends MediaTrackConstraintSet {
advanced?: MediaTrackConstraintSet[];
}
interface MediaTrackSettings {
aspectRatio?: number;
autoGainControl?: boolean;
backgroundBlur?: boolean;
channelCount?: number;
deviceId?: string;
displaySurface?: string;
echoCancellation?: boolean | string;
facingMode?: string;
frameRate?: number;
groupId?: string;
height?: number;
noiseSuppression?: boolean;
sampleRate?: number;
sampleSize?: number;
torch?: boolean;
whiteBalanceMode?: string;
width?: number;
zoom?: number;
}
interface MediaTrackSupportedConstraints {
aspectRatio?: boolean;
autoGainControl?: boolean;
backgroundBlur?: boolean;
channelCount?: boolean;
deviceId?: boolean;
displaySurface?: boolean;
echoCancellation?: boolean;
facingMode?: boolean;
frameRate?: boolean;
groupId?: boolean;
height?: boolean;
noiseSuppression?: boolean;
sampleRate?: boolean;
sampleSize?: boolean;
width?: boolean;
}
interface MessageEventInit extends EventInit {
data?: T;
lastEventId?: string;
origin?: string;
ports?: MessagePort[];
source?: MessageEventSource | null;
}
interface MouseEventInit extends EventModifierInit {
button?: number;
buttons?: number;
clientX?: number;
clientY?: number;
movementX?: number;
movementY?: number;
relatedTarget?: EventTarget | null;
screenX?: number;
screenY?: number;
}
interface MultiCacheQueryOptions extends CacheQueryOptions {
cacheName?: string;
}
interface MutationObserverInit {
/** Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. */
attributeFilter?: string[];
/** Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. */
attributeOldValue?: boolean;
/** Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */
attributes?: boolean;
/** Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. */
characterData?: boolean;
/** Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. */
characterDataOldValue?: boolean;
/** Set to true if mutations to target's children are to be observed. */
childList?: boolean;
/** Set to true if mutations to not just target, but also target's descendants are to be observed. */
subtree?: boolean;
}
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;
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 NotificationAction {
action: string;
title: string;
}
interface NotificationOptions {
badge?: string;
body?: string;
data?: any;
dir?: NotificationDirection;
icon?: string;
lang?: string;
requireInteraction?: boolean;
silent?: boolean | null;
tag?: string;
}
interface OfflineAudioCompletionEventInit extends EventInit {
renderedBuffer: AudioBuffer;
}
interface OfflineAudioContextOptions {
length: number;
numberOfChannels?: number;
sampleRate: number;
}
interface OptionalEffectTiming {
delay?: number;
direction?: PlaybackDirection;
duration?: number | string;
easing?: string;
endDelay?: number;
fill?: FillMode;
iterationStart?: number;
iterations?: number;
playbackRate?: number;
}
interface OpusEncoderConfig {
complexity?: number;
format?: OpusBitstreamFormat;
frameDuration?: number;
packetlossperc?: number;
usedtx?: boolean;
useinbandfec?: boolean;
}
interface OscillatorOptions extends AudioNodeOptions {
detune?: number;
frequency?: number;
periodicWave?: PeriodicWave;
type?: OscillatorType;
}
interface PageRevealEventInit extends EventInit {
viewTransition?: ViewTransition | null;
}
interface PageSwapEventInit extends EventInit {
activation?: NavigationActivation | null;
viewTransition?: ViewTransition | null;
}
interface PageTransitionEventInit extends EventInit {
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 ParseHTMLUnsafeOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}
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;
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 {
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;
shippingAddress?: AddressErrors;
}
interface Pbkdf2Params extends Algorithm {
hash: HashAlgorithmIdentifier;
iterations: number;
salt: BufferSource;
}
interface PerformanceMarkOptions {
detail?: any;
startTime?: DOMHighResTimeStamp;
}
interface PerformanceMeasureOptions {
detail?: any;
duration?: DOMHighResTimeStamp;
end?: string | DOMHighResTimeStamp;
start?: string | DOMHighResTimeStamp;
}
interface PerformanceObserverInit {
buffered?: boolean;
entryTypes?: string[];
type?: string;
}
interface PeriodicWaveConstraints {
disableNormalization?: boolean;
}
interface PeriodicWaveOptions extends PeriodicWaveConstraints {
imag?: number[] | Float32Array;
real?: number[] | Float32Array;
}
interface PermissionDescriptor {
name: PermissionName;
}
interface PhotoCapabilities {
fillLightMode?: FillLightMode[];
imageHeight?: MediaSettingsRange;
imageWidth?: MediaSettingsRange;
redEyeReduction?: RedEyeReduction;
}
interface PhotoSettings {
fillLightMode?: FillLightMode;
imageHeight?: number;
imageWidth?: number;
redEyeReduction?: boolean;
}
interface PictureInPictureEventInit extends EventInit {
pictureInPictureWindow: PictureInPictureWindow;
}
interface PlaneLayout {
offset: number;
stride: number;
}
interface PointerEventInit extends MouseEventInit {
altitudeAngle?: number;
azimuthAngle?: number;
coalescedEvents?: PointerEvent[];
height?: number;
isPrimary?: boolean;
pointerId?: number;
pointerType?: string;
predictedEvents?: PointerEvent[];
pressure?: number;
tangentialPressure?: number;
tiltX?: number;
tiltY?: number;
twist?: number;
width?: number;
}
interface PointerLockOptions {
unadjustedMovement?: boolean;
}
interface PopStateEventInit extends EventInit {
hasUAVisualTransition?: boolean;
state?: any;
}
interface PositionOptions {
enableHighAccuracy?: boolean;
maximumAge?: number;
timeout?: number;
}
interface ProgressEventInit extends EventInit {
lengthComputable?: boolean;
loaded?: number;
total?: number;
}
interface PromiseRejectionEventInit extends EventInit {
promise: Promise;
reason?: any;
}
interface PropertyDefinition {
inherits: boolean;
initialValue?: string;
name: string;
syntax?: string;
}
interface PropertyIndexedKeyframes {
composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];
easing?: string | string[];
offset?: number | (number | null)[];
[property: string]: string | string[] | number | CSSStyleValue | CSSStyleValue[] | null | (number | null)[] | undefined;
}
interface PublicKeyCredentialCreationOptions {
attestation?: AttestationConveyancePreference;
authenticatorSelection?: AuthenticatorSelectionCriteria;
challenge: BufferSource;
excludeCredentials?: PublicKeyCredentialDescriptor[];
extensions?: AuthenticationExtensionsClientInputs;
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?: AuthenticatorTransport[];
type: PublicKeyCredentialType;
}
interface PublicKeyCredentialDescriptorJSON {
id: Base64URLString;
transports?: string[];
type: string;
}
interface PublicKeyCredentialEntity {
name: string;
}
interface PublicKeyCredentialParameters {
alg: COSEAlgorithmIdentifier;
type: PublicKeyCredentialType;
}
interface PublicKeyCredentialRequestOptions {
allowCredentials?: PublicKeyCredentialDescriptor[];
challenge: BufferSource;
extensions?: AuthenticationExtensionsClientInputs;
rpId?: string;
timeout?: number;
userVerification?: UserVerificationRequirement;
}
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 PushSubscriptionJSON {
endpoint?: string;
expirationTime?: EpochTimeStamp | null;
keys?: Record;
}
interface PushSubscriptionOptionsInit {
applicationServerKey?: BufferSource | string | null;
userVisibleOnly?: boolean;
}
interface QueuingStrategy {
highWaterMark?: number;
size?: QueuingStrategySize;
}
interface QueuingStrategyInit {
/**
* Creates a new ByteLengthQueuingStrategy with the provided high water mark.
*
* Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw.
*/
highWaterMark: number;
}
interface RTCAnswerOptions extends RTCOfferAnswerOptions {
}
interface RTCCertificateExpiration {
expires?: number;
}
interface RTCConfiguration {
bundlePolicy?: RTCBundlePolicy;
certificates?: RTCCertificate[];
iceCandidatePoolSize?: number;
iceServers?: RTCIceServer[];
iceTransportPolicy?: RTCIceTransportPolicy;
rtcpMuxPolicy?: RTCRtcpMuxPolicy;
}
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 RTCDtlsFingerprint {
algorithm?: string;
value?: string;
}
interface RTCEncodedAudioFrameMetadata extends RTCEncodedFrameMetadata {
sequenceNumber?: number;
}
interface RTCEncodedFrameMetadata {
contributingSources?: number[];
mimeType?: string;
payloadType?: number;
rtpTimestamp?: number;
synchronizationSource?: number;
}
interface RTCEncodedVideoFrameMetadata extends RTCEncodedFrameMetadata {
dependencies?: number[];
frameId?: number;
height?: number;
spatialIndex?: number;
temporalIndex?: number;
timestamp?: number;
width?: number;
}
interface RTCErrorEventInit extends EventInit {
error: RTCError;
}
interface RTCErrorInit {
errorDetail: RTCErrorDetailType;
httpRequestStatusCode?: number;
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 {
availableIncomingBitrate?: number;
availableOutgoingBitrate?: number;
bytesDiscardedOnSend?: number;
bytesReceived?: number;
bytesSent?: number;
consentRequestsSent?: number;
currentRoundTripTime?: number;
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
lastPacketSentTimestamp?: DOMHighResTimeStamp;
localCandidateId: string;
nominated?: boolean;
packetsDiscardedOnSend?: number;
packetsReceived?: number;
packetsSent?: number;
remoteCandidateId: string;
requestsReceived?: number;
requestsSent?: number;
responsesReceived?: number;
responsesSent?: number;
state: RTCStatsIceCandidatePairState;
totalRoundTripTime?: number;
transportId: string;
}
interface RTCIceServer {
credential?: string;
urls: string | string[];
username?: string;
}
interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
audioLevel?: number;
bytesReceived?: number;
concealedSamples?: number;
concealmentEvents?: number;
decoderImplementation?: string;
estimatedPlayoutTimestamp?: DOMHighResTimeStamp;
fecBytesReceived?: number;
fecPacketsDiscarded?: number;
fecPacketsReceived?: number;
fecSsrc?: number;
firCount?: number;
frameHeight?: number;
frameWidth?: number;
framesAssembledFromMultiplePackets?: number;
framesDecoded?: number;
framesDropped?: number;
framesPerSecond?: number;
framesReceived?: number;
framesRendered?: number;
freezeCount?: number;
headerBytesReceived?: number;
insertedSamplesForDeceleration?: number;
jitterBufferDelay?: number;
jitterBufferEmittedCount?: number;
jitterBufferMinimumDelay?: number;
jitterBufferTargetDelay?: number;
keyFramesDecoded?: number;
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
mid?: string;
nackCount?: number;
packetsDiscarded?: number;
pauseCount?: number;
playoutId?: string;
pliCount?: number;
qpSum?: number;
remoteId?: string;
removedSamplesForAcceleration?: number;
retransmittedBytesReceived?: number;
retransmittedPacketsReceived?: number;
rtxSsrc?: 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 RTCLocalIceCandidateInit extends RTCIceCandidateInit {
}
interface RTCLocalSessionDescriptionInit {
sdp?: string;
type?: RTCSdpType;
}
interface RTCOfferAnswerOptions {
}
interface RTCOfferOptions extends RTCOfferAnswerOptions {
iceRestart?: boolean;
offerToReceiveAudio?: boolean;
offerToReceiveVideo?: boolean;
}
interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
active?: boolean;
firCount?: number;
frameHeight?: number;
frameWidth?: number;
framesEncoded?: number;
framesPerSecond?: number;
framesSent?: number;
headerBytesSent?: number;
hugeFramesSent?: number;
keyFramesEncoded?: number;
mediaSourceId?: string;
mid?: string;
nackCount?: number;
pliCount?: number;
qpSum?: number;
qualityLimitationDurations?: Record;
qualityLimitationReason?: RTCQualityLimitationReason;
qualityLimitationResolutionChanges?: number;
remoteId?: string;
retransmittedBytesSent?: number;
retransmittedPacketsSent?: number;
rid?: string;
rtxSsrc?: number;
scalabilityMode?: string;
targetBitrate?: number;
totalEncodeTime?: number;
totalEncodedBytesTarget?: number;
totalPacketSendDelay?: 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 RTCReceivedRtpStreamStats extends RTCRtpStreamStats {
jitter?: number;
packetsLost?: number;
packetsReceived?: number;
}
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 RTCRtpCodingParameters {
rid?: string;
}
interface RTCRtpContributingSource {
audioLevel?: number;
rtpTimestamp: number;
source: number;
timestamp: DOMHighResTimeStamp;
}
interface RTCRtpEncodingParameters extends RTCRtpCodingParameters {
active?: boolean;
maxBitrate?: number;
maxFramerate?: number;
networkPriority?: RTCPriorityType;
priority?: RTCPriorityType;
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;
ssrc: number;
transportId?: string;
}
interface RTCRtpSynchronizationSource extends RTCRtpContributingSource {
}
interface RTCRtpTransceiverInit {
direction?: RTCRtpTransceiverDirection;
sendEncodings?: RTCRtpEncodingParameters[];
streams?: MediaStream[];
}
interface RTCSentRtpStreamStats extends RTCRtpStreamStats {
bytesSent?: number;
packetsSent?: number;
}
interface RTCSessionDescriptionInit {
sdp?: string;
type: RTCSdpType;
}
interface RTCSetParameterOptions {
}
interface RTCStats {
id: string;
timestamp: DOMHighResTimeStamp;
type: RTCStatsType;
}
interface RTCTrackEventInit extends EventInit {
receiver: RTCRtpReceiver;
streams?: MediaStream[];
track: MediaStreamTrack;
transceiver: RTCRtpTransceiver;
}
interface RTCTransportStats extends RTCStats {
bytesReceived?: number;
bytesSent?: number;
dtlsCipher?: string;
dtlsRole?: RTCDtlsRole;
dtlsState: RTCDtlsTransportState;
iceLocalUsernameFragment?: string;
iceRole?: RTCIceRole;
iceState?: RTCIceTransportState;
localCertificateId?: string;
packetsReceived?: number;
packetsSent?: number;
remoteCertificateId?: string;
selectedCandidatePairChanges?: number;
selectedCandidatePairId?: string;
srtpCipher?: string;
tlsVersion?: string;
}
interface ReadableStreamBYOBReaderReadOptions {
min?: number;
}
interface ReadableStreamGetReaderOptions {
/**
* Creates a ReadableStreamBYOBReader and locks the stream to the new reader.
*
* This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.
*/
mode?: ReadableStreamReaderMode;
}
interface ReadableStreamIteratorOptions {
/**
* Asynchronously iterates over the chunks in the stream's internal queue.
*
* Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator's return() method is called, e.g. by breaking out of the loop.
*
* By default, calling the async iterator's return() method will also cancel the stream. To prevent this, use the stream's values() method, passing true for the preventCancel option.
*/
preventCancel?: boolean;
}
interface ReadableStreamReadDoneResult {
done: true;
value: T | undefined;
}
interface ReadableStreamReadValueResult {
done: false;
value: T;
}
interface ReadableWritablePair {
readable: ReadableStream;
/**
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
*
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
*/
writable: WritableStream;
}
interface RegistrationOptions {
scope?: string;
type?: WorkerType;
updateViaCache?: ServiceWorkerUpdateViaCache;
}
interface RegistrationResponseJSON {
authenticatorAttachment?: string;
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
id: string;
rawId: Base64URLString;
response: AuthenticatorAttestationResponseJSON;
type: string;
}
interface Report {
body?: ReportBody | null;
type?: string;
url?: string;
}
interface ReportBody {
}
interface ReportingObserverOptions {
buffered?: boolean;
types?: string[];
}
interface RequestInit {
/** A BodyInit object or null to set request's body. */
body?: BodyInit | null;
/** A string indicating how the request will interact with the browser's cache to set request's cache. */
cache?: RequestCache;
/** A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */
credentials?: RequestCredentials;
/** A Headers object, an object literal, or an array of two-item arrays to set request's headers. */
headers?: HeadersInit;
/** A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */
integrity?: string;
/** A boolean to set request's keepalive. */
keepalive?: boolean;
/** A string to set request's method. */
method?: string;
/** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
mode?: RequestMode;
priority?: RequestPriority;
/** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
redirect?: RequestRedirect;
/** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
referrer?: string;
/** A referrer policy to set request's referrerPolicy. */
referrerPolicy?: ReferrerPolicy;
/** An AbortSignal to set request's signal. */
signal?: AbortSignal | null;
/** Can only be null. Used to disassociate request from any Window. */
window?: null;
}
interface ResizeObserverOptions {
box?: ResizeObserverBoxOptions;
}
interface ResponseInit {
headers?: HeadersInit;
status?: number;
statusText?: string;
}
interface RsaHashedImportParams extends Algorithm {
hash: HashAlgorithmIdentifier;
}
interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {
hash: KeyAlgorithm;
}
interface RsaHashedKeyGenParams extends RsaKeyGenParams {
hash: HashAlgorithmIdentifier;
}
interface RsaKeyAlgorithm extends KeyAlgorithm {
modulusLength: number;
publicExponent: BigInteger;
}
interface RsaKeyGenParams extends Algorithm {
modulusLength: number;
publicExponent: BigInteger;
}
interface RsaOaepParams extends Algorithm {
label?: BufferSource;
}
interface RsaOtherPrimesInfo {
d?: string;
r?: string;
t?: string;
}
interface RsaPssParams extends Algorithm {
saltLength: number;
}
interface SVGBoundingBoxOptions {
clipped?: boolean;
fill?: boolean;
markers?: boolean;
stroke?: boolean;
}
interface SanitizerAttributeNamespace {
name: string;
namespace?: string | null;
}
interface SanitizerConfig {
attributes?: SanitizerAttribute[];
comments?: boolean;
dataAttributes?: boolean;
elements?: SanitizerElementWithAttributes[];
processingInstructions?: SanitizerPI[];
removeAttributes?: SanitizerAttribute[];
removeElements?: SanitizerElement[];
removeProcessingInstructions?: SanitizerPI[];
replaceWithChildrenElements?: SanitizerElement[];
}
interface SanitizerElementNamespace {
name: string;
namespace?: string | null;
}
interface SanitizerElementNamespaceWithAttributes extends SanitizerElementNamespace {
attributes?: SanitizerAttribute[];
removeAttributes?: SanitizerAttribute[];
}
interface SanitizerProcessingInstruction {
target: string;
}
interface SchedulerPostTaskOptions {
delay?: number;
priority?: TaskPriority;
signal?: AbortSignal;
}
interface ScrollIntoViewOptions extends ScrollOptions {
block?: ScrollLogicalPosition;
inline?: ScrollLogicalPosition;
}
interface ScrollOptions {
behavior?: ScrollBehavior;
}
interface ScrollTimelineOptions {
axis?: ScrollAxis;
source?: Element | null;
}
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 SerialInputSignals {
clearToSend: boolean;
dataCarrierDetect: boolean;
dataSetReady: boolean;
ringIndicator: boolean;
}
interface SerialOptions {
baudRate: number;
bufferSize?: number;
dataBits?: number;
flowControl?: FlowControlType;
parity?: ParityType;
stopBits?: number;
}
interface SerialOutputSignals {
break?: boolean;
dataTerminalReady?: boolean;
requestToSend?: boolean;
}
interface SerialPortFilter {
bluetoothServiceClassId?: BluetoothServiceUUID;
usbProductId?: number;
usbVendorId?: number;
}
interface SerialPortInfo {
bluetoothServiceClassId?: BluetoothServiceUUID;
usbProductId?: number;
usbVendorId?: number;
}
interface SerialPortRequestOptions {
allowedBluetoothServiceClassIds?: BluetoothServiceUUID[];
filters?: SerialPortFilter[];
}
interface SetHTMLOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}
interface SetHTMLUnsafeOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}
interface ShadowRootInit {
clonable?: boolean;
customElementRegistry?: CustomElementRegistry | null;
delegatesFocus?: boolean;
mode: ShadowRootMode;
serializable?: boolean;
slotAssignment?: SlotAssignmentMode;
}
interface ShareData {
files?: File[];
text?: string;
title?: string;
url?: string;
}
interface ShowPopoverOptions {
source?: HTMLElement;
}
interface SpeechRecognitionErrorEventInit extends EventInit {
error: SpeechRecognitionErrorCode;
message?: string;
}
interface SpeechRecognitionEventInit extends EventInit {
resultIndex?: number;
results: SpeechRecognitionResultList;
}
interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit {
error: SpeechSynthesisErrorCode;
}
interface SpeechSynthesisEventInit extends EventInit {
charIndex?: number;
charLength?: number;
elapsedTime?: number;
name?: string;
utterance: SpeechSynthesisUtterance;
}
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 StreamPipeOptions {
preventAbort?: boolean;
preventCancel?: boolean;
/**
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
*
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
*
* Errors and closures of the source and destination streams propagate as follows:
*
* An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination.
*
* An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source.
*
* When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error.
*
* If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source.
*
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
*/
preventClose?: boolean;
signal?: AbortSignal;
}
interface StructuredSerializeOptions {
transfer?: Transferable[];
}
interface SubmitEventInit extends EventInit {
submitter?: HTMLElement | null;
}
interface SvcOutputMetadata {
temporalLayerId?: number;
}
interface TaskControllerInit {
priority?: TaskPriority;
}
interface TaskPriorityChangeEventInit extends EventInit {
previousPriority: TaskPriority;
}
interface TaskSignalAnyInit {
priority?: TaskPriority | TaskSignal;
}
interface TextDecodeOptions {
stream?: boolean;
}
interface TextDecoderOptions {
fatal?: boolean;
ignoreBOM?: boolean;
}
interface TextEncoderEncodeIntoResult {
read: number;
written: number;
}
interface TimelineRangeOffset {
offset?: CSSNumericValue;
rangeName?: string | null;
}
interface ToggleEventInit extends EventInit {
newState?: string;
oldState?: string;
source?: Element | null;
}
interface TogglePopoverOptions extends ShowPopoverOptions {
force?: boolean;
}
interface TouchEventInit extends EventModifierInit {
changedTouches?: Touch[];
targetTouches?: Touch[];
touches?: Touch[];
}
interface TouchInit {
altitudeAngle?: number;
azimuthAngle?: number;
clientX?: number;
clientY?: number;
force?: number;
identifier: number;
pageX?: number;
pageY?: number;
radiusX?: number;
radiusY?: number;
rotationAngle?: number;
screenX?: number;
screenY?: number;
target: EventTarget;
touchType?: TouchType;
}
interface TrackEventInit extends EventInit {
track?: TextTrack | null;
}
interface Transformer {
flush?: TransformerFlushCallback;
readableType?: undefined;
start?: TransformerStartCallback;
transform?: TransformerTransformCallback;
writableType?: undefined;
}
interface TransitionEventInit extends EventInit {
animation?: CSSTransition | null;
elapsedTime?: number;
propertyName?: string;
pseudoElement?: string;
}
interface UIEventInit extends EventInit {
detail?: number;
view?: Window | null;
/** @deprecated */
which?: number;
}
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 UnderlyingByteSource {
autoAllocateChunkSize?: number;
cancel?: UnderlyingSourceCancelCallback;
pull?: (controller: ReadableByteStreamController) => void | PromiseLike;
start?: (controller: ReadableByteStreamController) => any;
type: "bytes";
}
interface UnderlyingDefaultSource {
cancel?: UnderlyingSourceCancelCallback;
pull?: (controller: ReadableStreamDefaultController) => void | PromiseLike;
start?: (controller: ReadableStreamDefaultController) => any;
type?: undefined;
}
interface UnderlyingSink {
abort?: UnderlyingSinkAbortCallback;
close?: UnderlyingSinkCloseCallback;
start?: UnderlyingSinkStartCallback;
type?: undefined;
write?: UnderlyingSinkWriteCallback;
}
interface UnderlyingSource {
autoAllocateChunkSize?: number;
cancel?: UnderlyingSourceCancelCallback;
pull?: UnderlyingSourcePullCallback;
start?: UnderlyingSourceStartCallback;
type?: ReadableStreamType;
}
interface UnknownCredentialOptions {
credentialId: Base64URLString;
rpId: string;
}
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 ViewTimelineOptions {
axis?: ScrollAxis;
inset?: string | (CSSNumericValue | CSSKeywordValue)[];
subject?: Element;
}
interface WaveShaperOptions extends AudioNodeOptions {
curve?: number[] | Float32Array;
oversample?: OverSampleType;
}
interface WebGLContextAttributes {
alpha?: boolean;
antialias?: boolean;
depth?: boolean;
desynchronized?: boolean;
failIfMajorPerformanceCaveat?: boolean;
powerPreference?: WebGLPowerPreference;
premultipliedAlpha?: boolean;
preserveDrawingBuffer?: boolean;
stencil?: boolean;
xrCompatible?: boolean;
}
interface WebGLContextEventInit extends EventInit {
statusMessage?: string;
}
interface WebTransportCloseInfo {
closeCode?: number;
reason?: string;
}
interface WebTransportConnectionStats {
bytesReceived?: number;
datagrams: WebTransportDatagramStats;
minRtt?: DOMHighResTimeStamp;
packetsLost?: number;
packetsReceived?: number;
packetsSent?: number;
rttVariation?: DOMHighResTimeStamp;
smoothedRtt?: DOMHighResTimeStamp;
}
interface WebTransportDatagramStats {
droppedIncoming?: number;
expiredOutgoing?: number;
lostOutgoing?: number;
}
interface WebTransportErrorOptions {
source?: WebTransportErrorSource;
streamErrorCode?: number | null;
}
interface WebTransportHash {
algorithm: string;
value: BufferSource;
}
interface WebTransportOptions {
allowPooling?: boolean;
congestionControl?: WebTransportCongestionControl;
protocols?: string[];
requireUnreliable?: boolean;
serverCertificateHashes?: WebTransportHash[];
}
interface WebTransportReceiveStreamStats {
bytesRead?: number;
bytesReceived?: number;
}
interface WebTransportSendOptions {
sendOrder?: number;
}
interface WebTransportSendStreamOptions extends WebTransportSendOptions {
}
interface WebTransportSendStreamStats {
bytesAcknowledged?: number;
bytesSent?: number;
bytesWritten?: number;
}
interface WheelEventInit extends MouseEventInit {
deltaMode?: number;
deltaX?: number;
deltaY?: number;
deltaZ?: number;
}
interface WindowPostMessageOptions extends StructuredSerializeOptions {
targetOrigin?: string;
}
interface WorkerOptions {
credentials?: RequestCredentials;
name?: string;
type?: WorkerType;
}
interface WorkletOptions {
credentials?: RequestCredentials;
}
interface WriteParams {
data?: BufferSource | Blob | string | null;
position?: number | null;
size?: number | null;
type: WriteCommandType;
}
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 XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };
/**
* The **`ANGLE_instanced_arrays`** extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays)
*/
interface ANGLE_instanced_arrays {
/**
* The **`ANGLE_instanced_arrays.drawArraysInstancedANGLE()`** method of the WebGL API renders primitives from array data like the gl.drawArrays() method. In addition, it can execute multiple instances of the range of elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/drawArraysInstancedANGLE)
*/
drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;
/**
* The **`ANGLE_instanced_arrays.drawElementsInstancedANGLE()`** method of the WebGL API renders primitives from array data like the gl.drawElements() method. In addition, it can execute multiple instances of a set of elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)
*/
drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;
/**
* The **`ANGLE_instanced_arrays.vertexAttribDivisorANGLE()`** method of the WebGL API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with ext.drawArraysInstancedANGLE() and ext.drawElementsInstancedANGLE().
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/vertexAttribDivisorANGLE)
*/
vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;
readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 0x88FE;
}
interface ARIAMixin {
/**
* The **`ariaActiveDescendantElement`** property of the Element interface represents the current active element when focus is on a composite widget, combobox, textbox, group, or application.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement)
*/
ariaActiveDescendantElement: Element | null;
/**
* The **`ariaAtomic`** property of the Element interface reflects the value of the aria-atomic attribute, which indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic)
*/
ariaAtomic: string | null;
/**
* The **`ariaAutoComplete`** property of the Element interface reflects the value of the aria-autocomplete attribute, which indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete)
*/
ariaAutoComplete: string | null;
/**
* The **`ariaBrailleLabel`** property of the Element interface reflects the value of the aria-braillelabel attribute, which defines the ARIA braille label of the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel)
*/
ariaBrailleLabel: string | null;
/**
* The **`ariaBrailleRoleDescription`** property of the Element interface reflects the value of the aria-brailleroledescription attribute, which defines the ARIA braille role description of the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription)
*/
ariaBrailleRoleDescription: string | null;
/**
* The **`ariaBusy`** property of the Element interface reflects the value of the aria-busy attribute, which indicates whether an element is being modified, as assistive technologies may want to wait until the modifications are complete before exposing them to the user.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy)
*/
ariaBusy: string | null;
/**
* The **`ariaChecked`** property of the Element interface reflects the value of the aria-checked attribute, which indicates the current "checked" state of checkboxes, radio buttons, and other widgets that have a checked state.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked)
*/
ariaChecked: string | null;
/**
* The **`ariaColCount`** property of the Element interface reflects the value of the aria-colcount attribute, which defines the number of columns in a table, grid, or treegrid.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount)
*/
ariaColCount: string | null;
/**
* The **`ariaColIndex`** property of the Element interface reflects the value of the aria-colindex attribute, which defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex)
*/
ariaColIndex: string | null;
/**
* The **`ariaColIndexText`** property of the Element interface reflects the value of the aria-colindextext attribute, which defines a human readable text alternative of aria-colindex.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText)
*/
ariaColIndexText: string | null;
/**
* The **`ariaColSpan`** property of the Element interface reflects the value of the aria-colspan attribute, which defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan)
*/
ariaColSpan: string | null;
/**
* The **`ariaControlsElements`** property of the Element interface is an array containing the elements that are controlled by the element it is applied to. For example, this might be set on a combobox to indicate the element that it pops up, or on a scrollbar to indicate the ID of the element it controls.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements)
*/
ariaControlsElements: ReadonlyArray | null;
/**
* The **`ariaCurrent`** property of the Element interface reflects the value of the aria-current attribute, which indicates the element that represents the current item within a container or set of related elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent)
*/
ariaCurrent: string | null;
/**
* The **`ariaDescribedByElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible description for the element it is applied to. The accessible description is similar to the accessible label (see ariaLabelledByElements), but provides more verbose information.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements)
*/
ariaDescribedByElements: ReadonlyArray | null;
/**
* The **`ariaDescription`** property of the Element interface reflects the value of the aria-description attribute, which defines a string value that describes or annotates the current element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription)
*/
ariaDescription: string | null;
/**
* The **`ariaDetailsElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible details for the element it is applied to. The accessible details are similar to the accessible description (see ariaDescribedByElements), but provides more verbose information.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements)
*/
ariaDetailsElements: ReadonlyArray | null;
/**
* The **`ariaDisabled`** property of the Element interface reflects the value of the aria-disabled attribute, which indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled)
*/
ariaDisabled: string | null;
/**
* The **`ariaErrorMessageElements`** property of the Element interface is an array containing the element (or elements) that provide an error message for the element it is applied to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements)
*/
ariaErrorMessageElements: ReadonlyArray | null;
/**
* The **`ariaExpanded`** property of the Element interface reflects the value of the aria-expanded attribute, which indicates whether a grouping element owned or controlled by this element is expanded or collapsed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded)
*/
ariaExpanded: string | null;
/**
* The **`ariaFlowToElements`** property of the Element interface is an array containing the element (or elements) that provide an alternate reading order of content, overriding the general default reading order at the user's discretion. If just one element is provided this is the next element in the reading order. If multiple elements are provided, then each element represents a possible path that should be offered to the user for selection.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements)
*/
ariaFlowToElements: ReadonlyArray | null;
/**
* The **`ariaHasPopup`** property of the Element interface reflects the value of the aria-haspopup attribute, which indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup)
*/
ariaHasPopup: string | null;
/**
* The **`ariaHidden`** property of the Element interface reflects the value of the aria-hidden) attribute, which indicates whether the element is exposed to an accessibility API.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden)
*/
ariaHidden: string | null;
/**
* The **`ariaInvalid`** property of the Element interface reflects the value of the aria-invalid attribute. Relevant for the application, checkbox, combobox, gridcell, listbox, radiogroup, slider, spinbutton, textbox, and tree roles, it indicates to the accessibility API whether the entered value does not conform to the format expected by the application.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid)
*/
ariaInvalid: string | null;
/**
* The **`ariaKeyShortcuts`** property of the Element interface reflects the value of the aria-keyshortcuts attribute, which indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts)
*/
ariaKeyShortcuts: string | null;
/**
* The **`ariaLabel`** property of the Element interface reflects the value of the aria-label attribute, which defines a string value that labels the current element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel)
*/
ariaLabel: string | null;
/**
* The **`ariaLabelledByElements`** property of the Element interface is an array containing the element (or elements) that provide an accessible name for the element it is applied to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements)
*/
ariaLabelledByElements: ReadonlyArray | null;
/**
* The **`ariaLevel`** property of the Element interface reflects the value of the aria-level attribute, which defines the hierarchical level of an element within a structure.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel)
*/
ariaLevel: string | null;
/**
* The **`ariaLive`** property of the Element interface reflects the value of the aria-live attribute, which indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive)
*/
ariaLive: string | null;
/**
* The **`ariaModal`** property of the Element interface reflects the value of the aria-modal attribute, which indicates whether an element is modal when displayed. Applying the aria-modal property to an element with role="dialog" replaces the technique of using aria-hidden on the background for informing assistive technologies that content outside a dialog is inert.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal)
*/
ariaModal: string | null;
/**
* The **`ariaMultiLine`** property of the Element interface reflects the value of the aria-multiline attribute, which indicates whether a text box accepts multiple lines of input or only a single line.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine)
*/
ariaMultiLine: string | null;
/**
* The **`ariaMultiSelectable`** property of the Element interface reflects the value of the aria-multiselectable attribute, which indicates that the user may select more than one item from the current selectable descendants.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable)
*/
ariaMultiSelectable: string | null;
/**
* The **`ariaOrientation`** property of the Element interface reflects the value of the aria-orientation attribute, which indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation)
*/
ariaOrientation: string | null;
/**
* The **`ariaOwnsElements`** property of the Element interface is an array containing the element (or elements) that define a visual, functional, or contextual relationship between a parent element that it is applied to, and its child elements. This is used when the DOM hierarchy cannot be used to represent the relationship, and it would not otherwise be available to assistive technology,
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements)
*/
ariaOwnsElements: ReadonlyArray | null;
/**
* The **`ariaPlaceholder`** property of the Element interface reflects the value of the aria-placeholder attribute, which defines a short hint intended to aid the user with data entry when the control has no value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder)
*/
ariaPlaceholder: string | null;
/**
* The **`ariaPosInSet`** property of the Element interface reflects the value of the aria-posinset attribute, which defines an element's number or position in the current set of listitems or treeitems.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet)
*/
ariaPosInSet: string | null;
/**
* The **`ariaPressed`** property of the Element interface reflects the value of the aria-pressed attribute, which indicates the current "pressed" state of toggle buttons.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed)
*/
ariaPressed: string | null;
/**
* The **`ariaReadOnly`** property of the Element interface reflects the value of the aria-readonly attribute, which indicates that the element is not editable, but is otherwise operable.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly)
*/
ariaReadOnly: string | null;
/**
* The **`ariaRelevant`** property of the Element interface reflects the value of the aria-relevant attribute, which indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. This is used to describe what changes in an aria-live region are relevant and should be announced.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant)
*/
ariaRelevant: string | null;
/**
* The **`ariaRequired`** property of the Element interface reflects the value of the aria-required attribute, which indicates that user input is required on the element before a form may be submitted.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired)
*/
ariaRequired: string | null;
/**
* The **`ariaRoleDescription`** property of the Element interface reflects the value of the aria-roledescription attribute, which defines a human-readable, author-localized description for the role of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription)
*/
ariaRoleDescription: string | null;
/**
* The **`ariaRowCount`** property of the Element interface reflects the value of the aria-rowcount attribute, which defines the total number of rows in a table, grid, or treegrid.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount)
*/
ariaRowCount: string | null;
/**
* The **`ariaRowIndex`** property of the Element interface reflects the value of the aria-rowindex attribute, which defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex)
*/
ariaRowIndex: string | null;
/**
* The **`ariaRowIndexText`** property of the Element interface reflects the value of the aria-rowindextext attribute, which defines a human readable text alternative of aria-rowindex.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText)
*/
ariaRowIndexText: string | null;
/**
* The **`ariaRowSpan`** property of the Element interface reflects the value of the aria-rowspan attribute, which defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan)
*/
ariaRowSpan: string | null;
/**
* The **`ariaSelected`** property of the Element interface reflects the value of the aria-selected attribute, which indicates the current "selected" state of elements that have a selected state.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected)
*/
ariaSelected: string | null;
/**
* The **`ariaSetSize`** property of the Element interface reflects the value of the aria-setsize attribute, which defines the number of items in the current set of listitems or treeitems.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize)
*/
ariaSetSize: string | null;
/**
* The **`ariaSort`** property of the Element interface reflects the value of the aria-sort attribute, which indicates if items in a table or grid are sorted in ascending or descending order.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort)
*/
ariaSort: string | null;
/**
* The **`ariaValueMax`** property of the Element interface reflects the value of the aria-valuemax attribute, which defines the maximum allowed value for a range widget.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax)
*/
ariaValueMax: string | null;
/**
* The **`ariaValueMin`** property of the Element interface reflects the value of the aria-valuemin attribute, which defines the minimum allowed value for a range widget.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin)
*/
ariaValueMin: string | null;
/**
* The **`ariaValueNow`** property of the Element interface reflects the value of the aria-valuenow attribute, which defines the current value for a range widget.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow)
*/
ariaValueNow: string | null;
/**
* The **`ariaValueText`** property of the Element interface reflects the value of the aria-valuetext attribute, which defines the human-readable text alternative of aria-valuenow for a range widget.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText)
*/
ariaValueText: string | null;
/**
* The **`role`** property of the Element interface returns the explicitly set WAI-ARIA role for the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role)
*/
role: string | null;
}
/**
* The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)
*/
interface AbortController {
/**
* The **`signal`** read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort an asynchronous operation as desired.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)
*/
readonly signal: AbortSignal;
/**
* The **`abort()`** method of the AbortController interface aborts an asynchronous operation before it has completed. This is able to abort fetch requests, the consumption of any response bodies, or streams.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)
*/
abort(reason?: any): void;
}
declare var AbortController: {
prototype: AbortController;
new(): AbortController;
};
interface AbortSignalEventMap {
"abort": Event;
}
/**
* The **`AbortSignal`** interface represents a signal object that allows you to communicate with an asynchronous operation (such as a fetch request) and abort it if required via an AbortController object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal)
*/
interface AbortSignal extends EventTarget {
/**
* The **`aborted`** read-only property returns a value that indicates whether the asynchronous operations the signal is communicating with are aborted (true) or not (false).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/aborted)
*/
readonly aborted: boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */
onabort: ((this: AbortSignal, ev: Event) => any) | null;
/**
* The **`reason`** read-only property returns a JavaScript value that indicates the abort reason.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason)
*/
readonly reason: any;
/**
* The **`throwIfAborted()`** method throws the signal's abort reason if the signal has been aborted; otherwise it does nothing.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted)
*/
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;
/**
* The **`AbortSignal.abort()`** static method returns an AbortSignal that is already set as aborted (and which does not trigger an abort event).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
*/
abort(reason?: any): AbortSignal;
/**
* The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal. The returned abort signal is aborted when any of the input iterable abort signals are aborted. The abort reason will be set to the reason of the first signal that is aborted. If any of the given abort signals are already aborted then so will be the returned AbortSignal.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static)
*/
any(signals: AbortSignal[]): AbortSignal;
/**
* The **`AbortSignal.timeout()`** static method returns an AbortSignal that will automatically abort after a specified time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static)
*/
timeout(milliseconds: number): AbortSignal;
};
/**
* The **`AbstractRange`** abstract interface is the base class upon which all DOM range types are defined. A range is an object that indicates the start and end points of a section of content within the document.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange)
*/
interface AbstractRange {
/**
* The read-only **`collapsed`** property of the AbstractRange interface returns true if the range's start position and end position are the same.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/collapsed)
*/
readonly collapsed: boolean;
/**
* The read-only **`endContainer`** property of the AbstractRange interface returns the Node in which the end of the range is located.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/endContainer)
*/
readonly endContainer: Node;
/**
* The **`endOffset`** property of the AbstractRange interface returns the offset into the end node of the range's end position.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/endOffset)
*/
readonly endOffset: number;
/**
* The read-only **`startContainer`** property of the AbstractRange interface returns the Node in which the start of the range is located.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/startContainer)
*/
readonly startContainer: Node;
/**
* The read-only **`startOffset`** property of the AbstractRange interface returns the offset into the start node of the range's start position.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/startOffset)
*/
readonly startOffset: number;
}
declare var AbstractRange: {
prototype: AbstractRange;
new(): AbstractRange;
};
interface AbstractWorkerEventMap {
"error": ErrorEvent;
}
interface AbstractWorker {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/error_event) */
onerror: ((this: AbstractWorker, ev: ErrorEvent) => 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;
}
/**
* The **`AnalyserNode`** interface represents a node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode)
*/
interface AnalyserNode extends AudioNode {
/**
* The **`fftSize`** property of the AnalyserNode interface is an unsigned long value and represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/fftSize)
*/
fftSize: number;
/**
* The **`frequencyBinCount`** read-only property of the AnalyserNode interface contains the total number of data points available to AudioContext sampleRate. This is half of the value of the AnalyserNode.fftSize. The two methods' indices have a linear relationship with the frequencies they represent, between 0 and the Nyquist frequency.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/frequencyBinCount)
*/
readonly frequencyBinCount: number;
/**
* The **`maxDecibels`** property of the AnalyserNode interface is a double value representing the maximum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte values — basically, this specifies the maximum value for the range of results when using getByteFrequencyData().
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/maxDecibels)
*/
maxDecibels: number;
/**
* The **`minDecibels`** property of the AnalyserNode interface is a double value representing the minimum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte values — basically, this specifies the minimum value for the range of results when using getByteFrequencyData().
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/minDecibels)
*/
minDecibels: number;
/**
* The **`smoothingTimeConstant`** property of the AnalyserNode interface is a double value representing the averaging constant with the last analysis frame. It's basically an average between the current buffer and the last buffer the AnalyserNode processed, and results in a much smoother set of value changes over time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/smoothingTimeConstant)
*/
smoothingTimeConstant: number;
/**
* The **`getByteFrequencyData()`** method of the AnalyserNode interface copies the current frequency data into a Uint8Array (unsigned byte array) passed into it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/getByteFrequencyData)
*/
getByteFrequencyData(array: Uint8Array): void;
/**
* The **`getByteTimeDomainData()`** method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Uint8Array (unsigned byte array) passed into it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/getByteTimeDomainData)
*/
getByteTimeDomainData(array: Uint8Array): void;
/**
* The **`getFloatFrequencyData()`** method of the AnalyserNode Interface copies the current frequency data into a Float32Array array passed into it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/getFloatFrequencyData)
*/
getFloatFrequencyData(array: Float32Array): void;
/**
* The **`getFloatTimeDomainData()`** method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Float32Array array passed into it. Each array value is a sample, the magnitude of the signal at a particular time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/getFloatTimeDomainData)
*/
getFloatTimeDomainData(array: Float32Array): void;
}
declare var AnalyserNode: {
prototype: AnalyserNode;
new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;
};
interface Animatable {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animate) */
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAnimations) */
getAnimations(options?: GetAnimationsOptions): Animation[];
}
interface AnimationEventMap {
"cancel": AnimationPlaybackEvent;
"finish": AnimationPlaybackEvent;
"remove": AnimationPlaybackEvent;
}
/**
* The **`Animation`** interface of the Web Animations API represents a single animation player and provides playback controls and a timeline for an animation node or source.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation)
*/
interface Animation extends EventTarget {
/**
* The **`Animation.currentTime`** property of the Web Animations API returns and sets the current time value of the animation in milliseconds, whether running or paused.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/currentTime)
*/
currentTime: CSSNumberish | null;
/**
* The **`Animation.effect`** property of the Web Animations API gets and sets the target effect of an animation. The target effect may be either an effect object of a type based on AnimationEffect, such as KeyframeEffect, or null.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/effect)
*/
effect: AnimationEffect | null;
/**
* The **`Animation.finished`** read-only property of the Web Animations API returns a Promise which resolves once the animation has finished playing.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finished)
*/
readonly finished: Promise;
/**
* The **`Animation.id`** property of the Web Animations API returns or sets a string used to identify the animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/id)
*/
id: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/cancel_event) */
oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finish_event) */
onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/remove_event) */
onremove: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;
/**
* The **`overallProgress`** read-only property of the Animation interface returns a number between 0 and 1 indicating the animation's overall progress towards its finished state. This is the overall progress across all of the animation's iterations, not each individual iteration.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/overallProgress)
*/
readonly overallProgress: number | null;
/**
* The read-only **`Animation.pending`** property of the Web Animations API indicates whether the animation is currently waiting for an asynchronous operation such as initiating playback or pausing a running animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/pending)
*/
readonly pending: boolean;
/**
* The read-only **`Animation.playState`** property of the Web Animations API returns an enumerated value describing the playback state of an animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/playState)
*/
readonly playState: AnimationPlayState;
/**
* The **`Animation.playbackRate`** property of the Web Animations API returns or sets the playback rate of the animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/playbackRate)
*/
playbackRate: number;
/**
* The read-only **`Animation.ready`** property of the Web Animations API returns a Promise which resolves when the animation is ready to play. A new promise is created every time the animation enters the "pending" play state as well as when the animation is canceled, since in both of those scenarios, the animation is ready to be started again.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/ready)
*/
readonly ready: Promise;
/**
* The read-only **`Animation.replaceState`** property of the Web Animations API indicates whether the animation has been removed by the browser automatically after being replaced by another animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/replaceState)
*/
readonly replaceState: AnimationReplaceState;
/**
* The **`Animation.startTime`** property of the Animation interface is a double-precision floating-point value which indicates the scheduled time when an animation's playback should begin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/startTime)
*/
startTime: CSSNumberish | null;
/**
* The **`Animation.timeline`** property of the Animation interface returns or sets the timeline associated with this animation. A timeline is a source of time values for synchronization purposes, and is an AnimationTimeline-based object. By default, the animation's timeline and the Document's timeline are the same.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/timeline)
*/
timeline: AnimationTimeline | null;
/**
* The Web Animations API's **`cancel()`** method of the Animation interface clears all KeyframeEffects caused by this animation and aborts its playback.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/cancel)
*/
cancel(): void;
/**
* The **`commitStyles()`** method of the Web Animations API's Animation interface writes the computed values of the animation's current styles into its target element's style attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/commitStyles)
*/
commitStyles(): void;
/**
* The **`finish()`** method of the Web Animations API's Animation Interface sets the current playback time to the end of the animation corresponding to the current playback direction.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finish)
*/
finish(): void;
/**
* The **`pause()`** method of the Web Animations API's Animation interface suspends playback of the animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/pause)
*/
pause(): void;
/**
* The **`persist()`** method of the Web Animations API's Animation interface explicitly persists an animation, preventing it from being automatically removed when it is replaced by another animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/persist)
*/
persist(): void;
/**
* The **`play()`** method of the Web Animations API's Animation Interface starts or resumes playing of an animation. If the animation is finished, calling play() restarts the animation, playing it from the beginning.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/play)
*/
play(): void;
/**
* The **`Animation.reverse()`** method of the Animation Interface reverses the playback direction, meaning the animation ends at its beginning. If called on an unplayed animation, the whole animation is played backwards. If called on a paused animation, the animation will continue in reverse.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/reverse)
*/
reverse(): void;
/**
* The **`updatePlaybackRate()`** method of the Web Animations API's Animation Interface sets the speed of an animation after first synchronizing its playback position.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/updatePlaybackRate)
*/
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;
};
/**
* The **`AnimationEffect`** interface of the Web Animations API is an interface representing animation effects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEffect)
*/
interface AnimationEffect {
/**
* The **`getComputedTiming()`** method of the AnimationEffect interface returns the calculated timing properties for this animation effect.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEffect/getComputedTiming)
*/
getComputedTiming(): ComputedEffectTiming;
/**
* The **`AnimationEffect.getTiming()`** method of the AnimationEffect interface returns an object containing the timing properties for the Animation Effect.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEffect/getTiming)
*/
getTiming(): EffectTiming;
/**
* The **`updateTiming()`** method of the AnimationEffect interface updates the specified timing properties for an animation effect.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEffect/updateTiming)
*/
updateTiming(timing?: OptionalEffectTiming): void;
}
declare var AnimationEffect: {
prototype: AnimationEffect;
new(): AnimationEffect;
};
/**
* The **`AnimationEvent`** interface represents events providing information related to animations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEvent)
*/
interface AnimationEvent extends Event {
/**
* The **`AnimationEvent.animationName`** read-only property is a string containing the value of the animation-name CSS property associated with the transition.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEvent/animationName)
*/
readonly animationName: string;
/**
* The **`AnimationEvent.elapsedTime`** read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused. For an animationstart event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing (-1 * delay).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEvent/elapsedTime)
*/
readonly elapsedTime: number;
/**
* The **`AnimationEvent.pseudoElement`** read-only property is a string, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEvent/pseudoElement)
*/
readonly pseudoElement: string;
}
declare var AnimationEvent: {
prototype: AnimationEvent;
new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;
};
interface AnimationFrameProvider {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
cancelAnimationFrame(handle: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
requestAnimationFrame(callback: FrameRequestCallback): number;
}
/**
* The **`AnimationPlaybackEvent`** interface of the Web Animations API represents animation events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent)
*/
interface AnimationPlaybackEvent extends Event {
/**
* The **`currentTime`** read-only property of the AnimationPlaybackEvent interface represents the current time of the animation that generated the event at the moment the event is queued. This will be unresolved if the animation was idle at the time the event was generated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent/currentTime)
*/
readonly currentTime: CSSNumberish | null;
/**
* The **`timelineTime`** read-only property of the AnimationPlaybackEvent interface represents the time value of the animation's timeline at the moment the event is queued. This will be unresolved if the animation was not associated with a timeline at the time the event was generated or if the associated timeline was inactive.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent/timelineTime)
*/
readonly timelineTime: CSSNumberish | null;
}
declare var AnimationPlaybackEvent: {
prototype: AnimationPlaybackEvent;
new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;
};
/**
* The **`AnimationTimeline`** interface of the Web Animations API represents the timeline of an animation. This interface exists to define timeline features, inherited by other timeline types:
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline)
*/
interface AnimationTimeline {
/**
* The **`currentTime`** read-only property of the Web Animations API's AnimationTimeline interface returns the timeline's current time in milliseconds, or null if the timeline is inactive.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
*/
readonly currentTime: CSSNumberish | null;
/**
* The **`duration`** read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration)
*/
readonly duration: CSSNumberish | null;
}
declare var AnimationTimeline: {
prototype: AnimationTimeline;
new(): AnimationTimeline;
};
/**
* The **`Attr`** interface represents one of an element's attributes as an object. In most situations, you will directly retrieve the attribute value as a string (e.g., Element.getAttribute()), but some cases may require interacting with Attr instances (e.g., Element.getAttributeNode()).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr)
*/
interface Attr extends Node {
/**
* The read-only **`localName`** property of the Attr interface returns the local part of the qualified name of an attribute, that is the name of the attribute, stripped from any namespace in front of it. For example, if the qualified name is xml:lang, the returned local name is lang, if the element supports that namespace.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/localName)
*/
readonly localName: string;
/**
* The read-only **`name`** property of the Attr interface returns the qualified name of an attribute, that is the name of the attribute, with the namespace prefix, if any, in front of it. For example, if the local name is lang and the namespace prefix is xml, the returned qualified name is xml:lang.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/name)
*/
readonly name: string;
/**
* The read-only **`namespaceURI`** property of the Attr interface returns the namespace URI of the attribute, or null if the element is not in a namespace.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/namespaceURI)
*/
readonly namespaceURI: string | null;
readonly ownerDocument: Document;
/**
* The read-only **`ownerElement`** property of the Attr interface returns the Element the attribute belongs to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/ownerElement)
*/
readonly ownerElement: Element | null;
/**
* The read-only **`prefix`** property of the Attr returns the namespace prefix of the attribute, or null if no prefix is specified.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/prefix)
*/
readonly prefix: string | null;
/**
* The read-only **`specified`** property of the Attr interface always returns true.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/specified)
*/
readonly specified: boolean;
/**
* The **`value`** property of the Attr interface contains the value of the attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
*/
value: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
get textContent(): string;
set textContent(value: string | null);
}
declare var Attr: {
prototype: Attr;
new(): Attr;
};
/**
* The **`AudioBuffer`** interface represents a short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer)
*/
interface AudioBuffer {
/**
* The **`duration`** property of the AudioBuffer interface returns a double representing the duration, in seconds, of the PCM data stored in the buffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/duration)
*/
readonly duration: number;
/**
* The **`length`** property of the AudioBuffer interface returns an integer representing the length, in sample-frames, of the PCM data stored in the buffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/length)
*/
readonly length: number;
/**
* The **`numberOfChannels`** property of the AudioBuffer interface returns an integer representing the number of discrete audio channels described by the PCM data stored in the buffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/numberOfChannels)
*/
readonly numberOfChannels: number;
/**
* The **`sampleRate`** property of the AudioBuffer interface returns a float representing the sample rate, in samples per second, of the PCM data stored in the buffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/sampleRate)
*/
readonly sampleRate: number;
/**
* The **`copyFromChannel()`** method of the AudioBuffer interface copies the audio sample data from the specified channel of the AudioBuffer to a specified Float32Array.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/copyFromChannel)
*/
copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void;
/**
* The **`copyToChannel()`** method of the AudioBuffer interface copies the samples to the specified channel of the AudioBuffer, from the source array.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/copyToChannel)
*/
copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void;
/**
* The **`getChannelData()`** method of the AudioBuffer Interface returns a Float32Array containing the PCM data associated with the channel, defined by the channel parameter (with 0 representing the first channel).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/getChannelData)
*/
getChannelData(channel: number): Float32Array;
}
declare var AudioBuffer: {
prototype: AudioBuffer;
new(options: AudioBufferOptions): AudioBuffer;
};
/**
* The **`AudioBufferSourceNode`** interface is an AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode)
*/
interface AudioBufferSourceNode extends AudioScheduledSourceNode {
/**
* The **`buffer`** property of the AudioBufferSourceNode interface provides the ability to play back audio using an AudioBuffer as the source of the sound data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/buffer)
*/
buffer: AudioBuffer | null;
/**
* The **`detune`** property of the AudioBufferSourceNode interface is a k-rate AudioParam representing detuning of oscillation in cents.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/detune)
*/
readonly detune: AudioParam;
/**
* The **`loop`** property of the AudioBufferSourceNode interface is a Boolean indicating if the audio asset must be replayed when the end of the AudioBuffer is reached.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/loop)
*/
loop: boolean;
/**
* The **`loopEnd`** property of the AudioBufferSourceNode interface specifies is a floating point number specifying, in seconds, at what offset into playing the AudioBuffer playback should loop back to the time indicated by the loopStart property. This is only used if the loop property is true.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/loopEnd)
*/
loopEnd: number;
/**
* The **`loopStart`** property of the AudioBufferSourceNode interface is a floating-point value indicating, in seconds, where in the AudioBuffer the restart of the play must happen.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/loopStart)
*/
loopStart: number;
/**
* The **`playbackRate`** property of the AudioBufferSourceNode interface Is a k-rate AudioParam that defines the speed at which the audio asset will be played.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/playbackRate)
*/
readonly playbackRate: AudioParam;
/**
* The **`start()`** method of the AudioBufferSourceNode Interface is used to schedule playback of the audio data contained in the buffer, or to begin playback immediately.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/start)
*/
start(when?: number, offset?: number, duration?: 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;
};
/**
* The **`AudioContext`** interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext)
*/
interface AudioContext extends BaseAudioContext {
/**
* The **`baseLatency`** read-only property of the AudioContext interface returns a double that represents the number of seconds of processing latency incurred by the AudioContext passing an audio buffer from the AudioDestinationNode — i.e., the end of the audio graph — into the host system's audio subsystem ready for playing.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/baseLatency)
*/
readonly baseLatency: number;
/**
* The **`outputLatency`** read-only property of the AudioContext Interface provides an estimation of the output latency of the current audio context.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/outputLatency)
*/
readonly outputLatency: number;
/**
* The **`close()`** method of the AudioContext Interface closes the audio context, releasing any system audio resources that it uses.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/close)
*/
close(): Promise;
/**
* The **`createMediaElementSource()`** method of the AudioContext Interface is used to create a new MediaElementAudioSourceNode object, given an existing HTML or element, the audio from which can then be played and manipulated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/createMediaElementSource)
*/
createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;
/**
* The **`createMediaStreamDestination()`** method of the AudioContext Interface is used to create a new MediaStreamAudioDestinationNode object associated with a WebRTC MediaStream representing an audio stream, which may be stored in a local file or sent to another computer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/createMediaStreamDestination)
*/
createMediaStreamDestination(): MediaStreamAudioDestinationNode;
/**
* The **`createMediaStreamSource()`** method of the AudioContext Interface is used to create a new MediaStreamAudioSourceNode object, given a media stream (say, from a MediaDevices.getUserMedia instance), the audio from which can then be played and manipulated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/createMediaStreamSource)
*/
createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;
/**
* The **`getOutputTimestamp()`** method of the AudioContext interface returns a new AudioTimestamp object containing two audio timestamp values relating to the current audio context.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/getOutputTimestamp)
*/
getOutputTimestamp(): AudioTimestamp;
/**
* The **`resume()`** method of the AudioContext interface resumes the progression of time in an audio context that has previously been suspended.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/resume)
*/
resume(): Promise;
/**
* The **`suspend()`** method of the AudioContext Interface suspends the progression of time in the audio context, temporarily halting audio hardware access and reducing CPU/battery usage in the process — this is useful if you want an application to power down the audio hardware when it will not be using an audio context for a while.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/suspend)
*/
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;
};
/**
* The **`AudioData`** interface of the WebCodecs API represents an audio sample.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData)
*/
interface AudioData {
/**
* The **`duration`** read-only property of the AudioData interface returns the duration in microseconds of this AudioData object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/duration)
*/
readonly duration: number;
/**
* The **`format`** read-only property of the AudioData interface returns the sample format of the AudioData object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/format)
*/
readonly format: AudioSampleFormat | null;
/**
* The **`numberOfChannels`** read-only property of the AudioData interface returns the number of channels in the AudioData object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfChannels)
*/
readonly numberOfChannels: number;
/**
* The **`numberOfFrames`** read-only property of the AudioData interface returns the number of frames in the AudioData object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfFrames)
*/
readonly numberOfFrames: number;
/**
* The **`sampleRate`** read-only property of the AudioData interface returns the sample rate in Hz.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/sampleRate)
*/
readonly sampleRate: number;
/**
* The **`timestamp`** read-only property of the AudioData interface returns the timestamp of this AudioData object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/timestamp)
*/
readonly timestamp: number;
/**
* The **`allocationSize()`** method of the AudioData interface returns the size in bytes required to hold the current sample as filtered by options passed into the method.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/allocationSize)
*/
allocationSize(options: AudioDataCopyToOptions): number;
/**
* The **`clone()`** method of the AudioData interface creates a new AudioData object with reference to the same media resource as the original.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/clone)
*/
clone(): AudioData;
/**
* The **`close()`** method of the AudioData interface clears all states and releases the reference to the media resource.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/close)
*/
close(): void;
/**
* The **`copyTo()`** method of the AudioData interface copies a plane of an AudioData object to a destination buffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/copyTo)
*/
copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void;
}
declare var AudioData: {
prototype: AudioData;
new(init: AudioDataInit): AudioData;
};
interface AudioDecoderEventMap {
"dequeue": Event;
}
/**
* The **`AudioDecoder`** interface of the WebCodecs API decodes chunks of audio.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder)
*/
interface AudioDecoder extends EventTarget {
/**
* The **`decodeQueueSize`** read-only property of the AudioDecoder interface returns the number of pending decode requests in the queue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decodeQueueSize)
*/
readonly decodeQueueSize: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/dequeue_event) */
ondequeue: ((this: AudioDecoder, ev: Event) => any) | null;
/**
* The **`state`** read-only property of the AudioDecoder interface returns the current state of the underlying codec.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/state)
*/
readonly state: CodecState;
/**
* The **`close()`** method of the AudioDecoder interface ends all pending work and releases system resources.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/close)
*/
close(): void;
/**
* The **`configure()`** method of the AudioDecoder interface enqueues a control message to configure the audio decoder for decoding chunks.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/configure)
*/
configure(config: AudioDecoderConfig): void;
/**
* The **`decode()`** method of the AudioDecoder interface enqueues a control message to decode a given chunk of audio.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decode)
*/
decode(chunk: EncodedAudioChunk): void;
/**
* The **`flush()`** method of the AudioDecoder interface returns a Promise that resolves once all pending messages in the queue have been completed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/flush)
*/
flush(): Promise;
/**
* The **`reset()`** method of the AudioDecoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/reset)
*/
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;
/**
* The **`isConfigSupported()`** static method of the AudioDecoder interface checks if the given config is supported (that is, if AudioDecoder objects can be successfully configured with the given config).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/isConfigSupported_static)
*/
isConfigSupported(config: AudioDecoderConfig): Promise;
};
/**
* The **`AudioDestinationNode`** interface represents the end destination of an audio graph in a given context — usually the speakers of your device. It can also be the node that will "record" the audio data when used with an OfflineAudioContext.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDestinationNode)
*/
interface AudioDestinationNode extends AudioNode {
/**
* The **`maxChannelCount`** property of the AudioDestinationNode interface is an unsigned long defining the maximum amount of channels that the physical device can handle.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDestinationNode/maxChannelCount)
*/
readonly maxChannelCount: number;
}
declare var AudioDestinationNode: {
prototype: AudioDestinationNode;
new(): AudioDestinationNode;
};
interface AudioEncoderEventMap {
"dequeue": Event;
}
/**
* The **`AudioEncoder`** interface of the WebCodecs API encodes AudioData objects.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder)
*/
interface AudioEncoder extends EventTarget {
/**
* The **`encodeQueueSize`** read-only property of the AudioEncoder interface returns the number of pending encode requests in the queue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encodeQueueSize)
*/
readonly encodeQueueSize: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/dequeue_event) */
ondequeue: ((this: AudioEncoder, ev: Event) => any) | null;
/**
* The **`state`** read-only property of the AudioEncoder interface returns the current state of the underlying codec.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/state)
*/
readonly state: CodecState;
/**
* The **`close()`** method of the AudioEncoder interface ends all pending work and releases system resources.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/close)
*/
close(): void;
/**
* The **`configure()`** method of the AudioEncoder interface enqueues a control message to configure the audio encoder for encoding chunks.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/configure)
*/
configure(config: AudioEncoderConfig): void;
/**
* The **`encode()`** method of the AudioEncoder interface enqueues a control message to encode a given AudioData object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encode)
*/
encode(data: AudioData): void;
/**
* The **`flush()`** method of the AudioEncoder interface returns a Promise that resolves once all pending messages in the queue have been completed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/flush)
*/
flush(): Promise;
/**
* The **`reset()`** method of the AudioEncoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/reset)
*/
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;
/**
* The **`isConfigSupported()`** static method of the AudioEncoder interface checks if the given config is supported (that is, if AudioEncoder objects can be successfully configured with the given config).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/isConfigSupported_static)
*/
isConfigSupported(config: AudioEncoderConfig): Promise;
};
/**
* The **`AudioListener`** interface represents the position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener)
*/
interface AudioListener {
/**
* The **`forwardX`** read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the forward direction the listener is pointing in.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/forwardX)
*/
readonly forwardX: AudioParam;
/**
* The **`forwardY`** read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the forward direction the listener is pointing in.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/forwardY)
*/
readonly forwardY: AudioParam;
/**
* The **`forwardZ`** read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the forward direction the listener is pointing in.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/forwardZ)
*/
readonly forwardZ: AudioParam;
/**
* The **`positionX`** read-only property of the AudioListener interface is an AudioParam representing the x position of the listener in 3D cartesian space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/positionX)
*/
readonly positionX: AudioParam;
/**
* The **`positionY`** read-only property of the AudioListener interface is an AudioParam representing the y position of the listener in 3D cartesian space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/positionY)
*/
readonly positionY: AudioParam;
/**
* The **`positionZ`** read-only property of the AudioListener interface is an AudioParam representing the z position of the listener in 3D cartesian space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/positionZ)
*/
readonly positionZ: AudioParam;
/**
* The **`upX`** read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the up direction the listener is pointing in.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/upX)
*/
readonly upX: AudioParam;
/**
* The **`upY`** read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the up direction the listener is pointing in.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/upY)
*/
readonly upY: AudioParam;
/**
* The **`upZ`** read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the up direction the listener is pointing in.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/upZ)
*/
readonly upZ: AudioParam;
/**
* The **`setOrientation()`** method of the AudioListener interface defines the orientation of the listener.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/setOrientation)
*/
setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;
/**
* The **`setPosition()`** method of the AudioListener Interface defines the position of the listener.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/setPosition)
*/
setPosition(x: number, y: number, z: number): void;
}
declare var AudioListener: {
prototype: AudioListener;
new(): AudioListener;
};
/**
* The **`AudioNode`** interface is a generic interface for representing an audio processing module.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode)
*/
interface AudioNode extends EventTarget {
/**
* The **`channelCount`** property of the AudioNode interface represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/channelCount)
*/
channelCount: number;
/**
* The **`channelCountMode`** property of the AudioNode interface represents an enumerated value describing the way channels must be matched between the node's inputs and outputs.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/channelCountMode)
*/
channelCountMode: ChannelCountMode;
/**
* The **`channelInterpretation`** property of the AudioNode interface represents an enumerated value describing how input channels are mapped to output channels when the number of inputs/outputs is different. For example, this setting defines how a mono input will be up-mixed to a stereo or 5.1 channel output, or how a quad channel input will be down-mixed to a stereo or mono output.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/channelInterpretation)
*/
channelInterpretation: ChannelInterpretation;
/**
* The read-only **`context`** property of the AudioNode interface returns the associated BaseAudioContext, that is the object representing the processing graph the node is participating in.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/context)
*/
readonly context: BaseAudioContext;
/**
* The **`numberOfInputs`** property of the AudioNode interface returns the number of inputs feeding the node. Source nodes are defined as nodes having a numberOfInputs property with a value of 0.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/numberOfInputs)
*/
readonly numberOfInputs: number;
/**
* The **`numberOfOutputs`** property of the AudioNode interface returns the number of outputs coming out of the node. Destination nodes — like AudioDestinationNode — have a value of 0 for this attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/numberOfOutputs)
*/
readonly numberOfOutputs: number;
/**
* The **`connect()`** method of the AudioNode interface lets you connect one of the node's outputs to a target, which may be either another AudioNode (thereby directing the sound data to the specified node) or an AudioParam, so that the node's output data is automatically used to change the value of that parameter over time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/connect)
*/
connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;
connect(destinationParam: AudioParam, output?: number): void;
/**
* The **`disconnect()`** method of the AudioNode interface lets you disconnect one or more nodes from the node on which the method is called.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)
*/
disconnect(): void;
disconnect(output: number): void;
disconnect(destinationNode: AudioNode): void;
disconnect(destinationNode: AudioNode, output: number): void;
disconnect(destinationNode: AudioNode, output: number, input: number): void;
disconnect(destinationParam: AudioParam): void;
disconnect(destinationParam: AudioParam, output: number): void;
}
declare var AudioNode: {
prototype: AudioNode;
new(): AudioNode;
};
/**
* The Web Audio API's **`AudioParam`** interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam)
*/
interface AudioParam {
automationRate: AutomationRate;
/**
* The **`defaultValue`** read-only property of the AudioParam interface represents the initial value of the attributes as defined by the specific AudioNode creating the AudioParam.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/defaultValue)
*/
readonly defaultValue: number;
/**
* The **`maxValue`** read-only property of the AudioParam interface represents the maximum possible value for the parameter's nominal (effective) range.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/maxValue)
*/
readonly maxValue: number;
/**
* The **`minValue`** read-only property of the AudioParam interface represents the minimum possible value for the parameter's nominal (effective) range.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/minValue)
*/
readonly minValue: number;
/**
* The **`value`** property of the AudioParam interface gets or sets the value of this AudioParam at the current time. Initially, the value is set to AudioParam.defaultValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/value)
*/
value: number;
/**
* The **`cancelAndHoldAtTime()`** method of the AudioParam interface cancels all scheduled future changes to the AudioParam but holds its value at a given time until further changes are made using other methods.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/cancelAndHoldAtTime)
*/
cancelAndHoldAtTime(cancelTime: number): AudioParam;
/**
* The **`cancelScheduledValues()`** method of the AudioParam Interface cancels all scheduled future changes to the AudioParam.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/cancelScheduledValues)
*/
cancelScheduledValues(cancelTime: number): AudioParam;
/**
* The **`exponentialRampToValueAtTime()`** method of the AudioParam Interface schedules a gradual exponential change in the value of the AudioParam. The change starts at the time specified for the previous event, follows an exponential ramp to the new value given in the value parameter, and reaches the new value at the time given in the endTime parameter.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/exponentialRampToValueAtTime)
*/
exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;
/**
* The **`linearRampToValueAtTime()`** method of the AudioParam Interface schedules a gradual linear change in the value of the AudioParam. The change starts at the time specified for the previous event, follows a linear ramp to the new value given in the value parameter, and reaches the new value at the time given in the endTime parameter.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/linearRampToValueAtTime)
*/
linearRampToValueAtTime(value: number, endTime: number): AudioParam;
/**
* The **`setTargetAtTime()`** method of the AudioParam interface schedules the start of a gradual change to the AudioParam value. This is useful for decay or release portions of ADSR envelopes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setTargetAtTime)
*/
setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;
/**
* The **`setValueAtTime()`** method of the AudioParam interface schedules an instant change to the AudioParam value at a precise time, as measured against AudioContext.currentTime. The new value is given in the value parameter.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueAtTime)
*/
setValueAtTime(value: number, startTime: number): AudioParam;
/**
* The **`setValueCurveAtTime()`** method of the AudioParam interface schedules the parameter's value to change following a curve defined by a list of values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)
*/
setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;
}
declare var AudioParam: {
prototype: AudioParam;
new(): AudioParam;
};
/**
* The **`AudioParamMap`** interface of the Web Audio API represents an iterable and read-only set of multiple audio parameters.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParamMap)
*/
interface AudioParamMap {
forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;
}
declare var AudioParamMap: {
prototype: AudioParamMap;
new(): AudioParamMap;
};
/**
* The **`AudioProcessingEvent`** interface of the Web Audio API represents events that occur when a ScriptProcessorNode input buffer is ready to be processed.
* @deprecated As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by AudioWorklet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioProcessingEvent)
*/
interface AudioProcessingEvent extends Event {
/**
* The **`inputBuffer`** read-only property of the AudioProcessingEvent interface represents the input buffer of an audio processing event.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioProcessingEvent/inputBuffer)
*/
readonly inputBuffer: AudioBuffer;
/**
* The **`outputBuffer`** read-only property of the AudioProcessingEvent interface represents the output buffer of an audio processing event.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioProcessingEvent/outputBuffer)
*/
readonly outputBuffer: AudioBuffer;
/**
* The **`playbackTime`** read-only property of the AudioProcessingEvent interface represents the time when the audio will be played. It is in the same coordinate system as the time used by the AudioContext.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioProcessingEvent/playbackTime)
*/
readonly playbackTime: number;
}
/** @deprecated */
declare var AudioProcessingEvent: {
prototype: AudioProcessingEvent;
new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;
};
interface AudioScheduledSourceNodeEventMap {
"ended": Event;
}
/**
* The **`AudioScheduledSourceNode`** interface—part of the Web Audio API—is a parent interface for several types of audio source node interfaces which share the ability to be started and stopped, optionally at specified times. Specifically, this interface defines the start() and stop() methods, as well as the ended event.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode)
*/
interface AudioScheduledSourceNode extends AudioNode {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/ended_event) */
onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;
/**
* The **`start()`** method on AudioScheduledSourceNode schedules a sound to begin playback at the specified time. If no time is specified, then the sound begins playing immediately.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/start)
*/
start(when?: number): void;
/**
* The **`stop()`** method on AudioScheduledSourceNode schedules a sound to cease playback at the specified time. If no time is specified, then the sound stops playing immediately.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/stop)
*/
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;
};
/**
* The **`AudioWorklet`** interface of the Web Audio API is used to supply custom audio processing scripts that execute in a separate thread to provide very low latency audio processing.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorklet)
*/
interface AudioWorklet extends Worklet {
}
declare var AudioWorklet: {
prototype: AudioWorklet;
new(): AudioWorklet;
};
interface AudioWorkletNodeEventMap {
"processorerror": ErrorEvent;
}
/**
* The **`AudioWorkletNode`** interface of the Web Audio API represents a base class for a user-defined AudioNode, which can be connected to an audio routing graph along with other nodes. It has an associated AudioWorkletProcessor, which does the actual audio processing in a Web Audio rendering thread.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode)
*/
interface AudioWorkletNode extends AudioNode {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/processorerror_event) */
onprocessorerror: ((this: AudioWorkletNode, ev: ErrorEvent) => any) | null;
/**
* The read-only **`parameters`** property of the AudioWorkletNode interface returns the associated AudioParamMap — that is, a Map-like collection of AudioParam objects. They are instantiated during creation of the underlying AudioWorkletProcessor according to its parameterDescriptors static getter.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/parameters)
*/
readonly parameters: AudioParamMap;
/**
* The read-only **`port`** property of the AudioWorkletNode interface returns the associated MessagePort. It can be used to communicate between the node and its associated AudioWorkletProcessor.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/port)
*/
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;
};
/**
* The **`AuthenticatorAssertionResponse`** interface of the Web Authentication API contains a digital signature from the private key of a particular WebAuthn credential. The relying party's server can verify this signature to authenticate a user, for example when they sign in.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse)
*/
interface AuthenticatorAssertionResponse extends AuthenticatorResponse {
/**
* The **`authenticatorData`** property of the AuthenticatorAssertionResponse interface returns an ArrayBuffer containing information from the authenticator such as the Relying Party ID Hash (rpIdHash), a signature counter, test of user presence, user verification flags, and any extensions processed by the authenticator.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse/authenticatorData)
*/
readonly authenticatorData: ArrayBuffer;
/**
* The **`signature`** read-only property of the AuthenticatorAssertionResponse interface is an ArrayBuffer object which is the signature of the authenticator for both AuthenticatorAssertionResponse.authenticatorData and a SHA-256 hash of the client data (AuthenticatorAssertionResponse.clientDataJSON).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse/signature)
*/
readonly signature: ArrayBuffer;
/**
* The **`userHandle`** read-only property of the AuthenticatorAssertionResponse interface is an ArrayBuffer object providing an opaque identifier for the given user. Such an identifier can be used by the relying party's server to link the user account with its corresponding credentials and other data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse/userHandle)
*/
readonly userHandle: ArrayBuffer | null;
}
declare var AuthenticatorAssertionResponse: {
prototype: AuthenticatorAssertionResponse;
new(): AuthenticatorAssertionResponse;
};
/**
* The **`AuthenticatorAttestationResponse`** interface of the Web Authentication API is the result of a WebAuthn credential registration. It contains information about the credential that the server needs to perform WebAuthn assertions, such as its credential ID and public key.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse)
*/
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
/**
* The **`attestationObject`** property of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the new public key, as well as signature over the entire attestationObject with a private key that is stored in the authenticator when it is manufactured.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/attestationObject)
*/
readonly attestationObject: ArrayBuffer;
/**
* The **`getAuthenticatorData()`** method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the authenticator data contained within the AuthenticatorAttestationResponse.attestationObject property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getAuthenticatorData)
*/
getAuthenticatorData(): ArrayBuffer;
/**
* The **`getPublicKey()`** method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the DER SubjectPublicKeyInfo of the new credential (see Subject Public Key Info), or null if this is not available.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getPublicKey)
*/
getPublicKey(): ArrayBuffer | null;
/**
* The **`getPublicKeyAlgorithm()`** method of the AuthenticatorAttestationResponse interface returns a number that is equal to a COSE Algorithm Identifier, representing the cryptographic algorithm used for the new credential.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getPublicKeyAlgorithm)
*/
getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;
/**
* The **`getTransports()`** method of the AuthenticatorAttestationResponse interface returns an array of strings describing the different transports which may be used by the authenticator.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getTransports)
*/
getTransports(): string[];
}
declare var AuthenticatorAttestationResponse: {
prototype: AuthenticatorAttestationResponse;
new(): AuthenticatorAttestationResponse;
};
/**
* The **`AuthenticatorResponse`** interface of the Web Authentication API is the base interface for interfaces that provide a cryptographic root of trust for a key pair. The child interfaces include information from the browser such as the challenge origin and either may be returned from PublicKeyCredential.response.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorResponse)
*/
interface AuthenticatorResponse {
/**
* The **`clientDataJSON`** property of the AuthenticatorResponse interface stores a JSON string in an ArrayBuffer, representing the client data that was passed to navigator.credentials.create() or navigator.credentials.get(). This property is only accessed on one of the child objects of AuthenticatorResponse, specifically AuthenticatorAttestationResponse or AuthenticatorAssertionResponse.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorResponse/clientDataJSON)
*/
readonly clientDataJSON: ArrayBuffer;
}
declare var AuthenticatorResponse: {
prototype: AuthenticatorResponse;
new(): AuthenticatorResponse;
};
/**
* The **`BarProp`** interface of the Document Object Model represents the web browser user interface elements that are exposed to scripts in web pages. Each of the following interface elements are represented by a BarProp object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BarProp)
*/
interface BarProp {
/**
* The **`visible`** read-only property of the BarProp interface returns true if the user interface element it represents is visible.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BarProp/visible)
*/
readonly visible: boolean;
}
declare var BarProp: {
prototype: BarProp;
new(): BarProp;
};
interface BaseAudioContextEventMap {
"statechange": Event;
}
/**
* The **`BaseAudioContext`** interface of the Web Audio API acts as a base definition for online and offline audio-processing graphs, as represented by AudioContext and OfflineAudioContext respectively. You wouldn't use BaseAudioContext directly — you'd use its features via one of these two inheriting interfaces.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext)
*/
interface BaseAudioContext extends EventTarget {
/**
* The **`audioWorklet`** read-only property of the BaseAudioContext interface returns an instance of AudioWorklet that can be used for adding AudioWorkletProcessor-derived classes which implement custom audio processing.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/audioWorklet)
*/
readonly audioWorklet: AudioWorklet;
/**
* The **`currentTime`** read-only property of the BaseAudioContext interface returns a double representing an ever-increasing hardware timestamp in seconds that can be used for scheduling audio playback, visualizing timelines, etc. It starts at 0.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/currentTime)
*/
readonly currentTime: number;
/**
* The **`destination`** property of the BaseAudioContext interface returns an AudioDestinationNode representing the final destination of all audio in the context. It often represents an actual audio-rendering device such as your device's speakers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/destination)
*/
readonly destination: AudioDestinationNode;
/**
* The **`listener`** property of the BaseAudioContext interface returns an AudioListener object that can then be used for implementing 3D audio spatialization.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/listener)
*/
readonly listener: AudioListener;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/statechange_event) */
onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null;
/**
* The **`sampleRate`** property of the BaseAudioContext interface returns a floating point number representing the sample rate, in samples per second, used by all nodes in this audio context. This limitation means that sample-rate converters are not supported.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/sampleRate)
*/
readonly sampleRate: number;
/**
* The **`state`** read-only property of the BaseAudioContext interface returns the current state of the AudioContext.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/state)
*/
readonly state: AudioContextState;
/**
* The **`createAnalyser()`** method of the BaseAudioContext interface creates an AnalyserNode, which can be used to expose audio time and frequency data and create data visualizations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createAnalyser)
*/
createAnalyser(): AnalyserNode;
/**
* The **`createBiquadFilter()`** method of the BaseAudioContext interface creates a BiquadFilterNode, which represents a second order filter configurable as several different common filter types.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createBiquadFilter)
*/
createBiquadFilter(): BiquadFilterNode;
/**
* The **`createBuffer()`** method of the BaseAudioContext Interface is used to create a new, empty AudioBuffer object, which can then be populated by data, and played via an AudioBufferSourceNode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createBuffer)
*/
createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;
/**
* The **`createBufferSource()`** method of the BaseAudioContext Interface is used to create a new AudioBufferSourceNode, which can be used to play audio data contained within an AudioBuffer object. AudioBuffers are created using BaseAudioContext.createBuffer or returned by BaseAudioContext.decodeAudioData when it successfully decodes an audio track.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createBufferSource)
*/
createBufferSource(): AudioBufferSourceNode;
/**
* The **`createChannelMerger()`** method of the BaseAudioContext interface creates a ChannelMergerNode, which combines channels from multiple audio streams into a single audio stream.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createChannelMerger)
*/
createChannelMerger(numberOfInputs?: number): ChannelMergerNode;
/**
* The **`createChannelSplitter()`** method of the BaseAudioContext Interface is used to create a ChannelSplitterNode, which is used to access the individual channels of an audio stream and process them separately.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createChannelSplitter)
*/
createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;
/**
* The **`createConstantSource()`** property of the BaseAudioContext interface creates a ConstantSourceNode object, which is an audio source that continuously outputs a monaural (one-channel) sound signal whose samples all have the same value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createConstantSource)
*/
createConstantSource(): ConstantSourceNode;
/**
* The **`createConvolver()`** method of the BaseAudioContext interface creates a ConvolverNode, which is commonly used to apply reverb effects to your audio. See the spec definition of Convolution for more information.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createConvolver)
*/
createConvolver(): ConvolverNode;
/**
* The **`createDelay()`** method of the BaseAudioContext Interface is used to create a DelayNode, which is used to delay the incoming audio signal by a certain amount of time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createDelay)
*/
createDelay(maxDelayTime?: number): DelayNode;
/**
* The **`createDynamicsCompressor()`** method of the BaseAudioContext Interface is used to create a DynamicsCompressorNode, which can be used to apply compression to an audio signal.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createDynamicsCompressor)
*/
createDynamicsCompressor(): DynamicsCompressorNode;
/**
* The **`createGain()`** method of the BaseAudioContext interface creates a GainNode, which can be used to control the overall gain (or volume) of the audio graph.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createGain)
*/
createGain(): GainNode;
/**
* The **`createIIRFilter()`** method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general infinite impulse response (IIR) filter which can be configured to serve as various types of filter.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter)
*/
createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode;
/**
* The **`createOscillator()`** method of the BaseAudioContext interface creates an OscillatorNode, a source representing a periodic waveform. It basically generates a constant tone.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createOscillator)
*/
createOscillator(): OscillatorNode;
/**
* The **`createPanner()`** method of the BaseAudioContext Interface is used to create a new PannerNode, which is used to spatialize an incoming audio stream in 3D space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPanner)
*/
createPanner(): PannerNode;
/**
* The **`createPeriodicWave()`** method of the BaseAudioContext interface is used to create a PeriodicWave. This wave is used to define a periodic waveform that can be used to shape the output of an OscillatorNode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave)
*/
createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;
/**
* The **`createScriptProcessor()`** method of the BaseAudioContext interface creates a ScriptProcessorNode used for direct audio processing.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createScriptProcessor)
*/
createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;
/**
* The **`createStereoPanner()`** method of the BaseAudioContext interface creates a StereoPannerNode, which can be used to apply stereo panning to an audio source. It positions an incoming audio stream in a stereo image using a low-cost panning algorithm.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createStereoPanner)
*/
createStereoPanner(): StereoPannerNode;
/**
* The **`createWaveShaper()`** method of the BaseAudioContext interface creates a WaveShaperNode, which represents a non-linear distortion. It is used to apply distortion effects to your audio.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createWaveShaper)
*/
createWaveShaper(): WaveShaperNode;
/**
* The **`decodeAudioData()`** method of the BaseAudioContext Interface is used to asynchronously decode audio file data contained in an ArrayBuffer that is loaded from fetch(), XMLHttpRequest, or FileReader. The decoded AudioBuffer is resampled to the AudioContext's sampling rate, then passed to a callback or promise.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/decodeAudioData)
*/
decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): 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;
};
/**
* The **`BeforeUnloadEvent`** interface represents the event object for the beforeunload event, which is fired when the current window, contained document, and associated resources are about to be unloaded.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent)
*/
interface BeforeUnloadEvent extends Event {
/**
* The **`returnValue`** property of the BeforeUnloadEvent interface, when set to a truthy value, triggers a browser-generated confirmation dialog asking users to confirm if they really want to leave the page when they try to close or reload it, or navigate somewhere else. This is intended to help prevent loss of unsaved data.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue)
*/
returnValue: any;
}
declare var BeforeUnloadEvent: {
prototype: BeforeUnloadEvent;
new(): BeforeUnloadEvent;
};
/**
* The **`BiquadFilterNode`** interface represents a simple low-order filter, and is created using the BaseAudioContext/createBiquadFilter method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. A BiquadFilterNode always has exactly one input and one output.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode)
*/
interface BiquadFilterNode extends AudioNode {
/**
* The **`Q`** property of the BiquadFilterNode interface is an a-rate AudioParam, a double representing a Q factor, or quality factor.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/Q)
*/
readonly Q: AudioParam;
/**
* The **`detune`** property of the BiquadFilterNode interface is an a-rate AudioParam representing detuning of the frequency in cents.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/detune)
*/
readonly detune: AudioParam;
/**
* The **`frequency`** property of the BiquadFilterNode interface is an a-rate AudioParam — a double representing a frequency in the current filtering algorithm measured in hertz (Hz).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/frequency)
*/
readonly frequency: AudioParam;
/**
* The **`gain`** property of the BiquadFilterNode interface is an a-rate AudioParam — a double representing the gain used in the current filtering algorithm.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/gain)
*/
readonly gain: AudioParam;
/**
* The **`type`** property of the BiquadFilterNode interface is a string (enum) value defining the kind of filtering algorithm the node is implementing.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/type)
*/
type: BiquadFilterType;
/**
* The **`getFrequencyResponse()`** method of the BiquadFilterNode interface takes the current filtering algorithm's settings and calculates the frequency response for frequencies specified in a specified array of frequencies.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/getFrequencyResponse)
*/
getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void;
}
declare var BiquadFilterNode: {
prototype: BiquadFilterNode;
new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode;
};
/**
* The **`Blob`** interface represents a blob, which is a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)
*/
interface Blob {
/**
* The **`size`** read-only property of the Blob interface returns the size of the Blob or File in bytes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size)
*/
readonly size: number;
/**
* The **`type`** read-only property of the Blob interface returns the MIME type of the file.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type)
*/
readonly type: string;
/**
* The **`arrayBuffer()`** method of the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer)
*/
arrayBuffer(): Promise;
/**
* The **`bytes()`** method of the Blob interface returns a Promise that resolves with a Uint8Array containing the contents of the blob as an array of bytes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes)
*/
bytes(): Promise>;
/**
* The **`slice()`** method of the Blob interface creates and returns a new Blob object which contains data from a subset of the blob on which it's called.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice)
*/
slice(start?: number, end?: number, contentType?: string): Blob;
/**
* The **`stream()`** method of the Blob interface returns a ReadableStream which upon reading returns the data contained within the Blob.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream)
*/
stream(): ReadableStream>;
/**
* The **`text()`** method of the Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
*/
text(): Promise;
}
declare var Blob: {
prototype: Blob;
new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;
};
/**
* The **`BlobEvent`** interface of the MediaStream Recording API represents events associated with a Blob. These blobs are typically, but not necessarily, associated with media content.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BlobEvent)
*/
interface BlobEvent extends Event {
/**
* The **`data`** read-only property of the BlobEvent interface represents a Blob associated with the event.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BlobEvent/data)
*/
readonly data: Blob;
/**
* The **`timecode`** read-only property of the BlobEvent interface indicates the difference between the timestamp of the first chunk of data, and the timestamp of the first chunk in the first BlobEvent produced by this recorder.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BlobEvent/timecode)
*/
readonly timecode: DOMHighResTimeStamp;
}
declare var BlobEvent: {
prototype: BlobEvent;
new(type: string, eventInitDict: BlobEventInit): BlobEvent;
};
interface Body {
/**
* The **`body`** read-only property of the Request interface contains a ReadableStream with the body contents that have been added to the request. Note that a request using the GET or HEAD method cannot have a body and null is returned in these cases.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body)
*/
readonly body: ReadableStream> | null;
/**
* The **`bodyUsed`** read-only property of the Request interface is a boolean value that indicates whether the request body has been read yet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed)
*/
readonly bodyUsed: boolean;
/**
* The **`arrayBuffer()`** method of the Request interface reads the request body and returns it as a promise that resolves with an ArrayBuffer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer)
*/
arrayBuffer(): Promise;
/**
* The **`blob()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Blob.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob)
*/
blob(): Promise;
/**
* The **`bytes()`** method of the Request interface reads the request body and returns it as a promise that resolves with a Uint8Array.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes)
*/
bytes(): Promise>;
/**
* The **`formData()`** method of the Request interface reads the request body and returns it as a promise that resolves with a FormData object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData)
*/
formData(): Promise;
/**
* The **`json()`** method of the Request interface reads the request body and returns it as a promise that resolves with the result of parsing the body text as JSON.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json)
*/
json(): Promise;
/**
* The **`text()`** method of the Request interface reads the request body and returns it as a promise that resolves with a String. The response is always decoded using UTF-8.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text)
*/
text(): Promise;
}
interface BroadcastChannelEventMap {
"message": MessageEvent;
"messageerror": MessageEvent;
}
/**
* The **`BroadcastChannel`** interface represents a named channel that any browsing context of a given origin can subscribe to. It allows communication between different documents (in different windows, tabs, frames or iframes) of the same origin. Messages are broadcasted via a message event fired at all BroadcastChannel objects listening to the channel, except the object that sent the message.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel)
*/
interface BroadcastChannel extends EventTarget {
/**
* The **`name`** read-only property of the BroadcastChannel interface returns a string, which uniquely identifies the given channel with its name. This name is passed to the BroadcastChannel() constructor at creation time and is therefore read-only.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/name)
*/
readonly name: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/message_event) */
onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/messageerror_event) */
onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;
/**
* The **`close()`** method of the BroadcastChannel interface terminates the connection to the underlying channel, allowing the object to be garbage collected. This is a necessary step to perform as there is no other way for a browser to know that this channel is not needed anymore.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/close)
*/
close(): void;
/**
* The **`postMessage()`** method of the BroadcastChannel interface sends a message, which can be of any kind of Object, to each listener in any browsing context with the same origin. The message is transmitted as a message event targeted at each BroadcastChannel bound to the channel.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/postMessage)
*/
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(name: string): BroadcastChannel;
};
/**
* The **`ByteLengthQueuingStrategy`** interface of the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
*/
interface ByteLengthQueuingStrategy extends QueuingStrategy {
/**
* The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark)
*/
readonly highWaterMark: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/size) */
readonly size: QueuingStrategySize;
}
declare var ByteLengthQueuingStrategy: {
prototype: ByteLengthQueuingStrategy;
new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;
};
/**
* The **`CDATASection`** interface represents a CDATA section that can be used within XML to include extended portions of unescaped text. When inside a CDATA section, the symbols < and & don't need escaping as they normally do.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CDATASection)
*/
interface CDATASection extends Text {
}
declare var CDATASection: {
prototype: CDATASection;
new(): CDATASection;
};
/**
* The **`CSSAnimation`** interface of the Web Animations API represents an Animation object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSAnimation)
*/
interface CSSAnimation extends Animation {
/**
* The **`animationName`** property of the CSSAnimation interface returns the animation-name. This specifies one or more keyframe at-rules which describe the animation applied to the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSAnimation/animationName)
*/
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;
};
/**
* An object implementing the **`CSSConditionRule`** interface represents a single condition CSS at-rule, which consists of a condition and a statement block.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSConditionRule)
*/
interface CSSConditionRule extends CSSGroupingRule {
/**
* The read-only **`conditionText`** property of the CSSConditionRule interface returns or sets the text of the CSS rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSConditionRule/conditionText)
*/
readonly conditionText: string;
}
declare var CSSConditionRule: {
prototype: CSSConditionRule;
new(): CSSConditionRule;
};
/**
* The **`CSSContainerRule`** interface represents a single CSS @container rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule)
*/
interface CSSContainerRule extends CSSConditionRule {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule/conditions) */
readonly conditions: ReadonlyArray;
/**
* The read-only **`containerName`** property of the CSSContainerRule interface represents the container name of the associated CSS @container at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule/containerName)
*/
readonly containerName: string;
/**
* The read-only **`containerQuery`** property of the CSSContainerRule interface returns a string representing the container conditions that are evaluated when the container changes size in order to determine if the styles in the associated @container are applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule/containerQuery)
*/
readonly containerQuery: string;
}
declare var CSSContainerRule: {
prototype: CSSContainerRule;
new(): CSSContainerRule;
};
/**
* The **`CSSCounterStyleRule`** interface represents an @counter-style at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule)
*/
interface CSSCounterStyleRule extends CSSRule {
/**
* The **`additiveSymbols`** property of the CSSCounterStyleRule interface gets and sets the value of the additive-symbols descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/additiveSymbols)
*/
additiveSymbols: string;
/**
* The **`fallback`** property of the CSSCounterStyleRule interface gets and sets the value of the fallback descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/fallback)
*/
fallback: string;
/**
* The **`name`** property of the CSSCounterStyleRule interface gets and sets the defined as the name for the associated rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/name)
*/
name: string;
/**
* The **`negative`** property of the CSSCounterStyleRule interface gets and sets the value of the negative descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/negative)
*/
negative: string;
/**
* The **`pad`** property of the CSSCounterStyleRule interface gets and sets the value of the pad descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/pad)
*/
pad: string;
/**
* The **`prefix`** property of the CSSCounterStyleRule interface gets and sets the value of the prefix descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/prefix)
*/
prefix: string;
/**
* The **`range`** property of the CSSCounterStyleRule interface gets and sets the value of the range descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/range)
*/
range: string;
/**
* The **`speakAs`** property of the CSSCounterStyleRule interface gets and sets the value of the speak-as descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/speakAs)
*/
speakAs: string;
/**
* The **`suffix`** property of the CSSCounterStyleRule interface gets and sets the value of the suffix descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/suffix)
*/
suffix: string;
/**
* The **`symbols`** property of the CSSCounterStyleRule interface gets and sets the value of the symbols descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/symbols)
*/
symbols: string;
/**
* The **`system`** property of the CSSCounterStyleRule interface gets and sets the value of the system descriptor. If the descriptor does not have a value set, this attribute returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/system)
*/
system: string;
}
declare var CSSCounterStyleRule: {
prototype: CSSCounterStyleRule;
new(): CSSCounterStyleRule;
};
/**
* The **`CSSFontFaceDescriptors`** interface represents a CSS declaration block for an @font-face at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceDescriptors)
*/
interface CSSFontFaceDescriptors extends CSSStyleDeclarationBase {
"font-display": string;
"font-family": string;
"font-feature-settings": string;
"font-stretch": string;
"font-style": string;
"font-weight": string;
fontDisplay: string;
fontFamily: string;
fontFeatureSettings: string;
fontStretch: string;
fontStyle: string;
fontWeight: string;
"size-adjust": string;
sizeAdjust: string;
src: string;
"unicode-range": string;
unicodeRange: string;
}
declare var CSSFontFaceDescriptors: {
prototype: CSSFontFaceDescriptors;
new(): CSSFontFaceDescriptors;
};
/**
* The **`CSSFontFaceRule`** interface represents an @font-face at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule)
*/
interface CSSFontFaceRule extends CSSRule {
/**
* The read-only **`style`** property of the CSSFontFaceRule interface returns a CSSFontFaceDescriptors object representing the descriptors available in the @font-face rule's body.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)
*/
get style(): CSSFontFaceDescriptors;
set style(cssText: string);
}
declare var CSSFontFaceRule: {
prototype: CSSFontFaceRule;
new(): CSSFontFaceRule;
};
/**
* The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
*/
interface CSSFontFeatureValuesRule extends CSSRule {
/**
* The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
*/
fontFamily: string;
}
declare var CSSFontFeatureValuesRule: {
prototype: CSSFontFeatureValuesRule;
new(): CSSFontFeatureValuesRule;
};
/**
* The **`CSSFontPaletteValuesRule`** interface represents an @font-palette-values at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule)
*/
interface CSSFontPaletteValuesRule extends CSSRule {
/**
* The read-only **`basePalette`** property of the CSSFontPaletteValuesRule interface indicates the base palette associated with the rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule/basePalette)
*/
readonly basePalette: string;
/**
* The read-only **`fontFamily`** property of the CSSFontPaletteValuesRule interface lists the font families the rule can be applied to. The font families must be named families; generic families like courier are not valid.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule/fontFamily)
*/
readonly fontFamily: string;
/**
* The read-only **`name`** property of the CSSFontPaletteValuesRule interface represents the name identifying the associated @font-palette-values at-rule. A valid name always starts with two dashes, such as --Alternate.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule/name)
*/
readonly name: string;
/**
* The read-only **`overrideColors`** property of the CSSFontPaletteValuesRule interface is a string containing a list of color index and color pair that are to be used instead. It is specified in the same format as the corresponding override-colors descriptor.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule/overrideColors)
*/
readonly overrideColors: string;
}
declare var CSSFontPaletteValuesRule: {
prototype: CSSFontPaletteValuesRule;
new(): CSSFontPaletteValuesRule;
};
/**
* The **`CSSGroupingRule`** interface of the CSS Object Model represents any CSS at-rule that contains other rules nested within it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule)
*/
interface CSSGroupingRule extends CSSRule {
/**
* The **`cssRules`** property of the CSSGroupingRule interface returns a CSSRuleList containing a collection of CSSRule objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/cssRules)
*/
readonly cssRules: CSSRuleList;
/**
* The **`deleteRule()`** method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/deleteRule)
*/
deleteRule(index: number): void;
/**
* The **`insertRule()`** method of the CSSGroupingRule interface adds a new CSS rule to a list of CSS rules.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/insertRule)
*/
insertRule(rule: string, index?: number): number;
}
declare var CSSGroupingRule: {
prototype: CSSGroupingRule;
new(): CSSGroupingRule;
};
/**
* The **`CSSImageValue`** interface of the CSS Typed Object Model API represents values for properties that take an image, for example background-image, list-style-image, or border-image-source.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue)
*/
interface CSSImageValue extends CSSStyleValue {
}
declare var CSSImageValue: {
prototype: CSSImageValue;
new(): CSSImageValue;
};
/**
* The **`CSSImportRule`** interface represents an @import at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule)
*/
interface CSSImportRule extends CSSRule {
/**
* The read-only **`href`** property of the CSSImportRule interface returns the URL specified by the @import at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/href)
*/
readonly href: string;
/**
* The read-only **`layerName`** property of the CSSImportRule interface returns the name of the cascade layer created by the @import at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/layerName)
*/
readonly layerName: string | null;
/**
* The read-only **`media`** property of the CSSImportRule interface returns a MediaList object representing the media query list of the @import rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media)
*/
get media(): MediaList;
set media(mediaText: string);
/**
* The read-only **`styleSheet`** property of the CSSImportRule interface returns the CSS Stylesheet specified by the @import at-rule. This will be in the form of a CSSStyleSheet object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet)
*/
readonly styleSheet: CSSStyleSheet | null;
/**
* The read-only **`supportsText`** property of the CSSImportRule interface returns the supports condition specified by the @import at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText)
*/
readonly supportsText: string | null;
}
declare var CSSImportRule: {
prototype: CSSImportRule;
new(): CSSImportRule;
};
/**
* The **`CSSKeyframeRule`** interface describes an object representing a set of styles for a given keyframe. It corresponds to the contents of a single keyframe of a @keyframes at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule)
*/
interface CSSKeyframeRule extends CSSRule {
/**
* The **`keyText`** property of the CSSKeyframeRule interface represents the keyframe selector as a comma-separated list of percentage values. The from and to keywords map to 0% and 100%, respectively.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/keyText)
*/
keyText: string;
/**
* The read-only **`style`** property of the CSSKeyframeRule interface contains a CSSStyleDeclaration object representing the descriptors available in the @keyframes rule's body.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)
*/
get style(): CSSStyleDeclaration;
set style(cssText: string);
}
declare var CSSKeyframeRule: {
prototype: CSSKeyframeRule;
new(): CSSKeyframeRule;
};
/**
* The **`CSSKeyframesRule`** interface describes an object representing a complete set of keyframes for a CSS animation. It corresponds to the contents of a whole @keyframes at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule)
*/
interface CSSKeyframesRule extends CSSRule {
/**
* The read-only **`cssRules`** property of the CSSKeyframeRule interface returns a CSSRuleList containing the rules in the keyframes at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules)
*/
readonly cssRules: CSSRuleList;
/**
* The read-only **`length`** property of the CSSKeyframesRule interface returns the number of CSSKeyframeRule objects in its list. You can then access each keyframe rule by its index directly on the CSSKeyframeRule object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length)
*/
readonly length: number;
/**
* The **`name`** property of the CSSKeyframeRule interface gets and sets the name of the animation as used by the animation-name property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name)
*/
name: string;
/**
* The **`appendRule()`** method of the CSSKeyframeRule interface appends a CSSKeyFrameRule to the end of the rules.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/appendRule)
*/
appendRule(rule: string): void;
/**
* The **`deleteRule()`** method of the CSSKeyframeRule interface deletes the CSSKeyFrameRule that matches the specified keyframe selector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/deleteRule)
*/
deleteRule(select: string): void;
/**
* The **`findRule()`** method of the CSSKeyframeRule interface finds the CSSKeyFrameRule that matches the specified keyframe selector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/findRule)
*/
findRule(select: string): CSSKeyframeRule | null;
[index: number]: CSSKeyframeRule;
}
declare var CSSKeyframesRule: {
prototype: CSSKeyframesRule;
new(): CSSKeyframesRule;
};
/**
* The **`CSSKeywordValue`** interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue)
*/
interface CSSKeywordValue extends CSSStyleValue {
/**
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the CSSKeywordValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
*/
value: string;
}
declare var CSSKeywordValue: {
prototype: CSSKeywordValue;
new(value: string): CSSKeywordValue;
};
/**
* The **`CSSLayerBlockRule`** represents a @layer block rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSLayerBlockRule)
*/
interface CSSLayerBlockRule extends CSSGroupingRule {
/**
* The read-only **`name`** property of the CSSLayerBlockRule interface represents the name of the associated cascade layer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSLayerBlockRule/name)
*/
readonly name: string;
}
declare var CSSLayerBlockRule: {
prototype: CSSLayerBlockRule;
new(): CSSLayerBlockRule;
};
/**
* The **`CSSLayerStatementRule`** represents a @layer statement rule. Unlike CSSLayerBlockRule, it doesn't contain other rules and merely defines one or several layers by providing their names.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSLayerStatementRule)
*/
interface CSSLayerStatementRule extends CSSRule {
/**
* The read-only **`nameList`** property of the CSSLayerStatementRule interface return the list of associated cascade layer names. The names can't be modified.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSLayerStatementRule/nameList)
*/
readonly nameList: ReadonlyArray;
}
declare var CSSLayerStatementRule: {
prototype: CSSLayerStatementRule;
new(): CSSLayerStatementRule;
};
/**
* The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
*/
interface CSSMathClamp extends CSSMathValue {
/**
* The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
*/
readonly lower: CSSNumericValue;
/**
* The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
*/
readonly upper: CSSNumericValue;
/**
* The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
*/
readonly value: CSSNumericValue;
}
declare var CSSMathClamp: {
prototype: CSSMathClamp;
new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp;
};
/**
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc() used as calc(1 / ). It inherits properties and methods from its parent CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
*/
interface CSSMathInvert extends CSSMathValue {
/**
* The **`CSSMathInvert.value`** read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
*/
readonly value: CSSNumericValue;
}
declare var CSSMathInvert: {
prototype: CSSMathInvert;
new(arg: CSSNumberish): CSSMathInvert;
};
/**
* The **`CSSMathMax`** interface of the CSS Typed Object Model API represents the CSS max() function. It inherits properties and methods from its parent CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax)
*/
interface CSSMathMax extends CSSMathValue {
/**
* The **`CSSMathMax.values`** read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
*/
readonly values: CSSNumericArray;
}
declare var CSSMathMax: {
prototype: CSSMathMax;
new(...args: CSSNumberish[]): CSSMathMax;
};
/**
* The **`CSSMathMin`** interface of the CSS Typed Object Model API represents the CSS min() function. It inherits properties and methods from its parent CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin)
*/
interface CSSMathMin extends CSSMathValue {
/**
* The **`CSSMathMin.values`** read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
*/
readonly values: CSSNumericArray;
}
declare var CSSMathMin: {
prototype: CSSMathMin;
new(...args: CSSNumberish[]): CSSMathMin;
};
/**
* The **`CSSMathNegate`** interface of the CSS Typed Object Model API negates the value passed into it. It inherits properties and methods from its parent CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate)
*/
interface CSSMathNegate extends CSSMathValue {
/**
* The **`CSSMathNegate.value`** read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
*/
readonly value: CSSNumericValue;
}
declare var CSSMathNegate: {
prototype: CSSMathNegate;
new(arg: CSSNumberish): CSSMathNegate;
};
/**
* The **`CSSMathProduct`** interface of the CSS Typed Object Model API represents the result obtained by calling add(), sub(), or toSum() on CSSNumericValue. It inherits properties and methods from its parent CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct)
*/
interface CSSMathProduct extends CSSMathValue {
/**
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
*/
readonly values: CSSNumericArray;
}
declare var CSSMathProduct: {
prototype: CSSMathProduct;
new(...args: CSSNumberish[]): CSSMathProduct;
};
/**
* The **`CSSMathSum`** interface of the CSS Typed Object Model API represents the result obtained by calling add(), sub(), or toSum() on CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum)
*/
interface CSSMathSum extends CSSMathValue {
/**
* The **`CSSMathSum.values`** read-only property of the CSSMathSum interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum/values)
*/
readonly values: CSSNumericArray;
}
declare var CSSMathSum: {
prototype: CSSMathSum;
new(...args: CSSNumberish[]): CSSMathSum;
};
/**
* The **`CSSMathValue`** interface of the CSS Typed Object Model API a base class for classes representing complex numeric values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue)
*/
interface CSSMathValue extends CSSNumericValue {
/**
* The **`CSSMathValue.operator`** read-only property of the CSSMathValue interface indicates the operator that the current subtype represents. For example, if the current CSSMathValue subtype is CSSMathSum, this property will return the string "sum".
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue/operator)
*/
readonly operator: CSSMathOperator;
}
declare var CSSMathValue: {
prototype: CSSMathValue;
new(): CSSMathValue;
};
/**
* The **`CSSMatrixComponent`** interface of the CSS Typed Object Model API represents the matrix() and matrix3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent)
*/
interface CSSMatrixComponent extends CSSTransformComponent {
/**
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
*/
matrix: DOMMatrix;
}
declare var CSSMatrixComponent: {
prototype: CSSMatrixComponent;
new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent;
};
/**
* The **`CSSMediaRule`** interface represents a single CSS @media rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule)
*/
interface CSSMediaRule extends CSSConditionRule {
/**
* The read-only **`media`** property of the CSSMediaRule interface contains a MediaList object representing the media query list of the @media rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media)
*/
get media(): MediaList;
set media(mediaText: string);
}
declare var CSSMediaRule: {
prototype: CSSMediaRule;
new(): CSSMediaRule;
};
/**
* The **`CSSNamespaceRule`** interface describes an object representing a single CSS @namespace at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNamespaceRule)
*/
interface CSSNamespaceRule extends CSSRule {
/**
* The read-only **`namespaceURI`** property of the CSSNamespaceRule returns a string containing the text of the URI of the given namespace.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNamespaceRule/namespaceURI)
*/
readonly namespaceURI: string;
/**
* The read-only **`prefix`** property of the CSSNamespaceRule returns a string with the name of the prefix associated to this namespace. If there is no such prefix, it returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNamespaceRule/prefix)
*/
readonly prefix: string;
}
declare var CSSNamespaceRule: {
prototype: CSSNamespaceRule;
new(): CSSNamespaceRule;
};
/**
* The **`CSSNestedDeclarations`** interface of the CSS Rule API is used to group nested CSSRules.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations)
*/
interface CSSNestedDeclarations extends CSSRule {
/**
* The read-only **`style`** property of the CSSNestedDeclarations interface represents the styles associated with the nested rules.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)
*/
get style(): CSSStyleDeclaration;
set style(cssText: string);
}
declare var CSSNestedDeclarations: {
prototype: CSSNestedDeclarations;
new(): CSSNestedDeclarations;
};
/**
* The **`CSSNumericArray`** interface of the CSS Typed Object Model API contains a list of CSSNumericValue objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray)
*/
interface CSSNumericArray {
/**
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
*/
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;
};
/**
* The **`CSSNumericValue`** interface of the CSS Typed Object Model API represents operations that all numeric values can perform.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue)
*/
interface CSSNumericValue extends CSSStyleValue {
/**
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
*/
add(...values: CSSNumberish[]): CSSNumericValue;
/**
* The **`div()`** method of the CSSNumericValue interface divides the CSSNumericValue by the supplied value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
*/
div(...values: CSSNumberish[]): CSSNumericValue;
/**
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal. To return a value of true, all passed values must be of the same type and value and must be in the same order. This allows structural equality to be tested quickly.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
*/
equals(...value: CSSNumberish[]): boolean;
/**
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed. The passed values must be of the same type.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
*/
max(...values: CSSNumberish[]): CSSNumericValue;
/**
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed. The passed values must be of the same type.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
*/
min(...values: CSSNumberish[]): CSSNumericValue;
/**
* The **`mul()`** method of the CSSNumericValue interface multiplies the CSSNumericValue by the supplied value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
*/
mul(...values: CSSNumberish[]): CSSNumericValue;
/**
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the CSSNumericValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
*/
sub(...values: CSSNumberish[]): CSSNumericValue;
/**
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
*/
to(unit: string): CSSUnitValue;
/**
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
*/
toSum(...units: string[]): CSSMathSum;
/**
* The **`type()`** method of the CSSNumericValue interface returns the type of CSSNumericValue, one of angle, flex, frequency, length, resolution, percent, percentHint, or time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
*/
type(): CSSNumericType;
}
declare var CSSNumericValue: {
prototype: CSSNumericValue;
new(): CSSNumericValue;
/**
* The **`parse()`** static method of the CSSNumericValue interface converts a value string into an object whose members are value and the units.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/parse_static)
*/
parse(cssText: string): CSSNumericValue;
};
/**
* The **`CSSPageDescriptors`** interface represents a CSS declaration block for an @page at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors)
*/
interface CSSPageDescriptors extends CSSStyleDeclarationBase {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin) */
margin: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-bottom) */
"margin-bottom": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-left) */
"margin-left": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-right) */
"margin-right": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margin-top) */
"margin-top": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginbottom) */
marginBottom: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginleft) */
marginLeft: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#marginright) */
marginRight: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#margintop) */
marginTop: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageDescriptors#size) */
size: string;
}
declare var CSSPageDescriptors: {
prototype: CSSPageDescriptors;
new(): CSSPageDescriptors;
};
/**
* **`CSSPageRule`** represents a single CSS @page rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule)
*/
interface CSSPageRule extends CSSGroupingRule {
/**
* The **`selectorText`** property of the CSSPageRule interface gets and sets the selectors associated with the CSSPageRule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/selectorText)
*/
selectorText: string;
/**
* The read-only **`style`** property of the CSSPageRule interface contains a CSSPageDescriptors object representing the descriptors available in the @page rule's body.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)
*/
get style(): CSSPageDescriptors;
set style(cssText: string);
}
declare var CSSPageRule: {
prototype: CSSPageRule;
new(): CSSPageRule;
};
/**
* The **`CSSPerspective`** interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective)
*/
interface CSSPerspective extends CSSTransformComponent {
/**
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
*/
length: CSSPerspectiveValue;
}
declare var CSSPerspective: {
prototype: CSSPerspective;
new(length: CSSPerspectiveValue): CSSPerspective;
};
/**
* The **`CSSPositionTryDescriptors`** interface defines properties that represent the list of CSS descriptors that can be set in the body of a @position-try at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors)
*/
interface CSSPositionTryDescriptors extends CSSStyleDeclarationBase {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"align-self": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
alignSelf: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"block-size": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
blockSize: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
bottom: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
height: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"inline-size": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
inlineSize: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
inset: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"inset-block": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"inset-block-end": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"inset-block-start": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"inset-inline": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"inset-inline-end": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"inset-inline-start": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
insetBlock: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
insetBlockEnd: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
insetBlockStart: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
insetInline: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
insetInlineEnd: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
insetInlineStart: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"justify-self": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
justifySelf: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
left: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
margin: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-block": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-block-end": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-block-start": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-bottom": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-inline": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-inline-end": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-inline-start": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-left": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-right": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"margin-top": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginBlock: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginBlockEnd: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginBlockStart: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginBottom: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginInline: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginInlineEnd: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginInlineStart: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginLeft: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginRight: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
marginTop: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"max-block-size": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"max-height": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"max-inline-size": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"max-width": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
maxBlockSize: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
maxHeight: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
maxInlineSize: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
maxWidth: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"min-block-size": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"min-height": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"min-inline-size": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"min-width": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
minBlockSize: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
minHeight: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
minInlineSize: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
minWidth: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"place-self": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
placeSelf: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"position-anchor": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
"position-area": string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
positionAnchor: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
positionArea: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
right: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
top: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryDescriptors#instance_properties) */
width: string;
}
declare var CSSPositionTryDescriptors: {
prototype: CSSPositionTryDescriptors;
new(): CSSPositionTryDescriptors;
};
/**
* The **`CSSPositionTryRule`** interface describes an object representing a @position-try at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule)
*/
interface CSSPositionTryRule extends CSSRule {
/**
* The **`name`** read-only property of the CSSPositionTryRule interface represents the name of the position try fallback option specified by the @position-try at-rule's .
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/name)
*/
readonly name: string;
/**
* The read-only **`style`** property of the CSSPositionTryRule interface contains a CSSPositionTryDescriptors object representing the descriptors available in the @position-try rule's body.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPositionTryRule/style)
*/
get style(): CSSPositionTryDescriptors;
set style(cssText: string);
}
declare var CSSPositionTryRule: {
prototype: CSSPositionTryRule;
new(): CSSPositionTryRule;
};
/**
* The **`CSSPropertyRule`** interface of the CSS Properties and Values API represents a single CSS @property rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule)
*/
interface CSSPropertyRule extends CSSRule {
/**
* The read-only **`inherits`** property of the CSSPropertyRule interface returns the inherit flag of the custom property registration represented by the @property rule, a boolean describing whether or not the property inherits by default.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits)
*/
readonly inherits: boolean;
/**
* The read-only **`initialValue`** nullable property of the CSSPropertyRule interface returns the initial value of the custom property registration represented by the @property rule, controlling the property's initial value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue)
*/
readonly initialValue: string | null;
/**
* The read-only **`name`** property of the CSSPropertyRule interface represents the property name, this being the serialization of the name given to the custom property in the @property rule's prelude.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name)
*/
readonly name: string;
/**
* The read-only **`syntax`** property of the CSSPropertyRule interface returns the literal syntax of the custom property registration represented by the @property rule, controlling how the property's value is parsed at computed-value time.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/syntax)
*/
readonly syntax: string;
}
declare var CSSPropertyRule: {
prototype: CSSPropertyRule;
new(): CSSPropertyRule;
};
/**
* The **`CSSRotate`** interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate)
*/
interface CSSRotate extends CSSTransformComponent {
/**
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation. A positive angle denotes a clockwise rotation, a negative angle a counter-clockwise one.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
*/
angle: CSSNumericValue;
/**
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
*/
x: CSSNumberish;
/**
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
*/
y: CSSNumberish;
/**
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector. A positive value moves the element towards the viewer, and a negative value farther away.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
*/
z: CSSNumberish;
}
declare var CSSRotate: {
prototype: CSSRotate;
new(angle: CSSNumericValue): CSSRotate;
new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate;
};
/**
* The **`CSSRule`** interface represents a single CSS rule. There are several types of rules which inherit properties from CSSRule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule)
*/
interface CSSRule {
/**
* The **`cssText`** property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/cssText)
*/
cssText: string;
/**
* The **`parentRule`** property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/parentRule)
*/
readonly parentRule: CSSRule | null;
/**
* The **`parentStyleSheet`** property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/parentStyleSheet)
*/
readonly parentStyleSheet: CSSStyleSheet | null;
/**
* The read-only **`type`** property of the CSSRule interface is a deprecated property that returns an integer indicating which type of rule the CSSRule represents.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/type)
*/
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 MARGIN_RULE: 9;
readonly NAMESPACE_RULE: 10;
readonly KEYFRAMES_RULE: 7;
readonly KEYFRAME_RULE: 8;
readonly SUPPORTS_RULE: 12;
readonly COUNTER_STYLE_RULE: 11;
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 MARGIN_RULE: 9;
readonly NAMESPACE_RULE: 10;
readonly KEYFRAMES_RULE: 7;
readonly KEYFRAME_RULE: 8;
readonly SUPPORTS_RULE: 12;
readonly COUNTER_STYLE_RULE: 11;
readonly FONT_FEATURE_VALUES_RULE: 14;
};
/**
* A **`CSSRuleList`** represents an ordered collection of read-only CSSRule objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRuleList)
*/
interface CSSRuleList {
/**
* The **`length`** property of the CSSRuleList interface returns the number of CSSRule objects in the list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRuleList/length)
*/
readonly length: number;
/**
* The **`item()`** method of the CSSRuleList interface returns the CSSRule object at the specified index or null if the specified index doesn't exist.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRuleList/item)
*/
item(index: number): CSSRule | null;
[index: number]: CSSRule;
}
declare var CSSRuleList: {
prototype: CSSRuleList;
new(): CSSRuleList;
};
/**
* The **`CSSScale`** interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale)
*/
interface CSSScale extends CSSTransformComponent {
/**
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
*/
x: CSSNumberish;
/**
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
*/
y: CSSNumberish;
/**
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector. A positive value moves the element towards the viewer, and a negative value farther away.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
*/
z: CSSNumberish;
}
declare var CSSScale: {
prototype: CSSScale;
new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
};
/**
* The **`CSSScopeRule`** interface of the CSS Object Model represents a CSS @scope at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule)
*/
interface CSSScopeRule extends CSSGroupingRule {
/**
* The **`end`** property of the CSSScopeRule interface returns a string containing the value of the @scope at-rule's scope limit.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end)
*/
readonly end: string | null;
/**
* The **`start`** property of the CSSScopeRule interface returns a string containing the value of the @scope at-rule's scope root.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start)
*/
readonly start: string | null;
}
declare var CSSScopeRule: {
prototype: CSSScopeRule;
new(): CSSScopeRule;
};
/**
* The **`CSSSkew`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface. It represents the skew() value of the individual transform property in CSS.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew)
*/
interface CSSSkew extends CSSTransformComponent {
/**
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
*/
ax: CSSNumericValue;
/**
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
*/
ay: CSSNumericValue;
}
declare var CSSSkew: {
prototype: CSSSkew;
new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew;
};
/**
* The **`CSSSkewX`** interface of the CSS Typed Object Model API represents the skewX() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX)
*/
interface CSSSkewX extends CSSTransformComponent {
/**
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
*/
ax: CSSNumericValue;
}
declare var CSSSkewX: {
prototype: CSSSkewX;
new(ax: CSSNumericValue): CSSSkewX;
};
/**
* The **`CSSSkewY`** interface of the CSS Typed Object Model API represents the skewY() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY)
*/
interface CSSSkewY extends CSSTransformComponent {
/**
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
*/
ay: CSSNumericValue;
}
declare var CSSSkewY: {
prototype: CSSSkewY;
new(ay: CSSNumericValue): CSSSkewY;
};
/**
* The **`CSSStartingStyleRule`** interface of the CSS Object Model represents a CSS @starting-style at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule)
*/
interface CSSStartingStyleRule extends CSSGroupingRule {
}
declare var CSSStartingStyleRule: {
prototype: CSSStartingStyleRule;
new(): CSSStartingStyleRule;
};
/**
* The **`CSSStyleDeclaration`** interface is the base class for objects that represent CSS declaration blocks with different supported sets of CSS style information:
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)
*/
interface CSSStyleDeclarationBase {
/**
* The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element's inline style declaration only.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)
*/
cssText: string;
/**
* The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)
*/
readonly length: number;
/**
* The **`CSSStyleDeclaration.parentRule`** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)
*/
readonly parentRule: CSSRule | null;
/**
* The **`CSSStyleDeclaration.getPropertyPriority()`** method interface returns a string that provides all explicitly set priorities on the CSS property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)
*/
getPropertyPriority(property: string): string;
/**
* The **`CSSStyleDeclaration.getPropertyValue()`** method interface returns a string containing the value of a specified CSS property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)
*/
getPropertyValue(property: string): string;
/**
* The **`CSSStyleDeclaration.item()`** method interface returns a CSS property name from a CSSStyleDeclaration by index.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)
*/
item(index: number): string;
/**
* The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)
*/
removeProperty(property: string): string;
/**
* The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)
*/
setProperty(property: string, value: string | null, priority?: string): void;
[index: number]: string;
}
interface CSSStyleDeclaration extends CSSStyleProperties {
}
declare var CSSStyleDeclaration: {
prototype: CSSStyleDeclaration;
new(): CSSStyleDeclaration;
};
/**
* The **`CSSStyleProperties`** interface of the CSS Object Model (CSSOM) represents inline or computed styles available on an element, or the styles associated with a CSS style rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties)
*/
interface CSSStyleProperties extends CSSStyleDeclarationBase {
/**
* The accent-color CSS property sets the accent color for user-interface controls generated by some elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/accent-color)
*/
accentColor: string;
/**
* The CSS align-content property sets the distribution of space between and around content items along a flexbox's cross axis, or a grid or block-level element's block axis.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-content)
*/
alignContent: string;
/**
* The CSS align-items property sets the align-self value on all direct children as a group. In flexbox, it controls the alignment of items on the cross axis. In grid layout, it controls the alignment of items on the block axis within their grid areas.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-items)
*/
alignItems: string;
/**
* The align-self CSS property overrides a grid or flex item's align-items value. In grid, it aligns the item inside the grid area. In flexbox, it aligns the item on the cross axis.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-self)
*/
alignSelf: string;
/**
* The alignment-baseline CSS property specifies the specific baseline used to align the box's text and inline-level contents. Baseline alignment is the relationship among the baselines of multiple alignment subjects within an alignment context. When performing baseline alignment, the alignment-baseline property value specifies which baseline of the box is aligned to the corresponding baseline of its alignment context.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/alignment-baseline)
*/
alignmentBaseline: string;
/**
* The **`all`** shorthand CSS property resets all of an element's properties except unicode-bidi, direction, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another cascade layer or stylesheet origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/all)
*/
all: string;
/**
* The anchor-name CSS property enables defining an element as an anchor element by giving it one or more identifying anchor names. Each name can then be set as the value of a positioned element's position-anchor property to associate it with the anchor.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/anchor-name)
*/
anchorName: string;
/**
* The anchor-scope CSS property can be used to limit the scope in which a positioned element can be associated with anchor elements to a particular subtree.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/anchor-scope)
*/
anchorScope: string;
/**
* The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, and animation-timeline.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation)
*/
animation: string;
/**
* The animation-composition CSS property specifies the composite operation to use when multiple animations affect the same property simultaneously.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-composition)
*/
animationComposition: string;
/**
* The animation-delay CSS property specifies the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-delay)
*/
animationDelay: string;
/**
* The animation-direction CSS property sets whether an animation should play forward, backward, or alternate back and forth between playing the sequence forward and backward.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-direction)
*/
animationDirection: string;
/**
* The animation-duration CSS property sets the length of time that an animation takes to complete one cycle.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-duration)
*/
animationDuration: string;
/**
* The animation-fill-mode CSS property sets how a CSS animation applies styles to its target before and after its execution.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-fill-mode)
*/
animationFillMode: string;
/**
* The animation-iteration-count CSS property sets the number of times an animation sequence should be played before stopping.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-iteration-count)
*/
animationIterationCount: string;
/**
* The animation-name CSS property specifies the names of one or more @keyframes at-rules that describe the animation to apply to an element. Multiple @keyframes at-rules are specified as a comma-separated list of names. If the specified name does not match any @keyframes at-rule, no properties are animated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-name)
*/
animationName: string;
/**
* The animation-play-state CSS property sets whether an animation is running or paused.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-play-state)
*/
animationPlayState: string;
/**
* The animation-range CSS shorthand property is used to set the start and end of an animation's attachment range along its timeline, i.e., where along the timeline an animation will start and end.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range)
*/
animationRange: string;
/**
* The animation-range-end CSS property sets the point on the timeline where an animation should end.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-end)
*/
animationRangeEnd: string;
/**
* The animation-range-start CSS property sets the point on the timeline where an animation should start.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-range-start)
*/
animationRangeStart: string;
/**
* The animation-timeline CSS property specifies the timeline used to control the progress of a CSS animation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-timeline)
*/
animationTimeline: string;
/**
* The animation-timing-function CSS property sets how an animation progresses through the duration of each cycle.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-timing-function)
*/
animationTimingFunction: string;
/**
* The **`appearance`** CSS property specifies the rendered appearance of replaced UI widget elements such as form controls. Most commonly, such elements are given native, platform-specific styling based on the operating system's theme, or a primitive appearance with styles that can be overridden using CSS.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/appearance)
*/
appearance: string;
/**
* The aspect-ratio CSS property allows you to define the desired width-to-height ratio of an element's box. This means that even if the parent container or viewport size changes, the browser will adjust the element's dimensions to maintain the specified width-to-height ratio. The specified aspect ratio is used in the calculation of auto sizes and some other layout functions.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/aspect-ratio)
*/
aspectRatio: string;
/**
* The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect the element or its background needs to be transparent or partially transparent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/backdrop-filter)
*/
backdropFilter: string;
/**
* The backface-visibility CSS property sets whether the back face of an element is visible when turned towards the user.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/backface-visibility)
*/
backfaceVisibility: string;
/**
* The **`background`** shorthand CSS property sets all background style properties at once, such as color, image, origin, size, and repeat method.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background)
*/
background: string;
/**
* The background-attachment CSS property sets whether a background image's position is fixed within the viewport, or scrolls with its containing block.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-attachment)
*/
backgroundAttachment: string;
/**
* The background-blend-mode CSS property sets how an element's background images should blend with each other and with the element's background color.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-blend-mode)
*/
backgroundBlendMode: string;
/**
* The background-clip CSS property sets whether an element's background extends underneath its border box, padding box, or content box.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-clip)
*/
backgroundClip: string;
/**
* The background-color CSS property sets the background color of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-color)
*/
backgroundColor: string;
/**
* The background-image CSS property sets one or more background images on an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-image)
*/
backgroundImage: string;
/**
* The background-origin CSS property sets the background's origin: from the border start, inside the border, or inside the padding.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-origin)
*/
backgroundOrigin: string;
/**
* The background-position CSS property sets the initial position for each background image. The position is relative to the position layer set by background-origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-position)
*/
backgroundPosition: string;
/**
* The background-position-x CSS property sets the initial horizontal position for each background image. The position is relative to the position layer set by background-origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-position-x)
*/
backgroundPositionX: string;
/**
* The background-position-y CSS property sets the initial vertical position for each background image. The position is relative to the position layer set by background-origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-position-y)
*/
backgroundPositionY: string;
/**
* The background-repeat CSS property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-repeat)
*/
backgroundRepeat: string;
/**
* The background-size CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
*/
backgroundSize: string;
/**
* The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-shift)
*/
baselineShift: string;
/**
* The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-source)
*/
baselineSource: string;
/**
* The block-size CSS property defines the size of an element's block along the block axis. If the writing-mode is horizontal, it corresponds to the height; if the writing mode is vertical, it corresponds to the width. A related property is inline-size, which defines the other dimension of the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/block-size)
*/
blockSize: string;
/**
* The **`border`** shorthand CSS property sets an element's border. It sets the values of border-width, border-style, and border-color.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border)
*/
border: string;
/**
* The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block)
*/
borderBlock: string;
/**
* The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-color)
*/
borderBlockColor: string;
/**
* The border-block-end CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-end)
*/
borderBlockEnd: string;
/**
* The border-block-end-color CSS property defines the color of the logical block-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-end-color)
*/
borderBlockEndColor: string;
/**
* The border-block-end-style CSS property defines the style of the logical block-end border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style, border-right-style, border-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-end-style)
*/
borderBlockEndStyle: string;
/**
* The border-block-end-width CSS property defines the width of the logical block-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-end-width)
*/
borderBlockEndWidth: string;
/**
* The border-block-start CSS property is a shorthand property for setting the individual logical block-start border property values in a single place in the style sheet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-start)
*/
borderBlockStart: string;
/**
* The border-block-start-color CSS property defines the color of the logical block-start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-start-color)
*/
borderBlockStartColor: string;
/**
* The border-block-start-style CSS property defines the style of the logical block start border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style, border-right-style, border-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-start-style)
*/
borderBlockStartStyle: string;
/**
* The border-block-start-width CSS property defines the width of the logical block-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-start-width)
*/
borderBlockStartWidth: string;
/**
* The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-style)
*/
borderBlockStyle: string;
/**
* The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-block-width)
*/
borderBlockWidth: string;
/**
* The border-bottom shorthand CSS property sets an element's bottom border. It sets the values of border-bottom-width, border-bottom-style and border-bottom-color.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-bottom)
*/
borderBottom: string;
/**
* The border-bottom-color CSS property sets the color of an element's bottom border. It can also be set with the shorthand CSS properties border-color or border-bottom.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-bottom-color)
*/
borderBottomColor: string;
/**
* The border-bottom-left-radius CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-bottom-left-radius)
*/
borderBottomLeftRadius: string;
/**
* The border-bottom-right-radius CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-bottom-right-radius)
*/
borderBottomRightRadius: string;
/**
* The border-bottom-style CSS property sets the line style of an element's bottom border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-bottom-style)
*/
borderBottomStyle: string;
/**
* The border-bottom-width CSS property sets the width of the bottom border of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-bottom-width)
*/
borderBottomWidth: string;
/**
* The border-collapse CSS property sets whether cells inside a have shared or separate borders.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-collapse)
*/
borderCollapse: string;
/**
* The border-color shorthand CSS property sets the color of an element's border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-color)
*/
borderColor: string;
/**
* The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-end-end-radius)
*/
borderEndEndRadius: string;
/**
* The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-end-start-radius)
*/
borderEndStartRadius: string;
/**
* The border-image CSS property draws an image around a given element. It replaces the element's regular border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-image)
*/
borderImage: string;
/**
* The border-image-outset CSS property sets the distance by which an element's border image is set out from its border box.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-image-outset)
*/
borderImageOutset: string;
/**
* The border-image-repeat CSS property defines how the images for the sides and the middle part of the border image are scaled and tiled. The middle region can be displayed by using the keyword "fill" in the border-image-slice property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-image-repeat)
*/
borderImageRepeat: string;
/**
* The border-image-slice CSS property divides the image specified by border-image-source into regions. These regions form the components of an element's border image.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-image-slice)
*/
borderImageSlice: string;
/**
* The border-image-source CSS property sets the source image used to create an element's border image.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-image-source)
*/
borderImageSource: string;
/**
* The border-image-width CSS property sets the width of an element's border image.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-image-width)
*/
borderImageWidth: string;
/**
* The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline)
*/
borderInline: string;
/**
* The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-color)
*/
borderInlineColor: string;
/**
* The border-inline-end CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-end)
*/
borderInlineEnd: string;
/**
* The border-inline-end-color CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-end-color)
*/
borderInlineEndColor: string;
/**
* The border-inline-end-style CSS property defines the style of the logical inline end border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style, border-right-style, border-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-end-style)
*/
borderInlineEndStyle: string;
/**
* The border-inline-end-width CSS property defines the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-end-width)
*/
borderInlineEndWidth: string;
/**
* The border-inline-start CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-start)
*/
borderInlineStart: string;
/**
* The border-inline-start-color CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-start-color)
*/
borderInlineStartColor: string;
/**
* The border-inline-start-style CSS property defines the style of the logical inline start border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style, border-right-style, border-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-start-style)
*/
borderInlineStartStyle: string;
/**
* The border-inline-start-width CSS property defines the width of the logical inline-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-start-width)
*/
borderInlineStartWidth: string;
/**
* The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-style)
*/
borderInlineStyle: string;
/**
* The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-inline-width)
*/
borderInlineWidth: string;
/**
* The border-left shorthand CSS property sets all the properties of an element's left border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-left)
*/
borderLeft: string;
/**
* The border-left-color CSS property sets the color of an element's left border. It can also be set with the shorthand CSS properties border-color or border-left.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-left-color)
*/
borderLeftColor: string;
/**
* The border-left-style CSS property sets the line style of an element's left border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-left-style)
*/
borderLeftStyle: string;
/**
* The border-left-width CSS property sets the width of the left border of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-left-width)
*/
borderLeftWidth: string;
/**
* The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-radius)
*/
borderRadius: string;
/**
* The border-right shorthand CSS property sets all the properties of an element's right border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-right)
*/
borderRight: string;
/**
* The border-right-color CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties border-color or border-right.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-right-color)
*/
borderRightColor: string;
/**
* The border-right-style CSS property sets the line style of an element's right border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-right-style)
*/
borderRightStyle: string;
/**
* The border-right-width CSS property sets the width of the right border of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-right-width)
*/
borderRightWidth: string;
/**
* The border-spacing CSS property sets the distance between the borders of adjacent cells in a . This property applies only when border-collapse is separate.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-spacing)
*/
borderSpacing: string;
/**
* The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-start-end-radius)
*/
borderStartEndRadius: string;
/**
* The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-start-start-radius)
*/
borderStartStartRadius: string;
/**
* The border-style shorthand CSS property sets the line style for all four sides of an element's border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-style)
*/
borderStyle: string;
/**
* The border-top shorthand CSS property sets all the properties of an element's top border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-top)
*/
borderTop: string;
/**
* The border-top-color CSS property sets the color of an element's top border. It can also be set with the shorthand CSS properties border-color or border-top.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-top-color)
*/
borderTopColor: string;
/**
* The border-top-left-radius CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-top-left-radius)
*/
borderTopLeftRadius: string;
/**
* The border-top-right-radius CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-top-right-radius)
*/
borderTopRightRadius: string;
/**
* The border-top-style CSS property sets the line style of an element's top border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-top-style)
*/
borderTopStyle: string;
/**
* The border-top-width CSS property sets the width of the top border of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-top-width)
*/
borderTopWidth: string;
/**
* The border-width shorthand CSS property sets the width of an element's border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-width)
*/
borderWidth: string;
/**
* The **`bottom`** CSS property participates in setting the vertical position of a positioned element. This inset property has no effect on non-positioned elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/bottom)
*/
bottom: string;
/**
* The box-decoration-break CSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-decoration-break)
*/
boxDecorationBreak: string;
/**
* The box-shadow CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-shadow)
*/
boxShadow: string;
/**
* The box-sizing CSS property sets how the total width and height of an element is calculated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-sizing)
*/
boxSizing: string;
/**
* The break-after CSS property sets how page, column, or region breaks should behave after a generated box. If there is no generated box, the property is ignored.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/break-after)
*/
breakAfter: string;
/**
* The break-before CSS property sets how page, column, or region breaks should behave before a generated box. If there is no generated box, the property is ignored.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/break-before)
*/
breakBefore: string;
/**
* The break-inside CSS property sets how page, column, or region breaks should behave inside a generated box. If there is no generated box, the property is ignored.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/break-inside)
*/
breakInside: string;
/**
* The caption-side CSS property puts the content of a table's on the specified side. The values are relative to the writing-mode of the table.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/caption-side)
*/
captionSide: string;
/**
* The caret-color CSS property sets the color of the insertion caret, sometimes referred to as the text input cursor. This is the visible marker appearing at the insertion point where the next character typed will be added or where the next character deleted will be removed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/caret-color)
*/
caretColor: string;
/**
* The **`clear`** CSS property sets whether an element must be moved below (cleared) floating elements that precede it. The clear property applies to floating and non-floating elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/clear)
*/
clear: string;
/**
* The **`clip`** CSS property defines a visible portion of an element. The clip property applies only to absolutely positioned elements — that is, elements with position:absolute or position:fixed.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/clip)
*/
clip: string;
/**
* The clip-path CSS property creates a clipping region that sets what part of an element should be shown. Parts that are inside the region are shown, while those outside are hidden.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/clip-path)
*/
clipPath: string;
/**
* The clip-rule CSS property determines, when parts of the path overlap other parts, which pixels in a mask's box are inside the clipping shape defined by a clip path and which are outside.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/clip-rule)
*/
clipRule: string;
/**
* The **`color`** CSS property sets the foreground color value of an element's text and text decorations, and sets the currentColor value. currentColor may be used as an indirect value on other properties and is the default for other color properties, such as border-color.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/color)
*/
color: string;
/**
* The color-interpolation CSS property is used in SVG to specify which color space to use for and SVG elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/color-interpolation)
*/
colorInterpolation: string;
/**
* The color-interpolation-filters CSS property specifies the color space for imaging operations performed via SVG filter effects. If explicitly declared, the value of the CSS property overrides any value given in the element's color-interpolation-filters attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/color-interpolation-filters)
*/
colorInterpolationFilters: string;
/**
* The color-scheme CSS property allows an element to indicate which color schemes it can comfortably be rendered in. User agents change the following aspects of the UI chrome to match the used color scheme:
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/color-scheme)
*/
colorScheme: string;
/**
* The column-count CSS property breaks an element's content into the specified number of columns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-count)
*/
columnCount: string;
/**
* The column-fill CSS property controls how an element's contents are balanced when broken into columns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-fill)
*/
columnFill: string;
/**
* The column-gap CSS property sets the size of the gap (gutter) between an element's columns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-gap)
*/
columnGap: string;
/**
* The column-rule shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-rule)
*/
columnRule: string;
/**
* The column-rule-color CSS property sets the color of the line drawn between columns in a multi-column layout.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-rule-color)
*/
columnRuleColor: string;
/**
* The column-rule-style CSS property sets the style of the line drawn between columns in a multi-column layout.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-rule-style)
*/
columnRuleStyle: string;
/**
* The column-rule-width CSS property sets the width of the line drawn between columns in a multi-column layout.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-rule-width)
*/
columnRuleWidth: string;
/**
* The column-span CSS property makes it possible for an element to span across all columns when its value is set to all.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-span)
*/
columnSpan: string;
/**
* The column-width CSS property sets the ideal column width in a multi-column layout. The container will have as many columns as can fit without any of them having a width less than the column-width value. If the width of the container is narrower than the specified value, the single column's width will be smaller than the declared column width.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/column-width)
*/
columnWidth: string;
/**
* The **`columns`** CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/columns)
*/
columns: string;
/**
* The **`contain`** CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree. Containment enables isolating a subsection of the DOM, providing performance benefits by limiting calculations of layout, style, paint, size, or any combination to a DOM subtree rather than the entire page. Containment can also be used to scope CSS counters and quotes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/contain)
*/
contain: string;
/**
* The contain-intrinsic-block-size CSS logical property defines the block size of an element that a browser can use for layout when the element is subject to size containment.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/contain-intrinsic-block-size)
*/
containIntrinsicBlockSize: string;
/**
* The contain-intrinsic-height CSS property sets the height of an element that a browser can use for layout when the element is subject to size containment.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/contain-intrinsic-height)
*/
containIntrinsicHeight: string;
/**
* The contain-intrinsic-inline-size CSS logical property defines the inline-size of an element that a browser can use for layout when the element is subject to size containment.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/contain-intrinsic-inline-size)
*/
containIntrinsicInlineSize: string;
/**
* The contain-intrinsic-size CSS shorthand property sets the size of an element that a browser will use for layout when the element is subject to size containment.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/contain-intrinsic-size)
*/
containIntrinsicSize: string;
/**
* The contain-intrinsic-width CSS property sets the width of an element that a browser will use for layout when the element is subject to size containment.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/contain-intrinsic-width)
*/
containIntrinsicWidth: string;
/**
* The **`container`** shorthand CSS property establishes the element as a query container and specifies the name and type of the containment context used in a container query.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/container)
*/
container: string;
/**
* The container-name CSS property specifies a list of query container names used by the @container at-rule in a container query. A container query will apply styles to elements based on the size or scroll-state of the nearest ancestor with a containment context. When a containment context is given a name, it can be specifically targeted using the @container at-rule instead of the nearest ancestor with containment.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/container-name)
*/
containerName: string;
/**
* An element can be established as a query container using the container-type CSS property. container-type is used to define the type of container context used in a container query. The available container contexts are:
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/container-type)
*/
containerType: string;
/**
* The **`content`** CSS property replaces content with a generated value. It can be used to define what is rendered inside an element or pseudo-element. For elements, the content property specifies whether the element renders normally (normal or none) or is replaced with an image (and associated "alt" text). For pseudo-elements and margin boxes, content defines the content as images, text, both, or none, which determines whether the element renders at all.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/content)
*/
content: string;
/**
* The content-visibility CSS property controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed. It enables the user agent to skip an element's rendering work (including layout and painting) until it is needed — which makes the initial page load much faster.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/content-visibility)
*/
contentVisibility: string;
/**
* The counter-increment CSS property can be used to increase or decrease the value of the named CSS counters by the specified values, or to prevent all counters or an individual counter's value from being changed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/counter-increment)
*/
counterIncrement: string;
/**
* The counter-reset CSS property creates named CSS counters and initializes them to a specific value. It supports creating counters that count up from one to the number of elements, as well as those that count down from the number of elements to one.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/counter-reset)
*/
counterReset: string;
/**
* The counter-set CSS property sets CSS counters on the element to the given values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/counter-set)
*/
counterSet: string;
/**
* The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties/cssFloat)
*/
cssFloat: string;
/**
* The **`cursor`** CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/cursor)
*/
cursor: string;
/**
* The **`cx`** CSS property defines the x-axis center point of an SVG or element. If present, it overrides the element's cx attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/cx)
*/
cx: string;
/**
* The **`cy`** CSS property defines the y-axis center point of an SVG or elements. If present, it overrides the element's cy attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/cy)
*/
cy: string;
/**
* The **`d`** CSS property defines a path to be drawn by the SVG element. If present, it overrides the element's d attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/d)
*/
d: string;
/**
* The **`direction`** CSS property sets the direction of text, table and grid columns, and horizontal overflow. Use rtl for languages written from right to left (like Hebrew or Arabic), and ltr for those written from left to right (like English and most other languages).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/direction)
*/
direction: string;
/**
* The **`display`** CSS property sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/display)
*/
display: string;
/**
* The dominant-baseline CSS property specifies the specific baseline used to align the box's text and inline-level contents. It also indicates the default alignment baseline of any boxes participating in baseline alignment in the box's alignment context. If present, it overrides the shape's dominant-baseline attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/dominant-baseline)
*/
dominantBaseline: string;
/**
* The dynamic-range-limit CSS property specifies the maximum luminance allowed for High Dynamic Range (HDR) content.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/dynamic-range-limit)
*/
dynamicRangeLimit: string;
/**
* The empty-cells CSS property sets whether borders and backgrounds appear around cells that have no visible content.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/empty-cells)
*/
emptyCells: string;
/**
* The field-sizing CSS property enables you to control the sizing behavior of elements that are given a default preferred size, such as form control elements. This property enables you to override the default sizing behavior, allowing form controls to adjust in size to fit their contents.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/field-sizing)
*/
fieldSizing: string;
/**
* The **`fill`** CSS property defines how SVG text content and the interior canvas of SVG shapes are filled or painted. If present, it overrides the element's fill attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/fill)
*/
fill: string;
/**
* The fill-opacity CSS property defines the opacity of the painting operation (color, gradient, pattern, etc.) applied to SVG shapes or text content elements to fill the element. The property defines the opacity of the element's fill only; it does not affect the stroke. If present, it overrides the element's fill-opacity attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/fill-opacity)
*/
fillOpacity: string;
/**
* The fill-rule CSS property defines the rule used to determine which parts of the SVG shape's canvas are included inside a shape to be filled. If present, it overrides the element's fill-rule attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/fill-rule)
*/
fillRule: string;
/**
* The **`filter`** CSS property applies graphical effects like blur or color shift to an element. Filters are commonly used to adjust the rendering of images, backgrounds, and borders.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
*/
filter: string;
/**
* The **`flex`** CSS shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex)
*/
flex: string;
/**
* The flex-basis CSS property sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-basis)
*/
flexBasis: string;
/**
* The flex-direction CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-direction)
*/
flexDirection: string;
/**
* The flex-flow CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-flow)
*/
flexFlow: string;
/**
* The flex-grow CSS property sets the flex grow factor, which specifies how much of the flex container's positive free space, if any, should be assigned to the flex item's main size.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-grow)
*/
flexGrow: string;
/**
* The flex-shrink CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, the flex items can shrink to fit according to their flex-shrink value. Each flex line's negative free space is distributed between the line's flex items that have a flex-shrink value greater than 0.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-shrink)
*/
flexShrink: string;
/**
* The flex-wrap CSS property sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-wrap)
*/
flexWrap: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/float) */
float: string;
/**
* The flood-color CSS property defines the color of the current filter primitive subregion in and elements within a . If present, it overrides the element's flood-color attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flood-color)
*/
floodColor: string;
/**
* The flood-opacity CSS property defines the opacity of the current filter primitive subregion in and elements within a . If present, it overrides the element's flood-opacity attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flood-opacity)
*/
floodOpacity: string;
/**
* The **`font`** CSS shorthand property sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font)
*/
font: string;
/**
* The font-family CSS property specifies a prioritized list of one or more font family names and/or generic family names for the selected element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-family)
*/
fontFamily: string;
/**
* The font-feature-settings CSS property controls advanced typographic features in OpenType fonts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-feature-settings)
*/
fontFeatureSettings: string;
/**
* The font-kerning CSS property sets the use of the kerning information stored in a font.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-kerning)
*/
fontKerning: string;
/**
* The font-language-override CSS property controls the use of language-specific glyphs in a typeface.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-language-override)
*/
fontLanguageOverride: string;
/**
* The font-optical-sizing CSS property sets whether text rendering is optimized for viewing at different sizes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-optical-sizing)
*/
fontOpticalSizing: string;
/**
* The font-palette CSS property allows specifying one of the many palettes contained in a color font that a user agent may use for the font. Users can also override the values in a palette or create a new palette by using the @font-palette-values at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-palette)
*/
fontPalette: string;
/**
* The font-size CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative units, such as em, ex, and so forth.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-size)
*/
fontSize: string;
/**
* The font-size-adjust CSS property provides a way to modify the size of lowercase letters relative to the size of uppercase letters, which defines the overall font-size. This property is useful for situations where font fallback can occur.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-size-adjust)
*/
fontSizeAdjust: string;
/**
* The font-stretch CSS property selects a normal, condensed, or expanded face from a font.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-stretch)
*/
fontStretch: string;
/**
* The font-style CSS property sets whether a font should be styled with a normal, italic, or oblique face from its font-family.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-style)
*/
fontStyle: string;
/**
* The font-synthesis shorthand CSS property lets you specify whether or not the browser may synthesize the bold, italic, small-caps, and/or subscript and superscript typefaces when they are missing in the specified font-family.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-synthesis)
*/
fontSynthesis: string;
/**
* The font-synthesis-small-caps CSS property lets you specify whether or not the browser may synthesize small-caps typeface when it is missing in a font family. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-synthesis-small-caps)
*/
fontSynthesisSmallCaps: string;
/**
* The font-synthesis-style CSS property lets you specify whether or not the browser may synthesize the oblique typeface when it is missing in a font family.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-synthesis-style)
*/
fontSynthesisStyle: string;
/**
* The font-synthesis-weight CSS property lets you specify whether or not the browser may synthesize the bold typeface when it is missing in a font family.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-synthesis-weight)
*/
fontSynthesisWeight: string;
/**
* The font-variant CSS shorthand property allows you to set all the font variants for a font.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variant)
*/
fontVariant: string;
/**
* The font-variant-alternates CSS property controls the usage of alternate glyphs. These alternate glyphs may be referenced by alternative names defined in @font-feature-values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variant-alternates)
*/
fontVariantAlternates: string;
/**
* The font-variant-caps CSS property controls the use of alternate glyphs used for small or petite capitals or for titling.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variant-caps)
*/
fontVariantCaps: string;
/**
* The font-variant-east-asian CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variant-east-asian)
*/
fontVariantEastAsian: string;
/**
* The font-variant-emoji CSS property specifies the default presentation style for displaying emojis.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variant-emoji)
*/
fontVariantEmoji: string;
/**
* The font-variant-ligatures CSS property controls which ligatures and contextual forms are used in the textual content of the elements it applies to. This leads to more harmonized forms in the resulting text.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variant-ligatures)
*/
fontVariantLigatures: string;
/**
* The font-variant-numeric CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variant-numeric)
*/
fontVariantNumeric: string;
/**
* The font-variant-position CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variant-position)
*/
fontVariantPosition: string;
/**
* The font-variation-settings CSS property provides low-level control over variable font characteristics by letting you specify the four letter axis names of the characteristics you want to vary along with their values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-variation-settings)
*/
fontVariationSettings: string;
/**
* The font-weight CSS property sets the weight (or boldness) of the font. The weights available depend on the font-family that is currently set.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/font-weight)
*/
fontWeight: string;
/**
* The forced-color-adjust CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/forced-color-adjust)
*/
forcedColorAdjust: string;
/**
* The **`gap`** CSS shorthand property sets the gaps (also called gutters) between rows and columns. This property applies to multi-column, flex, and grid containers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/gap)
*/
gap: string;
/**
* The **`grid`** CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid)
*/
grid: string;
/**
* The grid-area CSS shorthand property specifies a grid item's size and location within a grid by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-area)
*/
gridArea: string;
/**
* The grid-auto-columns CSS property specifies the size of an implicitly-created grid column track or pattern of tracks.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-auto-columns)
*/
gridAutoColumns: string;
/**
* The grid-auto-flow CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-auto-flow)
*/
gridAutoFlow: string;
/**
* The grid-auto-rows CSS property specifies the size of an implicitly-created grid row track or pattern of tracks.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-auto-rows)
*/
gridAutoRows: string;
/**
* The grid-column CSS shorthand property specifies a grid item's size and location within a grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-column)
*/
gridColumn: string;
/**
* The grid-column-end CSS property specifies a grid item's end position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the block-end edge of its grid area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-column-end)
*/
gridColumnEnd: string;
/** @deprecated This is a legacy alias of `columnGap`. */
gridColumnGap: string;
/**
* The grid-column-start CSS property specifies a grid item's start position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement. This start position defines the block-start edge of the grid area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-column-start)
*/
gridColumnStart: string;
/** @deprecated This is a legacy alias of `gap`. */
gridGap: string;
/**
* The grid-row CSS shorthand property specifies a grid item's size and location within a grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-row)
*/
gridRow: string;
/**
* The grid-row-end CSS property specifies a grid item's end position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-end edge of its grid area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-row-end)
*/
gridRowEnd: string;
/** @deprecated This is a legacy alias of `rowGap`. */
gridRowGap: string;
/**
* The grid-row-start CSS property specifies a grid item's start position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start edge of its grid area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-row-start)
*/
gridRowStart: string;
/**
* The grid-template CSS property is a shorthand property for defining grid columns, grid rows, and grid areas.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-template)
*/
gridTemplate: string;
/**
* The grid-template-areas CSS property specifies named grid areas, establishing the cells in the grid and assigning them names.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-template-areas)
*/
gridTemplateAreas: string;
/**
* The grid-template-columns CSS property defines the line names and track sizing functions of the grid columns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-template-columns)
*/
gridTemplateColumns: string;
/**
* The grid-template-rows CSS property defines the line names and track sizing functions of the grid rows.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid-template-rows)
*/
gridTemplateRows: string;
/**
* The **`height`** CSS property specifies the height of an element. By default, the property defines the height of the content area. If box-sizing is set to border-box, however, it instead determines the height of the border area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/height)
*/
height: string;
/**
* The hyphenate-character CSS property sets the character (or string) used at the end of a line before a hyphenation break.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/hyphenate-character)
*/
hyphenateCharacter: string;
/**
* The hyphenate-limit-chars CSS property specifies the minimum word length to allow hyphenation of words as well as the minimum number of characters before and after the hyphen.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/hyphenate-limit-chars)
*/
hyphenateLimitChars: string;
/**
* The **`hyphens`** CSS property specifies how words should be hyphenated when text wraps across multiple lines. It can prevent hyphenation entirely, hyphenate at manually-specified points within the text, or let the browser automatically insert hyphens where appropriate.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/hyphens)
*/
hyphens: string;
/**
* The image-orientation CSS property specifies a layout-independent correction to the orientation of an image.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/image-orientation)
*/
imageOrientation: string;
/**
* The image-rendering CSS property sets an image scaling algorithm. The property applies to an element itself, to any images set in its other properties, and to its descendants.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/image-rendering)
*/
imageRendering: string;
/**
* The inline-size CSS property defines the size of an element's block along the inline axis. If the writing-mode is horizontal, it corresponds to the width; if the writing mode is vertical, it corresponds to the height. A related property is block-size, which defines the other dimension of the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/inline-size)
*/
inlineSize: string;
/**
* The **`inset`** CSS property is a shorthand that corresponds to the top, right, bottom, and/or left properties. It has the same multi-value syntax of the margin shorthand.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/inset)
*/
inset: string;
/**
* The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/inset-block)
*/
insetBlock: string;
/**
* The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/inset-block-end)
*/
insetBlockEnd: string;
/**
* The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/inset-block-start)
*/
insetBlockStart: string;
/**
* The inset-inline CSS property defines the logical start and end offsets of an element in the inline direction, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/inset-inline)
*/
insetInline: string;
/**
* The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/inset-inline-end)
*/
insetInlineEnd: string;
/**
* The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/inset-inline-start)
*/
insetInlineStart: string;
/**
* The **`isolation`** CSS property determines whether an element must create a new stacking context.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/isolation)
*/
isolation: string;
/**
* The CSS justify-content property defines how the browser distributes space between and around content items along the main axis of a flex container and the inline axis of grid and multicol containers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/justify-content)
*/
justifyContent: string;
/**
* The CSS justify-items property defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/justify-items)
*/
justifyItems: string;
/**
* The CSS justify-self property sets the way a box is justified inside its alignment container along the appropriate axis.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/justify-self)
*/
justifySelf: string;
/**
* The **`left`** CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/left)
*/
left: string;
/**
* The letter-spacing CSS property sets the spacing between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of letter-spacing spread characters further apart, while negative values of letter-spacing bring characters closer together.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/letter-spacing)
*/
letterSpacing: string;
/**
* The lighting-color CSS property defines the color of the light source for the and SVG lighting filter primitives within an SVG . If present, it overrides the element's lighting-color attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/lighting-color)
*/
lightingColor: string;
/**
* The line-break CSS property sets how to break lines of Chinese, Japanese, or Korean (CJK) text when working with punctuation and symbols.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/line-break)
*/
lineBreak: string;
/**
* The line-height CSS property sets the height of a line box in horizontal writing modes. In vertical writing modes, it sets the width of a line box. It's commonly used to set the distance between lines of text. On block-level elements in horizontal writing modes, it specifies the preferred height of line boxes within the element, and on non-replaced inline elements, it specifies the height that is used to calculate line box height.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/line-height)
*/
lineHeight: string;
/**
* The list-style CSS shorthand property allows you to set all the list style properties at once.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/list-style)
*/
listStyle: string;
/**
* The list-style-image CSS property sets an image to be used as the list item marker.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/list-style-image)
*/
listStyleImage: string;
/**
* The list-style-position CSS property sets the position of the ::marker relative to a list item.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/list-style-position)
*/
listStylePosition: string;
/**
* The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/list-style-type)
*/
listStyleType: string;
/**
* The **`margin`** CSS shorthand property sets the margin area on all four sides of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin)
*/
margin: string;
/**
* The margin-block CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-block)
*/
marginBlock: string;
/**
* The margin-block-end CSS property defines the logical block end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-block-end)
*/
marginBlockEnd: string;
/**
* The margin-block-start CSS property defines the logical block start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-block-start)
*/
marginBlockStart: string;
/**
* The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-bottom)
*/
marginBottom: string;
/**
* The margin-inline CSS shorthand property defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-inline)
*/
marginInline: string;
/**
* The margin-inline-end CSS property defines the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. In other words, it corresponds to the margin-top, margin-right, margin-bottom or margin-left property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-inline-end)
*/
marginInlineEnd: string;
/**
* The margin-inline-start CSS property defines the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. It corresponds to the margin-top, margin-right, margin-bottom, or margin-left property depending on the values defined for writing-mode, direction, and text-orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-inline-start)
*/
marginInlineStart: string;
/**
* The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-left)
*/
marginLeft: string;
/**
* The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-right)
*/
marginRight: string;
/**
* The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/margin-top)
*/
marginTop: string;
/**
* The **`marker`** CSS property points to a marker that will be drawn on the first, middle, and last vertices of the element's path; that is, at all of its vertices. The marker must have been defined using an SVG element, and can only be referenced with a value. The value of the CSS property overrides any values of the marker-start, marker, and marker-end attributes in the SVG.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/marker)
*/
marker: string;
/**
* The marker-end CSS property points to a marker that will be drawn on the last vertex of the element's path; that is, at its ending vertex. The marker must have been defined using an SVG element, and can only be referenced with a value. The value of the CSS property overrides any values of the marker-end attribute in the SVG.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/marker-end)
*/
markerEnd: string;
/**
* The marker-mid CSS property points to a marker that will be drawn on the middle vertices of the element's path; that is, at each of its vertices between the start and end vertices. The marker must have been defined using an SVG element, and can only be referenced with a value. The value of the CSS property overrides any values of the marker-mid attribute in the SVG.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/marker-mid)
*/
markerMid: string;
/**
* The marker-start CSS property points to a marker that will be drawn on the first vertex of the element's path; that is, at its starting vertex. The marker must have been defined using an SVG element, and can only be referenced with a value. The value of the CSS property overrides any values of the marker-start attribute in the SVG.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/marker-start)
*/
markerStart: string;
/**
* The **`mask`** CSS shorthand property hides an element (partially or fully) by masking or clipping a specified area of the image. It is a shorthand for all the mask-* properties. The property accepts one or more comma-separated values, where each value corresponds to a .
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask)
*/
mask: string;
/**
* The mask-clip CSS property determines the area which is affected by a mask. The painted content of an element must be restricted to this area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-clip)
*/
maskClip: string;
/**
* The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-composite)
*/
maskComposite: string;
/**
* The mask-image CSS property sets the image that is used as the mask layer for an element, hiding sections of the element on which the masking image is set based on the alpha channel of the mask image and, depending on the mask-mode property value, the luminance of the mask image's colors.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-image)
*/
maskImage: string;
/**
* The mask-mode CSS property is set on the element being masked. It sets whether the mask reference defined by the mask-image is treated as a luminance or alpha mask.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-mode)
*/
maskMode: string;
/**
* The mask-origin CSS property sets the origin of a mask. This property determines the mask positioning area: the area within which a mask image is positioned. HTML elements can have masks contained within their content border box, padding box, or content box, whereas SVG elements (which don't have the associated CSS layout boxes) can have masks contained inside their fill, stroke, or view box. For elements rendered as multiple boxes, such as a of text that spans more than one line, the mask-origin property specifies which boxes the box-decoration-break property operates on to determine the mask positioning area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-origin)
*/
maskOrigin: string;
/**
* The mask-position CSS property sets the initial position, relative to the mask position layer set by mask-origin, for each defined mask image.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-position)
*/
maskPosition: string;
/**
* The mask-repeat CSS property sets how mask images are repeated. A mask image can be repeated along the horizontal axis, the vertical axis, both axes, or not repeated at all.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-repeat)
*/
maskRepeat: string;
/**
* The mask-size CSS property specifies the sizes of specified mask images. Mask image sizes can be fully or partially constrained to preserve their intrinsic aspect ratios.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-size)
*/
maskSize: string;
/**
* The mask-type CSS property applies to the SVG element. It defines whether to use the luminance (brightness) or alpha (transparency) content of the mask. This property may be overridden by the mask-mode property. The mask-type property has no effect on image or gradient masks.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-type)
*/
maskType: string;
/**
* The math-depth property describes a notion of depth for each element of a mathematical formula, with respect to the top-level container of that formula. This is used to scale the computed value of the font-size of elements when font-size: math is applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-depth)
*/
mathDepth: string;
/**
* The math-shift property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-shift)
*/
mathShift: string;
/**
* The math-style property indicates whether MathML equations should render with normal or compact height.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/math-style)
*/
mathStyle: string;
/**
* The max-block-size CSS property specifies the maximum size of an element in the direction opposite that of the writing direction as specified by writing-mode. That is, if the writing direction is horizontal, then max-block-size is equivalent to max-height; if the writing direction is vertical, max-block-size is the same as max-width.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/max-block-size)
*/
maxBlockSize: string;
/**
* The max-height CSS property sets the maximum height of an element. It prevents the used value of the height property from becoming larger than the value specified for max-height.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/max-height)
*/
maxHeight: string;
/**
* The max-inline-size CSS property defines the horizontal or vertical maximum size of an element's block, depending on its writing mode. It corresponds to either the max-width or the max-height property, depending on the value of writing-mode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/max-inline-size)
*/
maxInlineSize: string;
/**
* The max-width CSS property sets the maximum width of an element. It prevents the used value of the width property from becoming larger than the value specified by max-width.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/max-width)
*/
maxWidth: string;
/**
* The min-block-size CSS property defines the minimum horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the min-width or the min-height property, depending on the value of writing-mode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/min-block-size)
*/
minBlockSize: string;
/**
* The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller than the value specified for min-height.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/min-height)
*/
minHeight: string;
/**
* The min-inline-size CSS property defines the horizontal or vertical minimal size of an element's block, depending on its writing mode. It corresponds to either the min-width or the min-height property, depending on the value of writing-mode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/min-inline-size)
*/
minInlineSize: string;
/**
* The min-width CSS property sets the minimum width of an element. It prevents the used value of the width property from becoming smaller than the value specified for min-width.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/min-width)
*/
minWidth: string;
/**
* The mix-blend-mode CSS property sets how an element's content should blend with the content of the element's parent and the element's background.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mix-blend-mode)
*/
mixBlendMode: string;
/**
* The object-fit CSS property sets how the content of a replaced element, such as an or , should be resized to fit its container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/object-fit)
*/
objectFit: string;
/**
* The object-position CSS property specifies the alignment of the selected replaced element's contents within the element's box. Areas of the box which aren't covered by the replaced element's object will show the element's background.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/object-position)
*/
objectPosition: string;
/**
* The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path. The offset properties together help to define an offset transform, a transform that aligns a point in an element (offset-anchor) to an offset position (offset-position) on a path (offset-path) at various points along the path (offset-distance) and optionally rotates the element (offset-rotate) to follow the direction of the path.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/offset)
*/
offset: string;
/**
* The offset-anchor CSS property specifies the point inside the box of an element traveling along an offset-path that is actually moving along the path.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/offset-anchor)
*/
offsetAnchor: string;
/**
* The offset-distance CSS property specifies a position along an offset-path for an element to be placed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/offset-distance)
*/
offsetDistance: string;
/**
* The offset-path CSS property specifies a path for an element to follow and determines the element's positioning within the path's parent container or the SVG coordinate system. The path is a line, a curve, or a geometrical shape along which the element gets positioned or moves.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/offset-path)
*/
offsetPath: string;
/**
* The offset-position CSS property defines the initial position of an element along a path. This property is typically used in combination with the offset-path property to create a motion effect. The value of offset-position determines where the element gets placed initially for moving along an offset path if an offset-path function such as path() does not specify its own starting position.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/offset-position)
*/
offsetPosition: string;
/**
* The offset-rotate CSS property defines the orientation/direction of the element as it is positioned along the offset-path.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/offset-rotate)
*/
offsetRotate: string;
/**
* The **`opacity`** CSS property sets the opacity of an element. Opacity is the degree to which content behind an element is hidden, and is the opposite of transparency.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/opacity)
*/
opacity: string;
/**
* The **`order`** CSS property sets the order to lay out an item in a flex or grid container. Items in a container are sorted by ascending order value and then by their source code order. Items not given an explicit order value are assigned the default value of 0.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/order)
*/
order: string;
/**
* The **`orphans`** CSS property sets the minimum number of lines in a block container that must be shown at the bottom of a page, region, or column.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/orphans)
*/
orphans: string;
/**
* The **`outline`** CSS shorthand property sets most of the outline properties in a single declaration.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/outline)
*/
outline: string;
/**
* The outline-color CSS property sets the color of an element's outline.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/outline-color)
*/
outlineColor: string;
/**
* The outline-offset CSS property sets the amount of space between an outline and the edge or border of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/outline-offset)
*/
outlineOffset: string;
/**
* The outline-style CSS property sets the style of an element's outline. An outline is a line that is drawn around an element, outside the border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/outline-style)
*/
outlineStyle: string;
/**
* The CSS outline-width property sets the thickness of an element's outline. An outline is a line that is drawn around an element, outside the border.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/outline-width)
*/
outlineWidth: string;
/**
* The **`overflow`** CSS shorthand property sets the desired behavior when content does not fit in the element's padding box (overflows) in the horizontal and/or vertical direction.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow)
*/
overflow: string;
/**
* The overflow-anchor CSS property provides a way to opt out of the browser's scroll anchoring behavior, which adjusts scroll position to minimize content shifts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-anchor)
*/
overflowAnchor: string;
/**
* The overflow-block CSS property sets what shows when content overflows the block start and block end edges of a box. This may be nothing, a scroll bar, or the overflow content.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-block)
*/
overflowBlock: string;
/**
* The overflow-clip-margin CSS property determines how far outside its bounds an element with overflow: clip may be painted before being clipped. The bound defined by this property is called the overflow clip edge of the box.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-clip-margin)
*/
overflowClipMargin: string;
/**
* The overflow-inline CSS property sets what shows when content overflows the inline start and end edges of a box. This may be nothing, a scroll bar, or the overflow content.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-inline)
*/
overflowInline: string;
/**
* The overflow-wrap CSS property applies to text, setting whether the browser should insert line breaks within an otherwise unbreakable string to prevent text from overflowing its line box.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-wrap)
*/
overflowWrap: string;
/**
* The overflow-x CSS property sets what shows when content overflows a block-level element's left and right edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-x)
*/
overflowX: string;
/**
* The overflow-y CSS property sets what shows when content overflows a block-level element's top and bottom edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-y)
*/
overflowY: string;
/**
* The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overscroll-behavior)
*/
overscrollBehavior: string;
/**
* The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overscroll-behavior-block)
*/
overscrollBehaviorBlock: string;
/**
* The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overscroll-behavior-inline)
*/
overscrollBehaviorInline: string;
/**
* The overscroll-behavior-x CSS property sets the browser's behavior when the horizontal boundary of a scrolling area is reached.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overscroll-behavior-x)
*/
overscrollBehaviorX: string;
/**
* The overscroll-behavior-y CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overscroll-behavior-y)
*/
overscrollBehaviorY: string;
/**
* The **`padding`** CSS shorthand property sets the padding area on all four sides of an element at once.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding)
*/
padding: string;
/**
* The padding-block CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-block)
*/
paddingBlock: string;
/**
* The padding-block-end CSS property defines the logical block end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-block-end)
*/
paddingBlockEnd: string;
/**
* The padding-block-start CSS property defines the logical block start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-block-start)
*/
paddingBlockStart: string;
/**
* The padding-bottom CSS property sets the height of the padding area on the bottom of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-bottom)
*/
paddingBottom: string;
/**
* The padding-inline CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-inline)
*/
paddingInline: string;
/**
* The padding-inline-end CSS property defines the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-inline-end)
*/
paddingInlineEnd: string;
/**
* The padding-inline-start CSS property defines the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-inline-start)
*/
paddingInlineStart: string;
/**
* The padding-left CSS property sets the width of the padding area to the left of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-left)
*/
paddingLeft: string;
/**
* The padding-right CSS property sets the width of the padding area on the right of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-right)
*/
paddingRight: string;
/**
* The padding-top CSS property sets the height of the padding area on the top of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/padding-top)
*/
paddingTop: string;
/**
* The **`page`** CSS property is used to specify the named page, a specific type of page defined by the @page at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/page)
*/
page: string;
/**
* The page-break-after CSS property adjusts page breaks after the current element.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/page-break-after)
*/
pageBreakAfter: string;
/**
* The page-break-before CSS property adjusts page breaks before the current element.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/page-break-before)
*/
pageBreakBefore: string;
/**
* The page-break-inside CSS property adjusts page breaks inside the current element.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/page-break-inside)
*/
pageBreakInside: string;
/**
* The paint-order CSS property lets you control the order in which the fill and stroke (and painting markers) of text content and shapes are drawn.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/paint-order)
*/
paintOrder: string;
/**
* The **`perspective`** CSS property determines the distance between the z=0 plane and the user in order to give a 3D-positioned element some perspective.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/perspective)
*/
perspective: string;
/**
* The perspective-origin CSS property determines the position at which the viewer is looking. It is used as the vanishing point by the perspective property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/perspective-origin)
*/
perspectiveOrigin: string;
/**
* The place-content CSS shorthand property allows you to align content along both the block and inline directions at once (i.e., the align-content and justify-content properties) in a relevant layout system such as Grid or Flexbox.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/place-content)
*/
placeContent: string;
/**
* The CSS place-items shorthand property aligns items along both the block and inline directions at once. It sets the values of the align-items and justify-items properties. If the second value is not set, the first value is also used for it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/place-items)
*/
placeItems: string;
/**
* The place-self CSS shorthand property allows you to align an individual item in both the block and inline directions at once (i.e., the align-self and justify-self properties). This property applies to block-level boxes, absolutely-positioned boxes, and grid items. If the second value is not present, the first value is also used for it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/place-self)
*/
placeSelf: string;
/**
* The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/pointer-events)
*/
pointerEvents: string;
/**
* The **`position`** CSS property sets how an element is positioned in a document. The top, right, bottom, and left physical properties and the inset-block-start, inset-block-end, inset-inline-start, and inset-inline-end flow-relative logical properties can be used to determine the final location of positioned elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position)
*/
position: string;
/**
* The position-anchor CSS property specifies the anchor name of the anchor element (i.e., an element that has an anchor name set on it via the anchor-name property) a positioned element is associated with.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-anchor)
*/
positionAnchor: string;
/**
* The position-area CSS property enables an anchor-positioned element to be positioned relative to the edges of its associated anchor element by placing the positioned element on one or more tiles of an implicit 3x3 grid, where the anchoring element is the center cell.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-area)
*/
positionArea: string;
/**
* The position-try CSS property is a shorthand that corresponds to the position-try-order and position-try-fallbacks properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-try)
*/
positionTry: string;
/**
* The position-try-fallbacks CSS property enables you to specify a list of one or more alternative position try fallback options for anchor-positioned elements to be placed relative to their associated anchor elements. When the element would otherwise overflow its inset-modified containing block, the browser will try placing the positioned element in these different fallback positions, in the order provided, until it finds a value that stops it from overflowing its container or the viewport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-try-fallbacks)
*/
positionTryFallbacks: string;
/**
* The position-try-order CSS property allows you to specify various fallback options that result in an available position-try fallback being used to set an anchor-positioned element's position, instead of its initial position settings.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-try-order)
*/
positionTryOrder: string;
/**
* The position-visibility CSS property enables conditionally hiding an anchor-positioned element depending on, for example, whether it is overflowing its containing element or the viewport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/position-visibility)
*/
positionVisibility: string;
/**
* The print-color-adjust CSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/print-color-adjust)
*/
printColorAdjust: string;
/**
* The CSS **`quotes`** property sets how the browser should render quotation marks that are automatically added to the HTML element or added using the open-quotes or close-quotes (or omitted using the no-open-quote and no-close-quote) values of the of the CSS content property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/quotes)
*/
quotes: string;
/**
* The **`r`** CSS property defines the radius of a circle. It can only be used with the SVG element. If present, it overrides the circle's r attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/r)
*/
r: string;
/**
* The **`resize`** CSS property sets whether an element is resizable, and if so, in which directions.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/resize)
*/
resize: string;
/**
* The **`right`** CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/right)
*/
right: string;
/**
* The **`rotate`** CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/rotate)
*/
rotate: string;
/**
* The row-gap CSS property sets the size of the gap (gutter) between an element's rows.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/row-gap)
*/
rowGap: string;
/**
* The ruby-align CSS property defines the distribution of the different ruby elements over the base.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/ruby-align)
*/
rubyAlign: string;
/**
* The ruby-position CSS property defines the position of a ruby element relative to its base element. It can be positioned over the element (over), under it (under), or between the characters on their right side (inter-character).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/ruby-position)
*/
rubyPosition: string;
/**
* The **`rx`** CSS property defines the x-axis, or horizontal, radius of an SVG and the horizontal curve of the corners of an SVG rectangle. If present, it overrides the shape's rx attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/rx)
*/
rx: string;
/**
* The **`ry`** CSS property defines the y-axis, or vertical, radius of an SVG and the vertical curve of the corners of an SVG rectangle. If present, it overrides the shape's ry attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/ry)
*/
ry: string;
/**
* The **`scale`** CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scale)
*/
scale: string;
/**
* The scroll-behavior CSS property sets the behavior for a scrolling box when scrolling is triggered by the navigation or CSSOM scrolling APIs.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-behavior)
*/
scrollBehavior: string;
/**
* The scroll-margin shorthand property sets all of the scroll margins of an element at once, assigning values much like the margin property does for margins of an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin)
*/
scrollMargin: string;
/**
* The scroll-margin-block shorthand property sets the scroll margins of an element in the block dimension.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-block)
*/
scrollMarginBlock: string;
/**
* The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-block-end)
*/
scrollMarginBlockEnd: string;
/**
* The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-block-start)
*/
scrollMarginBlockStart: string;
/**
* The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-bottom)
*/
scrollMarginBottom: string;
/**
* The scroll-margin-inline shorthand property sets the scroll margins of an element in the inline dimension.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-inline)
*/
scrollMarginInline: string;
/**
* The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-inline-end)
*/
scrollMarginInlineEnd: string;
/**
* The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-inline-start)
*/
scrollMarginInlineStart: string;
/**
* The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-left)
*/
scrollMarginLeft: string;
/**
* The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-right)
*/
scrollMarginRight: string;
/**
* The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-margin-top)
*/
scrollMarginTop: string;
/**
* The scroll-padding shorthand property sets scroll padding on all sides of an element at once. It specifies offsets that define the optimal viewing region of a scrollport within a scroll container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding)
*/
scrollPadding: string;
/**
* The scroll-padding-block shorthand property sets the scroll padding of an element in the block dimension.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-block)
*/
scrollPaddingBlock: string;
/**
* The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-block-end)
*/
scrollPaddingBlockEnd: string;
/**
* The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-block-start)
*/
scrollPaddingBlockStart: string;
/**
* The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-bottom)
*/
scrollPaddingBottom: string;
/**
* The scroll-padding-inline shorthand property sets the scroll padding of an element in the inline dimension.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-inline)
*/
scrollPaddingInline: string;
/**
* The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-inline-end)
*/
scrollPaddingInlineEnd: string;
/**
* The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-inline-start)
*/
scrollPaddingInlineStart: string;
/**
* The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-left)
*/
scrollPaddingLeft: string;
/**
* The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-right)
*/
scrollPaddingRight: string;
/**
* The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-padding-top)
*/
scrollPaddingTop: string;
/**
* The scroll-snap-align property specifies the box's snap position as an alignment of its snap area (as the alignment subject) within its snap container's snap port (as the alignment container).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-snap-align)
*/
scrollSnapAlign: string;
/**
* The scroll-snap-stop CSS property defines whether or not the scroll container is allowed to "pass over" possible snap positions.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-snap-stop)
*/
scrollSnapStop: string;
/**
* The scroll-snap-type CSS property is set on a scroll container, opting it into scroll snapping by setting the direction and strictness of snap point enforcement within the snap port.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-snap-type)
*/
scrollSnapType: string;
/**
* The scroll-timeline CSS shorthand property is used to define a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline)
*/
scrollTimeline: string;
/**
* The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation, which is progressed through by scrolling a scrollable element (scroller).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-axis)
*/
scrollTimelineAxis: string;
/**
* The scroll-timeline-name CSS property is used to define the name of a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right). scroll-timeline-name is set on the scroller that will provide the timeline.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scroll-timeline-name)
*/
scrollTimelineName: string;
/**
* The scrollbar-color CSS property sets the color of the scrollbar track and thumb.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scrollbar-color)
*/
scrollbarColor: string;
/**
* The scrollbar-gutter CSS property allows authors to reserve space for the scrollbar, preventing unwanted layout changes as the content grows while also avoiding unnecessary visuals when scrolling isn't needed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scrollbar-gutter)
*/
scrollbarGutter: string;
/**
* The scrollbar-width property allows the author to set the desired thickness of an element's scrollbars when they are shown.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/scrollbar-width)
*/
scrollbarWidth: string;
/**
* The shape-image-threshold CSS property sets the alpha channel threshold used to extract the shape using an image as the value for shape-outside.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/shape-image-threshold)
*/
shapeImageThreshold: string;
/**
* The shape-margin CSS property sets a margin for a CSS shape created using shape-outside.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/shape-margin)
*/
shapeMargin: string;
/**
* The shape-outside CSS property defines a shape—which may be non-rectangular—around which adjacent inline content should wrap. By default, inline content wraps around its margin box; shape-outside provides a way to customize this wrapping, making it possible to wrap text around complex objects rather than rectangular boxes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/shape-outside)
*/
shapeOutside: string;
/**
* The shape-rendering CSS property provides hints to the renderer about what tradeoffs to make when rendering shapes like paths, circles, or rectangles. It only has an effect on the , , , , , , and elements. If explicitly declared, the value of the CSS property overrides the any values of the element's shape-rendering attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/shape-rendering)
*/
shapeRendering: string;
/**
* The stop-color CSS property defines the color to use for an SVG element within a gradient. If present, it overrides the element's stop-color attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stop-color)
*/
stopColor: string;
/**
* The stop-opacity CSS property defines the opacity of a given color gradient stop in the SVG element within an SVG gradient. If present, it overrides the element's stop-opacity attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stop-opacity)
*/
stopOpacity: string;
/**
* The **`stroke`** CSS property defines the color or SVG paint server used to draw an element's stroke. As such, stroke only has an effect on elements that can be given a stroke (for example, or ); see the page on the SVG stroke attribute for a complete list. When declared, the CSS value overrides any value of the element's stroke SVG attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stroke)
*/
stroke: string;
/**
* The stroke-dasharray CSS property defines a pattern of dashes and gaps used in the painting of the SVG shape's stroke. If present, it overrides the element's stroke-dasharray attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stroke-dasharray)
*/
strokeDasharray: string;
/**
* The stroke-dashoffset CSS property defines an offset for the starting point of the rendering of an SVG element's associated dash array. If present, it overrides the element's stroke-dashoffset attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stroke-dashoffset)
*/
strokeDashoffset: string;
/**
* The stroke-linecap CSS property defines the shape to be used at the end of open subpaths of SVG elements' unclosed strokes. If present, it overrides the element's stroke-linecap attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stroke-linecap)
*/
strokeLinecap: string;
/**
* The stroke-linejoin CSS property defines the shape to be used at the corners of an SVG element's stroked paths. If present, it overrides the element's stroke-linejoin attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stroke-linejoin)
*/
strokeLinejoin: string;
/**
* The stroke-miterlimit CSS property defines a limit on the ratio of the miter length to the stroke-width when the shape to be used at the corners of an SVG element's stroked path is a mitered join. If the limit defined by this property is exceeded, the join is converted from miter to bevel, thus making the corner appear truncated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stroke-miterlimit)
*/
strokeMiterlimit: string;
/**
* The stroke-opacity CSS property defines the opacity of an SVG shape's stroke. The effect is identical to that of opacity, except it is applied only to the stroke, not to the entire element. If present, it overrides the element's stroke-opacity attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stroke-opacity)
*/
strokeOpacity: string;
/**
* The stroke-width CSS property defines the width of a stroke applied to the SVG shape. If present, it overrides the element's stroke-width attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/stroke-width)
*/
strokeWidth: string;
/**
* The tab-size CSS property is used to customize the width of tab characters (U+0009).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/tab-size)
*/
tabSize: string;
/**
* The table-layout CSS property sets the algorithm used to lay out cells, rows, and columns.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/table-layout)
*/
tableLayout: string;
/**
* The text-align CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box. This means it works like vertical-align but in the horizontal direction.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-align)
*/
textAlign: string;
/**
* The text-align-last CSS property sets how the last line of a block or a line, right before a forced line break, is aligned.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-align-last)
*/
textAlignLast: string;
/**
* The text-anchor CSS property aligns a box containing a string of text where the wrapping area is determined from the inline-size property, and the text is then placed relative to the anchor point of the element, which is defined using the x and y (or dx and dy) attributes. If present, the value of the CSS property overrides any value of the element's text-anchor attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-anchor)
*/
textAnchor: string;
/**
* The text-autospace CSS property allows you to specify the space applied between Chinese/Japanese/Korean (CJK) and non-CJK characters.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-autospace)
*/
textAutospace: string;
/**
* The text-box CSS property is a shorthand that corresponds to the text-box-trim and text-box-edge properties, which together specify the amount of space to trim from the block-start edge and block-end edge of a text element's block container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-box)
*/
textBox: string;
/**
* The text-box-edge CSS property specifies an amount of space to trim from a text element's block container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-box-edge)
*/
textBoxEdge: string;
/**
* The text-box-trim CSS property specifies which of the over and under edges of text content to trim from a text element's block container.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-box-trim)
*/
textBoxTrim: string;
/**
* The text-combine-upright CSS property sets the combination of characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-combine-upright)
*/
textCombineUpright: string;
/**
* The text-decoration shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for text-decoration-line, text-decoration-color, text-decoration-style, and the newer text-decoration-thickness property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-decoration)
*/
textDecoration: string;
/**
* The text-decoration-color CSS property sets the color of decorations added to text by text-decoration-line.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-decoration-color)
*/
textDecorationColor: string;
/**
* The text-decoration-line CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-decoration-line)
*/
textDecorationLine: string;
/**
* The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-decoration-skip-ink)
*/
textDecorationSkipInk: string;
/**
* The text-decoration-style CSS property sets the style of the lines specified by text-decoration-line. The style applies to all lines that are set with text-decoration-line.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-decoration-style)
*/
textDecorationStyle: string;
/**
* The text-decoration-thickness CSS property sets the stroke thickness of the decoration line that is used on text in an element, such as a line-through, underline, or overline.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-decoration-thickness)
*/
textDecorationThickness: string;
/**
* The text-emphasis CSS property applies emphasis marks to text (except spaces and control characters). It is a shorthand for text-emphasis-style and text-emphasis-color.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-emphasis)
*/
textEmphasis: string;
/**
* The text-emphasis-color CSS property sets the color of emphasis marks. This value can also be set using the text-emphasis shorthand.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-emphasis-color)
*/
textEmphasisColor: string;
/**
* The text-emphasis-position CSS property sets where emphasis marks are drawn. Similar to the text rendered by the HTML element, if there isn't enough room for emphasis marks, the line height is increased.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-emphasis-position)
*/
textEmphasisPosition: string;
/**
* The text-emphasis-style CSS property sets the appearance of emphasis marks. It can also be set, and reset, using the text-emphasis shorthand.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-emphasis-style)
*/
textEmphasisStyle: string;
/**
* The text-indent CSS property sets the length of empty space (indentation) that is put before lines of text in a block.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-indent)
*/
textIndent: string;
/**
* The text-justify CSS property sets what type of justification should be applied to text when text-align: justify; is set on an element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-justify)
*/
textJustify: string;
/**
* The text-orientation CSS property sets the orientation of the text characters in a line. It only affects text in vertical mode (when writing-mode is not horizontal-tb). It is useful for controlling the display of languages that use vertical script, and also for making vertical table headers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-orientation)
*/
textOrientation: string;
/**
* The text-overflow CSS property sets how hidden overflow content is signaled to users. It can be clipped, display an ellipsis (…), or display a custom string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-overflow)
*/
textOverflow: string;
/**
* The text-rendering CSS property provides information to the rendering engine about what to optimize for when rendering text.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-rendering)
*/
textRendering: string;
/**
* The text-shadow CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and any of its text-decoration. Each shadow is described by some combination of X and Y offsets from the element, blur radius, and color.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-shadow)
*/
textShadow: string;
/**
* The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. It also can help improve legibility for ruby.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-transform)
*/
textTransform: string;
/**
* The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-underline-offset)
*/
textUnderlineOffset: string;
/**
* The text-underline-position CSS property specifies the position of the underline which is set using the text-decoration property's underline value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-underline-position)
*/
textUnderlinePosition: string;
/**
* The text-wrap CSS shorthand property controls how text inside an element is wrapped. The different values provide:
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-wrap)
*/
textWrap: string;
/**
* The text-wrap-mode CSS property controls whether the text inside an element is wrapped. The different values provide alternate ways of wrapping the content of a block element. It can also be set, and reset, using the text-wrap shorthand or the white-space shorthand.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-wrap-mode)
*/
textWrapMode: string;
/**
* The text-wrap-style CSS property controls how text inside an element is wrapped. The different values provide alternate ways of wrapping the content of a block element. It can also be set, and reset, using the text-wrap shorthand.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-wrap-style)
*/
textWrapStyle: string;
/**
* The timeline-scope CSS property modifies the scope of a named animation timeline.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/timeline-scope)
*/
timelineScope: string;
/**
* The **`top`** CSS property sets the vertical position of a positioned element. This inset property has no effect on non-positioned elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/top)
*/
top: string;
/**
* The touch-action CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/touch-action)
*/
touchAction: string;
/**
* The **`transform`** CSS property lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transform)
*/
transform: string;
/**
* The transform-box CSS property defines the layout box to which the transform, individual transform properties translate, scale, and rotate, and transform-origin properties relate.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transform-box)
*/
transformBox: string;
/**
* The transform-origin CSS property sets the origin for an element's transformations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transform-origin)
*/
transformOrigin: string;
/**
* The transform-style CSS property sets whether children of an element are positioned in the 3D space or are flattened in the plane of the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transform-style)
*/
transformStyle: string;
/**
* The **`transition`** CSS property is a shorthand property for transition-property, transition-duration, transition-timing-function, transition-delay, and transition-behavior.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition)
*/
transition: string;
/**
* The transition-behavior CSS property specifies whether transitions will be started for properties whose animation behavior is discrete.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-behavior)
*/
transitionBehavior: string;
/**
* The transition-delay CSS property specifies the duration to wait before starting a property's transition effect when its value changes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-delay)
*/
transitionDelay: string;
/**
* The transition-duration CSS property sets the length of time a transition animation should take to complete. By default, the value is 0s, meaning that no animation will occur.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-duration)
*/
transitionDuration: string;
/**
* The transition-property CSS property sets the CSS properties to which a transition effect should be applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-property)
*/
transitionProperty: string;
/**
* The transition-timing-function CSS property sets how intermediate values are calculated for CSS properties being affected by a transition effect.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-timing-function)
*/
transitionTimingFunction: string;
/**
* The **`translate`** CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/translate)
*/
translate: string;
/**
* The unicode-bidi CSS property, together with the direction property, determines how bidirectional text in a document is handled. For example, if a block of content contains both left-to-right and right-to-left text, the user-agent uses a complex Unicode algorithm to decide how to display the text. The unicode-bidi property overrides this algorithm and allows the developer to control the text embedding.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/unicode-bidi)
*/
unicodeBidi: string;
/**
* The user-select CSS property controls whether the user can select text. This doesn't have any effect on content loaded as part of a browser's user interface (its chrome), except in textboxes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/user-select)
*/
userSelect: string;
/**
* The vector-effect CSS property suppresses specific transformation effects in SVG, thus permitting effects like a road on a map staying the same width no matter how the map is zoomed, or allowing a diagram key to retain its position and size regardless of other transforms. It can only be used with SVG elements that accept the vector-effect attribute. When used, the CSS value overrides any values of the element's vector-effect attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/vector-effect)
*/
vectorEffect: string;
/**
* The vertical-align CSS shorthand property sets the vertical alignment of an inline, inline-block, or table-cell box.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/vertical-align)
*/
verticalAlign: string;
/**
* The view-timeline CSS shorthand property defines a named view progress timeline's name, direction, and inset values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline)
*/
viewTimeline: string;
/**
* The view-timeline-axis CSS property specifies the scroll direction to be used for a named view progress timeline.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-axis)
*/
viewTimelineAxis: string;
/**
* The view-timeline-inset CSS property is used to specify one or two values representing an adjustment to the position of the scrollport (see Scroll container for more details) in which the subject element of a named view progress timeline animation is deemed to be visible. Put another way, this allows you to specify start and/or end inset (or outset) values that offset the position of the timeline.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-inset)
*/
viewTimelineInset: string;
/**
* The view-timeline-name CSS property specifies the names of one or more named view progress timelines associated with the element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-timeline-name)
*/
viewTimelineName: string;
/**
* The view-transition-class CSS property provides the selected elements with an identifying class (a ), providing an additional method of styling the view transitions for those elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-transition-class)
*/
viewTransitionClass: string;
/**
* The view-transition-name CSS property specifies the view transition snapshot that selected elements will participate in. This enables you to animate those elements separately from the rest of the page, which uses the default cross-fade animation during a view transition. You can then define custom animation styles for these elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/view-transition-name)
*/
viewTransitionName: string;
/**
* The **`visibility`** CSS property shows or hides an element without changing the layout of a document. The property can also hide rows or columns in a .
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/visibility)
*/
visibility: string;
/**
* @deprecated This is a legacy alias of `alignContent`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-content)
*/
webkitAlignContent: string;
/**
* @deprecated This is a legacy alias of `alignItems`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-items)
*/
webkitAlignItems: string;
/**
* @deprecated This is a legacy alias of `alignSelf`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/align-self)
*/
webkitAlignSelf: string;
/**
* @deprecated This is a legacy alias of `animation`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation)
*/
webkitAnimation: string;
/**
* @deprecated This is a legacy alias of `animationDelay`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-delay)
*/
webkitAnimationDelay: string;
/**
* @deprecated This is a legacy alias of `animationDirection`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-direction)
*/
webkitAnimationDirection: string;
/**
* @deprecated This is a legacy alias of `animationDuration`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-duration)
*/
webkitAnimationDuration: string;
/**
* @deprecated This is a legacy alias of `animationFillMode`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-fill-mode)
*/
webkitAnimationFillMode: string;
/**
* @deprecated This is a legacy alias of `animationIterationCount`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-iteration-count)
*/
webkitAnimationIterationCount: string;
/**
* @deprecated This is a legacy alias of `animationName`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-name)
*/
webkitAnimationName: string;
/**
* @deprecated This is a legacy alias of `animationPlayState`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-play-state)
*/
webkitAnimationPlayState: string;
/**
* @deprecated This is a legacy alias of `animationTimingFunction`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/animation-timing-function)
*/
webkitAnimationTimingFunction: string;
/**
* @deprecated This is a legacy alias of `appearance`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/appearance)
*/
webkitAppearance: string;
/**
* @deprecated This is a legacy alias of `backfaceVisibility`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/backface-visibility)
*/
webkitBackfaceVisibility: string;
/**
* @deprecated This is a legacy alias of `backgroundClip`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-clip)
*/
webkitBackgroundClip: string;
/**
* @deprecated This is a legacy alias of `backgroundOrigin`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-origin)
*/
webkitBackgroundOrigin: string;
/**
* @deprecated This is a legacy alias of `backgroundSize`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
*/
webkitBackgroundSize: string;
/**
* @deprecated This is a legacy alias of `borderBottomLeftRadius`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-bottom-left-radius)
*/
webkitBorderBottomLeftRadius: string;
/**
* @deprecated This is a legacy alias of `borderBottomRightRadius`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-bottom-right-radius)
*/
webkitBorderBottomRightRadius: string;
/**
* @deprecated This is a legacy alias of `borderRadius`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-radius)
*/
webkitBorderRadius: string;
/**
* @deprecated This is a legacy alias of `borderTopLeftRadius`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-top-left-radius)
*/
webkitBorderTopLeftRadius: string;
/**
* @deprecated This is a legacy alias of `borderTopRightRadius`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/border-top-right-radius)
*/
webkitBorderTopRightRadius: string;
/**
* @deprecated This is a legacy alias of `boxAlign`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-align)
*/
webkitBoxAlign: string;
/**
* @deprecated This is a legacy alias of `boxFlex`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-flex)
*/
webkitBoxFlex: string;
/**
* @deprecated This is a legacy alias of `boxOrdinalGroup`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-ordinal-group)
*/
webkitBoxOrdinalGroup: string;
/**
* @deprecated This is a legacy alias of `boxOrient`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-orient)
*/
webkitBoxOrient: string;
/**
* @deprecated This is a legacy alias of `boxPack`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-pack)
*/
webkitBoxPack: string;
/**
* @deprecated This is a legacy alias of `boxShadow`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-shadow)
*/
webkitBoxShadow: string;
/**
* @deprecated This is a legacy alias of `boxSizing`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/box-sizing)
*/
webkitBoxSizing: string;
/**
* @deprecated This is a legacy alias of `filter`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/filter)
*/
webkitFilter: string;
/**
* @deprecated This is a legacy alias of `flex`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex)
*/
webkitFlex: string;
/**
* @deprecated This is a legacy alias of `flexBasis`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-basis)
*/
webkitFlexBasis: string;
/**
* @deprecated This is a legacy alias of `flexDirection`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-direction)
*/
webkitFlexDirection: string;
/**
* @deprecated This is a legacy alias of `flexFlow`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-flow)
*/
webkitFlexFlow: string;
/**
* @deprecated This is a legacy alias of `flexGrow`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-grow)
*/
webkitFlexGrow: string;
/**
* @deprecated This is a legacy alias of `flexShrink`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-shrink)
*/
webkitFlexShrink: string;
/**
* @deprecated This is a legacy alias of `flexWrap`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/flex-wrap)
*/
webkitFlexWrap: string;
/**
* @deprecated This is a legacy alias of `justifyContent`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/justify-content)
*/
webkitJustifyContent: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/line-clamp) */
webkitLineClamp: string;
/**
* @deprecated This is a legacy alias of `mask`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask)
*/
webkitMask: string;
/**
* The non-standard prefixed -webkit-mask-box-image shorthand property sets the mask image for an element's border box.
* @deprecated This is a legacy alias of `maskBorder`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-border)
*/
webkitMaskBoxImage: string;
/**
* @deprecated This is a legacy alias of `maskBorderOutset`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-border-outset)
*/
webkitMaskBoxImageOutset: string;
/**
* @deprecated This is a legacy alias of `maskBorderRepeat`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-border-repeat)
*/
webkitMaskBoxImageRepeat: string;
/**
* @deprecated This is a legacy alias of `maskBorderSlice`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-border-slice)
*/
webkitMaskBoxImageSlice: string;
/**
* @deprecated This is a legacy alias of `maskBorderSource`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-border-source)
*/
webkitMaskBoxImageSource: string;
/**
* @deprecated This is a legacy alias of `maskBorderWidth`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-border-width)
*/
webkitMaskBoxImageWidth: string;
/**
* @deprecated This is a legacy alias of `maskClip`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-clip)
*/
webkitMaskClip: string;
/**
* The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property.
* @deprecated This is a legacy alias of `maskComposite`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-composite)
*/
webkitMaskComposite: string;
/**
* @deprecated This is a legacy alias of `maskImage`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-image)
*/
webkitMaskImage: string;
/**
* @deprecated This is a legacy alias of `maskOrigin`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-origin)
*/
webkitMaskOrigin: string;
/**
* @deprecated This is a legacy alias of `maskPosition`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-position)
*/
webkitMaskPosition: string;
/**
* @deprecated This is a legacy alias of `maskRepeat`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-repeat)
*/
webkitMaskRepeat: string;
/**
* @deprecated This is a legacy alias of `maskSize`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/mask-size)
*/
webkitMaskSize: string;
/**
* @deprecated This is a legacy alias of `order`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/order)
*/
webkitOrder: string;
/**
* @deprecated This is a legacy alias of `perspective`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/perspective)
*/
webkitPerspective: string;
/**
* @deprecated This is a legacy alias of `perspectiveOrigin`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/perspective-origin)
*/
webkitPerspectiveOrigin: string;
/**
* The -webkit-text-fill-color CSS property specifies the fill color of characters of text. If this property is not set, the value of the color property is used.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/-webkit-text-fill-color)
*/
webkitTextFillColor: string;
/**
* @deprecated This is a legacy alias of `textSizeAdjust`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-size-adjust)
*/
webkitTextSizeAdjust: string;
/**
* The -webkit-text-stroke CSS property specifies the width and color of strokes for text characters. This is a shorthand property for the longhand properties -webkit-text-stroke-width and -webkit-text-stroke-color.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/-webkit-text-stroke)
*/
webkitTextStroke: string;
/**
* The -webkit-text-stroke-color CSS property specifies the stroke color of characters of text. If this property is not set, the value of the color property is used.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/-webkit-text-stroke-color)
*/
webkitTextStrokeColor: string;
/**
* The -webkit-text-stroke-width CSS property specifies the width of the stroke for text.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/-webkit-text-stroke-width)
*/
webkitTextStrokeWidth: string;
/**
* @deprecated This is a legacy alias of `transform`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transform)
*/
webkitTransform: string;
/**
* @deprecated This is a legacy alias of `transformOrigin`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transform-origin)
*/
webkitTransformOrigin: string;
/**
* @deprecated This is a legacy alias of `transformStyle`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transform-style)
*/
webkitTransformStyle: string;
/**
* @deprecated This is a legacy alias of `transition`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition)
*/
webkitTransition: string;
/**
* @deprecated This is a legacy alias of `transitionDelay`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-delay)
*/
webkitTransitionDelay: string;
/**
* @deprecated This is a legacy alias of `transitionDuration`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-duration)
*/
webkitTransitionDuration: string;
/**
* @deprecated This is a legacy alias of `transitionProperty`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-property)
*/
webkitTransitionProperty: string;
/**
* @deprecated This is a legacy alias of `transitionTimingFunction`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/transition-timing-function)
*/
webkitTransitionTimingFunction: string;
/**
* @deprecated This is a legacy alias of `userSelect`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/user-select)
*/
webkitUserSelect: string;
/**
* The white-space CSS property sets how white space inside an element is handled.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/white-space)
*/
whiteSpace: string;
/**
* The white-space-collapse CSS property controls how white space inside an element is collapsed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/white-space-collapse)
*/
whiteSpaceCollapse: string;
/**
* The **`widows`** CSS property sets the minimum number of lines in a block container that must be shown at the top of a page, region, or column.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/widows)
*/
widows: string;
/**
* The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/width)
*/
width: string;
/**
* The will-change CSS property hints to browsers how an element is expected to change. Browsers may set up optimizations before an element is actually changed. These kinds of optimizations can increase the responsiveness of a page by doing potentially expensive work before they are actually required.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/will-change)
*/
willChange: string;
/**
* The word-break CSS property sets whether line breaks appear wherever the text would otherwise overflow its content box.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/word-break)
*/
wordBreak: string;
/**
* The word-spacing CSS property sets the spacing between words and between tags.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/word-spacing)
*/
wordSpacing: string;
/**
* @deprecated `word-wrap` is a legacy alias of `overflow-wrap`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/overflow-wrap)
*/
wordWrap: string;
/**
* The writing-mode CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (html element for HTML documents).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/writing-mode)
*/
writingMode: string;
/**
* The **`x`** CSS property defines the x-axis coordinate of the top left corner of the SVG shape, image, viewport or nested viewport relative to the nearest ancestor's user coordinate system. If present, it overrides the element's x attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/x)
*/
x: string;
/**
* The **`y`** CSS property defines the y-axis coordinate of the top left corner of the SVG shape, image, viewport and nested viewport relative to the nearest ancestor's user coordinate system. If present, it overrides the element's y attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/y)
*/
y: string;
/**
* The z-index CSS property sets the z-order of a positioned element and its descendants or flex and grid items. Overlapping elements with a larger z-index cover those with a smaller one.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/z-index)
*/
zIndex: string;
/**
* The **`zoom`** CSS property can be used to control the magnification level of an element. transform: scale() can be used as an alternative to this property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/zoom)
*/
zoom: string;
}
declare var CSSStyleProperties: {
prototype: CSSStyleProperties;
new(): CSSStyleProperties;
};
/**
* The **`CSSStyleRule`** interface represents a single CSS style rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule)
*/
interface CSSStyleRule extends CSSGroupingRule {
/**
* The **`selectorText`** property of the CSSStyleRule interface gets and sets the selectors associated with the CSSStyleRule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/selectorText)
*/
selectorText: string;
/**
* The read-only **`style`** property of the CSSStyleRule interface contains a CSSStyleProperties object representing the properties list in this style rule's body.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)
*/
get style(): CSSStyleDeclaration;
set style(cssText: string);
/**
* The **`styleMap`** read-only property of the CSSStyleRule interface returns a StylePropertyMap object which provides access to the rule's property-value pairs.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap)
*/
readonly styleMap: StylePropertyMap;
}
declare var CSSStyleRule: {
prototype: CSSStyleRule;
new(): CSSStyleRule;
};
/**
* The **`CSSStyleSheet`** interface represents a single CSS stylesheet, and lets you inspect and modify the list of rules contained in the stylesheet. It inherits properties and methods from its parent, StyleSheet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet)
*/
interface CSSStyleSheet extends StyleSheet {
/**
* The read-only CSSStyleSheet property **`cssRules`** returns a live CSSRuleList which provides a real-time, up-to-date list of every CSS rule which comprises the stylesheet. Each item in the list is a CSSRule defining a single rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/cssRules)
*/
readonly cssRules: CSSRuleList;
/**
* The read-only CSSStyleSheet property **`ownerRule`** returns the CSSImportRule corresponding to the @import at-rule which imported the stylesheet into the document. If the stylesheet wasn't imported into the document using @import, the returned value is null.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/ownerRule)
*/
readonly ownerRule: CSSRule | null;
/**
* **`rules`** is a deprecated legacy property of the CSSStyleSheet interface. Functionally identical to the preferred cssRules property, it provides access to a live-updating list of the CSS rules comprising the stylesheet.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/rules)
*/
readonly rules: CSSRuleList;
/**
* The obsolete CSSStyleSheet interface's **`addRule()`** legacy method adds a new rule to the stylesheet. You should avoid using this method, and should instead use the more standard insertRule() method.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/addRule)
*/
addRule(selector?: string, style?: string, index?: number): number;
/**
* The CSSStyleSheet method **`deleteRule()`** removes a rule from the stylesheet object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/deleteRule)
*/
deleteRule(index: number): void;
/**
* The **`CSSStyleSheet.insertRule()`** method inserts a new CSS rule into the current style sheet.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/insertRule)
*/
insertRule(rule: string, index?: number): number;
/**
* The obsolete CSSStyleSheet method **`removeRule()`** removes a rule from the stylesheet object. It is functionally identical to the standard, preferred method deleteRule().
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/removeRule)
*/
removeRule(index?: number): void;
/**
* The **`replace()`** method of the CSSStyleSheet interface asynchronously replaces the content of the stylesheet with the content passed into it. The method returns a promise that resolves with the CSSStyleSheet object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/replace)
*/
replace(text: string): Promise;
/**
* The **`replaceSync()`** method of the CSSStyleSheet interface synchronously replaces the content of the stylesheet with the content passed into it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/replaceSync)
*/
replaceSync(text: string): void;
}
declare var CSSStyleSheet: {
prototype: CSSStyleSheet;
new(options?: CSSStyleSheetInit): CSSStyleSheet;
};
/**
* The **`CSSStyleValue`** interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API. An instance of this class may be used anywhere a string is expected.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue)
*/
interface CSSStyleValue {
toString(): string;
}
declare var CSSStyleValue: {
prototype: CSSStyleValue;
new(): CSSStyleValue;
/**
* The **`parse()`** static method of the CSSStyleValue interface sets a specific CSS property to the specified values and returns the first value as a CSSStyleValue object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/parse_static)
*/
parse(property: string, cssText: string): CSSStyleValue;
/**
* The **`parseAll()`** static method of the CSSStyleValue interface sets all occurrences of a specific CSS property to the specified value and returns an array of CSSStyleValue objects, each containing one of the supplied values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/parseAll_static)
*/
parseAll(property: string, cssText: string): CSSStyleValue[];
};
/**
* The **`CSSSupportsRule`** interface represents a single CSS @supports at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSupportsRule)
*/
interface CSSSupportsRule extends CSSConditionRule {
}
declare var CSSSupportsRule: {
prototype: CSSSupportsRule;
new(): CSSSupportsRule;
};
/**
* The **`CSSTransformComponent`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent)
*/
interface CSSTransformComponent {
/**
* The **`is2D`** read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/is2D)
*/
is2D: boolean;
/**
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
*/
toMatrix(): DOMMatrix;
toString(): string;
}
declare var CSSTransformComponent: {
prototype: CSSTransformComponent;
new(): CSSTransformComponent;
};
/**
* The **`CSSTransformValue`** interface of the CSS Typed Object Model API represents transform-list values as used by the CSS transform property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue)
*/
interface CSSTransformValue extends CSSStyleValue {
/**
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
*/
readonly is2D: boolean;
/**
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
*/
readonly length: number;
/**
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
*/
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;
};
/**
* The **`CSSTransition`** interface of the Web Animations API represents an Animation object used for a CSS Transition.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransition)
*/
interface CSSTransition extends Animation {
/**
* The **`transitionProperty`** property of the CSSTransition interface returns the expanded transition property name of the transition. This is the longhand CSS property for which the transition was generated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransition/transitionProperty)
*/
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;
};
/**
* The **`CSSTranslate`** interface of the CSS Typed Object Model API represents the translate() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate)
*/
interface CSSTranslate extends CSSTransformComponent {
/**
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
*/
x: CSSNumericValue;
/**
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
*/
y: CSSNumericValue;
/**
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector. A positive value moves the element towards the viewer, and a negative value farther away.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
*/
z: CSSNumericValue;
}
declare var CSSTranslate: {
prototype: CSSTranslate;
new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate;
};
/**
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
*/
interface CSSUnitValue extends CSSNumericValue {
/**
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
*/
readonly unit: string;
/**
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
*/
value: number;
}
declare var CSSUnitValue: {
prototype: CSSUnitValue;
new(value: number, unit: string): CSSUnitValue;
};
/**
* The **`CSSUnparsedValue`** interface of the CSS Typed Object Model API represents property values that reference custom properties. It consists of a list of string fragments and variable references.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue)
*/
interface CSSUnparsedValue extends CSSStyleValue {
/**
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
*/
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;
};
/**
* The **`CSSVariableReferenceValue`** interface of the CSS Typed Object Model API allows you to create a custom name for a built-in CSS value. This object functionality is sometimes called a "CSS variable" and serves the same purpose as the var() function. The custom name must begin with two dashes.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue)
*/
interface CSSVariableReferenceValue {
/**
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
*/
readonly fallback: CSSUnparsedValue | null;
/**
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
*/
variable: string;
}
declare var CSSVariableReferenceValue: {
prototype: CSSVariableReferenceValue;
new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;
};
/**
* The **`CSSViewTransitionRule`** interface represents a CSS @view-transition at-rule.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule)
*/
interface CSSViewTransitionRule extends CSSRule {
/**
* The **`navigation`** read-only property of the CSSViewTransitionRule interface returns the associated @view-transition at-rule's navigation descriptor value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/navigation)
*/
readonly navigation: string;
/**
* The **`types`** read-only property of the CSSViewTransitionRule interface returns an array containing the associated @view-transition at-rule's types descriptor values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSViewTransitionRule/types)
*/
readonly types: ReadonlyArray;
}
declare var CSSViewTransitionRule: {
prototype: CSSViewTransitionRule;
new(): CSSViewTransitionRule;
};
/**
* The **`Cache`** interface provides a persistent storage mechanism for Request / Response object pairs that are cached in long lived memory. How long a Cache object lives is browser dependent, but a single origin's scripts can typically rely on the presence of a previously populated Cache object. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache)
*/
interface Cache {
/**
* The **`add()`** method of the Cache interface takes a URL, retrieves it, and adds the resulting response object to the given cache.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/add)
*/
add(request: RequestInfo | URL): Promise;
/**
* The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache. The request objects created during retrieval become keys to the stored response operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
*/
addAll(requests: RequestInfo[]): Promise;
/**
* The **`delete()`** method of the Cache interface finds the Cache entry whose key is the request, and if found, deletes the Cache entry and returns a Promise that resolves to true. If no Cache entry is found, it resolves to false.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/delete)
*/
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise;
/**
* The **`keys()`** method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
*/
keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise>;
/**
* The **`match()`** method of the Cache interface returns a Promise that resolves to the Response associated with the first matching request in the Cache object. If no match is found, the Promise resolves to undefined.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/match)
*/
match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise;
/**
* The **`matchAll()`** method of the Cache interface returns a Promise that resolves to an array of all matching responses in the Cache object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/matchAll)
*/
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise>;
/**
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
*/
put(request: RequestInfo | URL, response: Response): Promise;
}
declare var Cache: {
prototype: Cache;
new(): Cache;
};
/**
* The **`CacheStorage`** interface represents the storage for Cache objects.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage)
*/
interface CacheStorage {
/**
* The **`delete()`** method of the CacheStorage interface finds the Cache object matching the cacheName, and if found, deletes the Cache object and returns a Promise that resolves to true. If no Cache object is found, it resolves to false.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/delete)
*/
delete(cacheName: string): Promise;
/**
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to true if a Cache object matches the cacheName.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
*/
has(cacheName: string): Promise;
/**
* The **`keys()`** method of the CacheStorage interface returns a Promise that will resolve with an array containing strings corresponding to all of the named Cache objects tracked by the CacheStorage object in the order they were created. Use this method to iterate over a list of all Cache objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/keys)
*/
keys(): Promise;
/**
* The **`match()`** method of the CacheStorage interface checks if a given Request or URL string is a key for a stored Response. This method returns a Promise for a Response, or a Promise which resolves to undefined if no match is found.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/match)
*/
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise;
/**
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the cacheName.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
*/
open(cacheName: string): Promise;
}
declare var CacheStorage: {
prototype: CacheStorage;
new(): CacheStorage;
};
/**
* The **`CanvasCaptureMediaStreamTrack`** interface of the Media Capture and Streams API represents the video track contained in a MediaStream being generated from a following a call to HTMLCanvasElement.captureStream().
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasCaptureMediaStreamTrack)
*/
interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack {
/**
* The **`canvas`** read-only property of the CanvasCaptureMediaStreamTrack interface returns the HTMLCanvasElement from which frames are being captured.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasCaptureMediaStreamTrack/canvas)
*/
readonly canvas: HTMLCanvasElement;
/**
* The **`requestFrame()`** method of the CanvasCaptureMediaStreamTrack interface requests that a frame be captured from the canvas and sent to the stream.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasCaptureMediaStreamTrack/requestFrame)
*/
requestFrame(): void;
addEventListener(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
declare var CanvasCaptureMediaStreamTrack: {
prototype: CanvasCaptureMediaStreamTrack;
new(): CanvasCaptureMediaStreamTrack;
};
interface CanvasCompositing {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalAlpha) */
globalAlpha: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation) */
globalCompositeOperation: GlobalCompositeOperation;
}
interface CanvasDrawImage {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/drawImage) */
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 {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/beginPath) */
beginPath(): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/clip) */
clip(fillRule?: CanvasFillRule): void;
clip(path: Path2D, fillRule?: CanvasFillRule): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fill) */
fill(fillRule?: CanvasFillRule): void;
fill(path: Path2D, fillRule?: CanvasFillRule): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isPointInPath) */
isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;
isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isPointInStroke) */
isPointInStroke(x: number, y: number): boolean;
isPointInStroke(path: Path2D, x: number, y: number): boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/stroke) */
stroke(): void;
stroke(path: Path2D): void;
}
interface CanvasFillStrokeStyles {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillStyle) */
fillStyle: string | CanvasGradient | CanvasPattern;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeStyle) */
strokeStyle: string | CanvasGradient | CanvasPattern;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createConicGradient) */
createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createLinearGradient) */
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createPattern) */
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createRadialGradient) */
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
}
interface CanvasFilters {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/filter) */
filter: string;
}
/**
* The **`CanvasGradient`** interface represents an opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient(), CanvasRenderingContext2D.createConicGradient() or CanvasRenderingContext2D.createRadialGradient().
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient)
*/
interface CanvasGradient {
/**
* The **`CanvasGradient.addColorStop()`** method adds a new color stop, defined by an offset and a color, to a given canvas gradient.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient/addColorStop)
*/
addColorStop(offset: number, color: string): void;
}
declare var CanvasGradient: {
prototype: CanvasGradient;
new(): CanvasGradient;
};
interface CanvasImageData {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createImageData) */
createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
createImageData(imageData: ImageData): ImageData;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getImageData) */
getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/putImageData) */
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 {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled) */
imageSmoothingEnabled: boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingQuality) */
imageSmoothingQuality: ImageSmoothingQuality;
}
interface CanvasPath {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arc) */
arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arcTo) */
arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo) */
bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/closePath) */
closePath(): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/ellipse) */
ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineTo) */
lineTo(x: number, y: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/moveTo) */
moveTo(x: number, y: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo) */
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/rect) */
rect(x: number, y: number, w: number, h: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
}
interface CanvasPathDrawingStyles {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineCap) */
lineCap: CanvasLineCap;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineDashOffset) */
lineDashOffset: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineJoin) */
lineJoin: CanvasLineJoin;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineWidth) */
lineWidth: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/miterLimit) */
miterLimit: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getLineDash) */
getLineDash(): number[];
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
setLineDash(segments: number[]): void;
}
/**
* The **`CanvasPattern`** interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern)
*/
interface CanvasPattern {
/**
* The **`CanvasPattern.setTransform()`** method uses a DOMMatrix object as the pattern's transformation matrix and invokes it on the pattern.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern/setTransform)
*/
setTransform(transform?: DOMMatrix2DInit): void;
}
declare var CanvasPattern: {
prototype: CanvasPattern;
new(): CanvasPattern;
};
interface CanvasRect {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/clearRect) */
clearRect(x: number, y: number, w: number, h: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillRect) */
fillRect(x: number, y: number, w: number, h: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeRect) */
strokeRect(x: number, y: number, w: number, h: number): void;
}
/**
* The **`CanvasRenderingContext2D`** interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D)
*/
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
/**
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
*/
readonly canvas: HTMLCanvasElement;
}
declare var CanvasRenderingContext2D: {
prototype: CanvasRenderingContext2D;
new(): CanvasRenderingContext2D;
};
interface CanvasSettings {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getContextAttributes) */
getContextAttributes(): CanvasRenderingContext2DSettings;
}
interface CanvasShadowStyles {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowBlur) */
shadowBlur: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowColor) */
shadowColor: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX) */
shadowOffsetX: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY) */
shadowOffsetY: number;
}
interface CanvasState {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
isContextLost(): boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
reset(): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
restore(): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/save) */
save(): void;
}
interface CanvasText {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillText) */
fillText(text: string, x: number, y: number, maxWidth?: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/measureText) */
measureText(text: string): TextMetrics;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeText) */
strokeText(text: string, x: number, y: number, maxWidth?: number): void;
}
interface CanvasTextDrawingStyles {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/direction) */
direction: CanvasDirection;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/font) */
font: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontKerning) */
fontKerning: CanvasFontKerning;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontStretch) */
fontStretch: CanvasFontStretch;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
fontVariantCaps: CanvasFontVariantCaps;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
lang: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
letterSpacing: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
textAlign: CanvasTextAlign;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textBaseline) */
textBaseline: CanvasTextBaseline;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textRendering) */
textRendering: CanvasTextRendering;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/wordSpacing) */
wordSpacing: string;
}
interface CanvasTransform {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getTransform) */
getTransform(): DOMMatrix;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/resetTransform) */
resetTransform(): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/rotate) */
rotate(angle: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/scale) */
scale(x: number, y: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setTransform) */
setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;
setTransform(transform?: DOMMatrix2DInit): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/transform) */
transform(a: number, b: number, c: number, d: number, e: number, f: number): void;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/translate) */
translate(x: number, y: number): void;
}
interface CanvasUserInterface {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/drawFocusIfNeeded) */
drawFocusIfNeeded(element: Element): void;
drawFocusIfNeeded(path: Path2D, element: Element): void;
}
/**
* The **`CaretPosition`** interface represents the caret position, an indicator for the text insertion point. You can get a CaretPosition using the Document.caretPositionFromPoint() method.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition)
*/
interface CaretPosition {
/**
* The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/offset)
*/
readonly offset: number;
/**
* The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/offsetNode)
*/
readonly offsetNode: Node;
/**
* The **`getClientRect()`** method of the CaretPosition interface returns the client rectangle for the caret range.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/getClientRect)
*/
getClientRect(): DOMRect | null;
}
declare var CaretPosition: {
prototype: CaretPosition;
new(): CaretPosition;
};
/**
* The **`ChannelMergerNode`** interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channel separately, e.g., for performing channel mixing where gain must be separately controlled on each channel.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ChannelMergerNode)
*/
interface ChannelMergerNode extends AudioNode {
}
declare var ChannelMergerNode: {
prototype: ChannelMergerNode;
new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode;
};
/**
* The **`ChannelSplitterNode`** interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g., for performing channel mixing where gain must be separately controlled on each channel.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ChannelSplitterNode)
*/
interface ChannelSplitterNode extends AudioNode {
}
declare var ChannelSplitterNode: {
prototype: ChannelSplitterNode;
new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode;
};
/**
* The **`CharacterData`** abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any objects of type CharacterData: it is implemented by other interfaces like Text, Comment, CDATASection, or ProcessingInstruction, which aren't abstract.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData)
*/
interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
/**
* The **`data`** property of the CharacterData interface represent the value of the current object's data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/data)
*/
data: string;
/**
* The read-only **`CharacterData.length`** property returns the number of characters in the contained data, as a positive integer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/length)
*/
readonly length: number;
readonly ownerDocument: Document;
/**
* The **`appendData()`** method of the CharacterData interface adds the provided data to the end of the node's current data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/appendData)
*/
appendData(data: string): void;
/**
* The **`deleteData()`** method of the CharacterData interface removes all or part of the data from this CharacterData node.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/deleteData)
*/
deleteData(offset: number, count: number): void;
/**
* The **`insertData()`** method of the CharacterData interface inserts the provided data into this CharacterData node's current data, at the provided offset from the start of the existing data. The provided data is spliced into the existing data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/insertData)
*/
insertData(offset: number, data: string): void;
/**
* The **`replaceData()`** method of the CharacterData interface removes a certain number of characters of the existing text in a given CharacterData node and replaces those characters with the text provided.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/replaceData)
*/
replaceData(offset: number, count: number, data: string): void;
/**
* The **`substringData()`** method of the CharacterData interface returns a portion of the existing data, starting at the specified index and extending for a given number of characters afterwards.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
*/
substringData(offset: number, count: number): string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
get textContent(): string;
set textContent(value: string | null);
}
declare var CharacterData: {
prototype: CharacterData;
new(): CharacterData;
};
interface ChildNode extends Node {
/**
* Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
*
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/after)
*/
after(...nodes: (Node | string)[]): void;
/**
* Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
*
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/before)
*/
before(...nodes: (Node | string)[]): void;
/**
* Removes node.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/remove)
*/
remove(): void;
/**
* Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
*
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/replaceWith)
*/
replaceWith(...nodes: (Node | string)[]): void;
}
/** @deprecated */
interface ClientRect extends DOMRect {
}
/**
* The **`Clipboard`** interface of the Clipboard API provides read and write access to the contents of the system clipboard. This allows a web application to implement cut, copy, and paste features.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard)
*/
interface Clipboard extends EventTarget {
/**
* The **`read()`** method of the Clipboard interface requests a copy of the clipboard's contents, fulfilling the returned Promise with the data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard/read)
*/
read(): Promise;
/**
* The **`readText()`** method of the Clipboard interface returns a Promise which fulfills with a copy of the textual contents of the system clipboard.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard/readText)
*/
readText(): Promise;
/**
* The **`write()`** method of the Clipboard interface writes arbitrary ClipboardItem data such as images and text to the clipboard, fulfilling the returned Promise on completion. This can be used to implement cut and copy functionality.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard/write)
*/
write(data: ClipboardItems): Promise;
/**
* The **`writeText()`** method of the Clipboard interface writes the specified text to the system clipboard, returning a Promise that is resolved once the system clipboard has been updated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard/writeText)
*/
writeText(data: string): Promise;
}
declare var Clipboard: {
prototype: Clipboard;
new(): Clipboard;
};
/**
* The **`ClipboardEvent`** interface of the Clipboard API represents events providing information related to modification of the clipboard, that is cut, copy, and paste events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardEvent)
*/
interface ClipboardEvent extends Event {
/**
* The **`clipboardData`** property of the ClipboardEvent interface holds a DataTransfer object, which can be used to:
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardEvent/clipboardData)
*/
readonly clipboardData: DataTransfer | null;
}
declare var ClipboardEvent: {
prototype: ClipboardEvent;
new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;
};
/**
* The **`ClipboardItem`** interface of the Clipboard API represents a single item format, used when reading or writing clipboard data using Clipboard.read() and Clipboard.write() respectively.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem)
*/
interface ClipboardItem {
/**
* The read-only **`presentationStyle`** property of the ClipboardItem interface returns a string indicating how an item should be presented.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle)
*/
readonly presentationStyle: PresentationStyle;
/**
* The read-only **`types`** property of the ClipboardItem interface returns an Array of MIME types available within the ClipboardItem.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types)
*/
readonly types: ReadonlyArray;
/**
* The **`getType()`** method of the ClipboardItem interface returns a Promise that resolves with a Blob of the requested MIME type or an error if the MIME type is not found.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType)
*/
getType(type: string): Promise;
}
declare var ClipboardItem: {
prototype: ClipboardItem;
new(items: Record>, options?: ClipboardItemOptions): ClipboardItem;
/**
* The **`supports()`** static method of the ClipboardItem interface returns true if the given MIME type is supported by the clipboard, and false otherwise.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static)
*/
supports(type: string): boolean;
};
/**
* A **`CloseEvent`** is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent)
*/
interface CloseEvent extends Event {
/**
* The **`code`** read-only property of the CloseEvent interface returns a WebSocket connection close code indicating the reason the connection was closed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/code)
*/
readonly code: number;
/**
* The **`reason`** read-only property of the CloseEvent interface returns the WebSocket connection close reason the server gave for closing the connection; that is, a concise human-readable prose explanation for the closure.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/reason)
*/
readonly reason: string;
/**
* The **`wasClean`** read-only property of the CloseEvent interface returns true if the connection closed cleanly.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/wasClean)
*/
readonly wasClean: boolean;
}
declare var CloseEvent: {
prototype: CloseEvent;
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
};
interface CloseWatcherEventMap {
"cancel": Event;
"close": Event;
}
/**
* The **`CloseWatcher`** interface allows a custom UI component with open and close semantics to respond to device-specific close actions in the same way as a built-in component.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher)
*/
interface CloseWatcher extends EventTarget {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/cancel_event) */
oncancel: ((this: CloseWatcher, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close_event) */
onclose: ((this: CloseWatcher, ev: Event) => any) | null;
/**
* The **`close()`** method of the CloseWatcher interface lets you skip any logic in the cancel event handler and immediately fire the close event. It then deactivates the close watcher as if destroy() was called.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close)
*/
close(): void;
/**
* The **`destroy()`** method of the CloseWatcher interface deactivates the close watcher. This is intended to be called if the relevant UI element is torn down in some other way than being closed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/destroy)
*/
destroy(): void;
/**
* The **`requestClose()`** method of the CloseWatcher interface fires a cancel event and if that event is not canceled with Event.preventDefault(), proceeds to fire a close event, and then finally deactivates the close watcher as if destroy() was called.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/requestClose)
*/
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;
};
/**
* The **`CommandEvent`** interface represents an event notifying the user when a button element with valid commandForElement and command attributes is about to invoke an interactive element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
*/
interface CommandEvent extends Event {
/**
* The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the command property at the time the event was dispatched.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
*/
readonly command: string;
/**
* The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
*/
readonly source: Element | null;
}
declare var CommandEvent: {
prototype: CommandEvent;
new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
};
/**
* The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Comment)
*/
interface Comment extends CharacterData {
}
declare var Comment: {
prototype: Comment;
new(data?: string): Comment;
};
/**
* The DOM **`CompositionEvent`** represents events that occur due to the user indirectly entering text.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompositionEvent)
*/
interface CompositionEvent extends UIEvent {
/**
* The **`data`** read-only property of the CompositionEvent interface returns the characters generated by the input method that raised the event; its exact nature varies depending on the type of event that generated the CompositionEvent object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompositionEvent/data)
*/
readonly data: string;
/**
* The **`initCompositionEvent()`** method of the CompositionEvent interface initializes the attributes of a CompositionEvent object instance.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompositionEvent/initCompositionEvent)
*/
initCompositionEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: WindowProxy | null, dataArg?: string): void;
}
declare var CompositionEvent: {
prototype: CompositionEvent;
new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent;
};
/**
* The **`CompressionStream`** interface of the Compression Streams API compresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
*/
interface CompressionStream extends GenericTransformStream {
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
readonly readable: ReadableStream>;
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream that accepts uncompressed data to be compressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
readonly writable: WritableStream;
}
declare var CompressionStream: {
prototype: CompressionStream;
new(format: CompressionFormat): CompressionStream;
};
/**
* The **`ConstantSourceNode`** interface—part of the Web Audio API—represents an audio source (based upon AudioScheduledSourceNode) whose output is single unchanging value. This makes it useful for cases in which you need a constant value coming in from an audio source. In addition, it can be used like a constructible AudioParam by automating the value of its offset or by connecting another node to it; see Controlling multiple parameters with ConstantSourceNode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode)
*/
interface ConstantSourceNode extends AudioScheduledSourceNode {
/**
* The read-only **`offset`** property of the ConstantSourceNode interface returns an AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode/offset)
*/
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;
};
/**
* The **`ContentVisibilityAutoStateChangeEvent`** interface is the event object for the contentvisibilityautostatechange event, which fires on any element with content-visibility: auto set on it when it starts or stops being relevant to the user and skipping its contents.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent)
*/
interface ContentVisibilityAutoStateChangeEvent extends Event {
/**
* The **`skipped`** read-only property of the ContentVisibilityAutoStateChangeEvent interface returns true if the user agent skips the element's contents, or false otherwise.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped)
*/
readonly skipped: boolean;
}
declare var ContentVisibilityAutoStateChangeEvent: {
prototype: ContentVisibilityAutoStateChangeEvent;
new(type: string, eventInitDict?: ContentVisibilityAutoStateChangeEventInit): ContentVisibilityAutoStateChangeEvent;
};
/**
* The **`ConvolverNode`** interface is an AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConvolverNode)
*/
interface ConvolverNode extends AudioNode {
/**
* The **`buffer`** property of the ConvolverNode interface represents a mono, stereo, or 4-channel AudioBuffer containing the (possibly multichannel) impulse response used by the ConvolverNode to create the reverb effect.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConvolverNode/buffer)
*/
buffer: AudioBuffer | null;
/**
* The **`normalize`** property of the ConvolverNode interface is a boolean that controls whether the impulse response from the buffer will be scaled by an equal-power normalization when the buffer attribute is set, or not.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConvolverNode/normalize)
*/
normalize: boolean;
}
declare var ConvolverNode: {
prototype: ConvolverNode;
new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode;
};
/**
* The **`CookieChangeEvent`** interface of the Cookie Store API is the event type of the change event fired at a CookieStore when any cookies are created or deleted.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieChangeEvent)
*/
interface CookieChangeEvent extends Event {
/**
* The **`changed`** read-only property of the CookieChangeEvent interface returns an array of the cookies that have been changed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieChangeEvent/changed)
*/
readonly changed: ReadonlyArray;
/**
* The **`deleted`** read-only property of the CookieChangeEvent interface returns an array of the cookies that have been deleted by the given CookieChangeEvent instance.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieChangeEvent/deleted)
*/
readonly deleted: ReadonlyArray;
}
declare var CookieChangeEvent: {
prototype: CookieChangeEvent;
new(type: string, eventInitDict?: CookieChangeEventInit): CookieChangeEvent;
};
interface CookieStoreEventMap {
"change": CookieChangeEvent;
}
/**
* The **`CookieStore`** interface of the Cookie Store API provides methods for getting and setting cookies asynchronously from either a page or a service worker.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore)
*/
interface CookieStore extends EventTarget {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/change_event) */
onchange: ((this: CookieStore, ev: CookieChangeEvent) => any) | null;
/**
* The **`delete()`** method of the CookieStore interface deletes a cookie that matches the given name or options object. The method expires the cookie by changing its date to one in the past.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/delete)
*/
delete(name: string): Promise;
delete(options: CookieStoreDeleteOptions): Promise;
/**
* The **`get()`** method of the CookieStore interface returns a Promise that resolves to a single cookie matching the given name or options object. The method will return the first cookie that matches.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/get)
*/
get(name: string): Promise;
get(options?: CookieStoreGetOptions): Promise;
/**
* The **`getAll()`** method of the CookieStore interface returns a Promise that resolves as an array of cookies that match the name or options passed to it. Passing no parameters will return all cookies for the current context.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/getAll)
*/
getAll(name: string): Promise;
getAll(options?: CookieStoreGetOptions): Promise;
/**
* The **`set()`** method of the CookieStore interface sets a cookie with the given name and value or options object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/set)
*/
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;
};
/**
* The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events. Call subscribe() on a particular service worker registration to receive change events.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
*/
interface CookieStoreManager {
/**
* The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
*/
getSubscriptions(): Promise;
/**
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
*/
subscribe(subscriptions: CookieStoreGetOptions[]): Promise;
/**
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
*/
unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise;
}
declare var CookieStoreManager: {
prototype: CookieStoreManager;
new(): CookieStoreManager;
};
/**
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)
*/
interface CountQueuingStrategy extends QueuingStrategy {
/**
* The read-only **`CountQueuingStrategy.highWaterMark`** property returns the total number of chunks that can be contained in the internal queue before backpressure is applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/highWaterMark)
*/
readonly highWaterMark: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/size) */
readonly size: QueuingStrategySize;
}
declare var CountQueuingStrategy: {
prototype: CountQueuingStrategy;
new(init: QueuingStrategyInit): CountQueuingStrategy;
};
/**
* The **`Credential`** interface of the Credential Management API provides information about an entity (usually a user) normally as a prerequisite to a trust decision.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential)
*/
interface Credential {
/**
* The **`id`** read-only property of the Credential interface returns a string containing the credential's identifier. This might be a GUID, username, or email address, or some other value, depending on the type of credential.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/id)
*/
readonly id: string;
/**
* The **`type`** read-only property of the Credential interface returns a string containing the credential's type. Valid values are password, federated, public-key, identity and otp.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/type)
*/
readonly type: string;
}
declare var Credential: {
prototype: Credential;
new(): Credential;
/**
* The **`isConditionalMediationAvailable()`** static method of the Credential interface returns a Promise which resolves to false.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/isConditionalMediationAvailable_static)
*/
isConditionalMediationAvailable(): Promise;
};
/**
* The **`CredentialsContainer`** interface of the Credential Management API exposes methods to request credentials and notify the user agent when events such as successful sign in or sign out happen. This interface is accessible from Navigator.credentials.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer)
*/
interface CredentialsContainer {
/**
* The **`create()`** method of the CredentialsContainer interface creates a new credential, which can then be stored and later retrieved using the navigator.credentials.get() method. The retrieved credential can then be used by a website to authenticate a user.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/create)
*/
create(options?: CredentialCreationOptions): Promise;
/**
* The **`get()`** method of the CredentialsContainer interface returns a Promise that fulfills with a single credential, which can then be used to authenticate a user to a website.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/get)
*/
get(options?: CredentialRequestOptions): Promise;
/**
* The **`preventSilentAccess()`** method of the CredentialsContainer interface sets a flag that specifies whether automatic log in is allowed for future visits to the current origin, then returns a Promise that resolves to undefined. For example, you might call this, after a user signs out of a website to ensure that they aren't automatically signed in on the next site visit. Mediation varies by origin, and is an added check point of browser stored credentials, informing a user of an account login status. This method is typically called after a user signs out of a website, ensuring this user's login information is not automatically passed on the next site visit.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/preventSilentAccess)
*/
preventSilentAccess(): Promise;
/**
* The **`store()`** method of the CredentialsContainer stores a set of credentials for the user inside a Credential instance, returning this in a Promise.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/store)
*/
store(credential: Credential): Promise;
}
declare var CredentialsContainer: {
prototype: CredentialsContainer;
new(): CredentialsContainer;
};
/**
* The **`Crypto`** interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto)
*/
interface Crypto {
/**
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
*/
readonly subtle: SubtleCrypto;
/**
* The **`Crypto.getRandomValues()`** method lets you get cryptographically strong random values. The array given as the parameter is filled with random numbers (random in its cryptographic meaning).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues)
*/
getRandomValues>(array: T): T;
/**
* The **`randomUUID()`** method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/randomUUID)
*/
randomUUID(): `${string}-${string}-${string}-${string}-${string}`;
}
declare var Crypto: {
prototype: Crypto;
new(): Crypto;
};
/**
* The **`CryptoKey`** interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods generateKey(), deriveKey(), importKey(), or unwrapKey().
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey)
*/
interface CryptoKey {
/**
* The read-only **`algorithm`** property of the CryptoKey interface returns an object describing the algorithm for which this key can be used, and any associated extra parameters.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/algorithm)
*/
readonly algorithm: KeyAlgorithm;
/**
* The read-only **`extractable`** property of the CryptoKey interface indicates whether or not the key may be extracted using SubtleCrypto.exportKey() or SubtleCrypto.wrapKey().
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/extractable)
*/
readonly extractable: boolean;
/**
* The read-only **`type`** property of the CryptoKey interface indicates which kind of key is represented by the object. It can have the following values:
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/type)
*/
readonly type: KeyType;
/**
* The read-only **`usages`** property of the CryptoKey interface indicates what can be done with the key.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages)
*/
readonly usages: KeyUsage[];
}
declare var CryptoKey: {
prototype: CryptoKey;
new(): CryptoKey;
};
/**
* The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements. To get an instance of it, use the window.customElements property. To create a scoped registry, use the CustomElementRegistry() constructor.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)
*/
interface CustomElementRegistry {
/**
* The **`define()`** method of the CustomElementRegistry interface adds a definition for a custom element to the custom element registry, mapping its name to the constructor which will be used to create it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/define)
*/
define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;
/**
* The **`get()`** method of the CustomElementRegistry interface returns the constructor for a previously-defined custom element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/get)
*/
get(name: string): CustomElementConstructor | undefined;
/**
* The **`getName()`** method of the CustomElementRegistry interface returns the name for a previously-defined custom element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
*/
getName(constructor: CustomElementConstructor): string | null;
/**
* The **`initialize()`** method of the CustomElementRegistry interface associates this registry with a DOM subtree, setting the customElementRegistry of each inclusive descendant that doesn't already have one, and attempting to upgrade any custom elements found.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize)
*/
initialize(root: Node): void;
/**
* The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/upgrade)
*/
upgrade(root: Node): void;
/**
* The **`whenDefined()`** method of the CustomElementRegistry interface returns a Promise that resolves when the named element is defined.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/whenDefined)
*/
whenDefined(name: string): Promise;
}
declare var CustomElementRegistry: {
prototype: CustomElementRegistry;
new(): CustomElementRegistry;
};
/**
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
*/
interface CustomEvent extends Event {
/**
* The read-only **`detail`** property of the CustomEvent interface returns any data passed when initializing the event.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)
*/
readonly detail: T;
/**
* The **`CustomEvent.initCustomEvent()`** method initializes a CustomEvent object. If the event has already been dispatched, this method does nothing.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/initCustomEvent)
*/
initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void;
}
declare var CustomEvent: {
prototype: CustomEvent;
new(type: string, eventInitDict?: CustomEventInit): CustomEvent;
};
/**
* The **`CustomStateSet`** interface of the Document Object Model stores a list of states for an autonomous custom element, and allows states to be added and removed from the set.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet)
*/
interface CustomStateSet {
forEach(callbackfn: (value: string, key: string, parent: CustomStateSet) => void, thisArg?: any): void;
}
declare var CustomStateSet: {
prototype: CustomStateSet;
new(): CustomStateSet;
};
/**
* The **`DOMException`** interface represents an abnormal event (called an exception) that occurs as a result of calling a method or accessing a property of a web API. This is how error conditions are described in web APIs.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)
*/
interface DOMException extends Error {
/**
* The **`code`** read-only property of the DOMException interface returns one of the legacy error code constants, or 0 if none match.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
*/
readonly code: number;
/**
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
*/
readonly message: string;
/**
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
*/
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;
};
/**
* The **`DOMImplementation`** interface represents an object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation)
*/
interface DOMImplementation {
/**
* The **`createDocument()`** method of the DOMImplementation interface creates and returns an XMLDocument.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocument)
*/
createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;
/**
* The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with DOMImplementation.createDocument upon document creation or can be put into the document via methods like Node.insertBefore() or Node.replaceChild().
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocumentType)
*/
createDocumentType(name: string, publicId: string, systemId: string): DocumentType;
/**
* The **`DOMImplementation.createHTMLDocument()`** method creates a new HTML Document.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument)
*/
createHTMLDocument(title?: string): Document;
/**
* The **`DOMImplementation.hasFeature()`** method returns a boolean flag indicating if a given feature is supported. It is deprecated and modern browsers return true in all cases.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/hasFeature)
*/
hasFeature(...args: any[]): true;
}
declare var DOMImplementation: {
prototype: DOMImplementation;
new(): DOMImplementation;
};
/**
* The **`DOMMatrix`** interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation. It is a mutable version of the DOMMatrixReadOnly interface. The interface is available inside web workers.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix)
*/
interface DOMMatrix extends DOMMatrixReadOnly {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
a: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
b: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
c: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
d: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
e: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
f: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m11: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m12: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m13: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m14: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m21: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m22: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m23: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m24: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m31: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m32: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m33: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m34: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m41: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m42: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m43: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
m44: number;
/**
* The **`invertSelf()`** method of the DOMMatrix interface inverts the original matrix. If the matrix cannot be inverted, the new matrix's components are all set to NaN and its is2D property is set to false.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf)
*/
invertSelf(): DOMMatrix;
/**
* The **`multiplySelf()`** method of the DOMMatrix interface multiplies a matrix by the otherMatrix parameter, computing the dot product of the original matrix and the specified matrix: Aâ‹…B. If no matrix is specified as the multiplier, the matrix is multiplied by a matrix in which every element is 0 except the bottom-right corner and the element immediately above and to its left: m33 and m34. These have the default value of 1.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/multiplySelf)
*/
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
/**
* The **`preMultiplySelf()`** method of the DOMMatrix interface modifies the matrix by pre-multiplying it with the specified DOMMatrix. This is equivalent to the dot product Bâ‹…A, where matrix A is the source matrix and B is the matrix given as an input to the method. If no matrix is specified as the multiplier, the matrix is multiplied by a matrix in which every element is 0 except the bottom-right corner and the element immediately above and to its left: m33 and m34. These have the default value of 1.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/preMultiplySelf)
*/
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
/**
* The **`rotateAxisAngleSelf()`** method of the DOMMatrix interface is a transformation method that rotates the source matrix by the given vector and angle, returning the altered matrix.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateAxisAngleSelf)
*/
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
/**
* The **`rotateFromVectorSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by rotating the matrix by the angle between the specified vector and (1, 0). The rotation angle is determined by the angle between the vector (1,0)T and (x,y)T in the clockwise direction, or (+/-)arctan(y/x). If x and y are both 0, the angle is specified as 0, and the matrix is not altered.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateFromVectorSelf)
*/
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
/**
* The **`rotateSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix. It rotates the source matrix around each of its axes by the specified number of degrees and returns the rotated matrix.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf)
*/
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
/**
* The **`scale3dSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor to all three axes, centered on the given origin, with a default origin of (0, 0, 0), returning the 3D-scaled matrix.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf)
*/
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
/**
* The **`scaleSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor, centered on the given origin, with a default origin of (0, 0), returning the scaled matrix.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf)
*/
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
/**
* The **`setMatrixValue()`** method of the DOMMatrix interface replaces the contents of the matrix with the matrix described by the specified transform or transforms, returning itself.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue)
*/
setMatrixValue(transformList: string): DOMMatrix;
/**
* The **`skewXSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix. It skews the source matrix by applying the specified skew transformation along the X-axis and returns the skewed matrix.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf)
*/
skewXSelf(sx?: number): DOMMatrix;
/**
* The **`skewYSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix. It skews the source matrix by applying the specified skew transformation along the Y-axis and returns the skewed matrix.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewYSelf)
*/
skewYSelf(sy?: number): DOMMatrix;
/**
* The **`translateSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix. It applies the specified vectors and returns the updated matrix. The default vector is [0, 0, 0].
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/translateSelf)
*/
translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix;
}
declare var DOMMatrix: {
prototype: DOMMatrix;
new(init?: string | number[]): DOMMatrix;
/**
* The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
*/
fromFloat32Array(array32: Float32Array): DOMMatrix;
/**
* The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
*/
fromFloat64Array(array64: Float64Array): DOMMatrix;
/**
* The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
*/
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
};
type SVGMatrix = DOMMatrix;
declare var SVGMatrix: typeof DOMMatrix;
type WebKitCSSMatrix = DOMMatrix;
declare var WebKitCSSMatrix: typeof DOMMatrix;
/**
* The **`DOMMatrixReadOnly`** interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations. The DOMMatrix interface — which is based upon DOMMatrixReadOnly—adds mutability, allowing you to alter the matrix after creating it.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly)
*/
interface DOMMatrixReadOnly {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly a: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly b: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly c: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly d: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly e: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly f: number;
/**
* The readonly **`is2D`** property of the DOMMatrixReadOnly interface is a Boolean flag that is true when the matrix is 2D. The value is true if the matrix was initialized as a 2D matrix and only 2D transformation operations were applied. Otherwise, the matrix is defined in 3D, and is2D is false.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D)
*/
readonly is2D: boolean;
/**
* The readonly **`isIdentity`** property of the DOMMatrixReadOnly interface is a Boolean whose value is true if the matrix is the identity matrix.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity)
*/
readonly isIdentity: boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m11: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m12: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m13: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m14: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m21: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m22: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m23: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m24: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m31: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m32: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m33: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m34: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m41: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m42: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m43: number;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
readonly m44: number;
/**
* The **`flipX()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the x-axis. This is equivalent to multiplying the matrix by DOMMatrix(-1, 0, 0, 1, 0, 0). The original matrix is not modified.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX)
*/
flipX(): DOMMatrix;
/**
* The **`flipY()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the y-axis. This is equivalent to multiplying the matrix by DOMMatrix(1, 0, 0, -1, 0, 0). The original matrix is not modified.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY)
*/
flipY(): DOMMatrix;
/**
* The **`inverse()`** method of the DOMMatrixReadOnly interface creates a new matrix which is the inverse of the original matrix. If the matrix cannot be inverted, the new matrix's components are all set to NaN and its is2D property is set to false. The original matrix is not changed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse)
*/
inverse(): DOMMatrix;
/**
* The **`multiply()`** method of the DOMMatrixReadOnly interface creates and returns a new matrix which is the dot product of the matrix and the otherMatrix parameter. If otherMatrix is omitted, the matrix is multiplied by a matrix in which every element is 0 except the bottom-right corner and the element immediately above and to its left: m33 and m34. These have the default value of 1. The original matrix is not modified.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply)
*/
multiply(other?: DOMMatrixInit): DOMMatrix;
/**
* The **`rotate()`** method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by rotating the source matrix around each of its axes by the specified number of degrees. The original matrix is not altered.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate)
*/
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
/**
* The **`rotateAxisAngle()`** method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by rotating the source matrix by the given vector and angle. The original matrix is not altered.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle)
*/
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
/**
* The **`rotateFromVector()`** method of the DOMMatrixReadOnly interface is returns a new DOMMatrix created by rotating the source matrix by the angle between the specified vector and (1, 0). The rotation angle is determined by the angle between the vector (1,0)T and (x,y)T in the clockwise direction, or (+/-)arctan(y/x). If x and y are both 0, the angle is specified as 0. The original matrix is not altered.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector)
*/
rotateFromVector(x?: number, y?: number): DOMMatrix;
/**
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
*/
scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
/**
* The **`scale3d()`** method of the DOMMatrixReadOnly interface creates a new matrix which is the result of a 3D scale transform being applied to the matrix. It returns a new DOMMatrix created by scaling the source 3d matrix by the given scale factor centered on the origin point specified by the origin parameters, with a default origin of (0, 0, 0). The original matrix is not modified.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d)
*/
scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
/** @deprecated */
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
/**
* The **`skewX()`** method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by applying the specified skew transformation to the source matrix along its x-axis. The original matrix is not modified.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX)
*/
skewX(sx?: number): DOMMatrix;
/**
* The **`skewY()`** method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by applying the specified skew transformation to the source matrix along its y-axis. The original matrix is not modified.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY)
*/
skewY(sy?: number): DOMMatrix;
/**
* The **`toFloat32Array()`** method of the DOMMatrixReadOnly interface returns a new Float32Array containing all 16 elements (m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44) which comprise the matrix. The elements are stored into the array as single-precision floating-point numbers in column-major (colexographical access, or "colex") order. (In other words, down the first column from top to bottom, then the second column, and so forth.)
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array)
*/
toFloat32Array(): Float32Array;
/**
* The **`toFloat64Array()`** method of the DOMMatrixReadOnly interface returns a new Float64Array containing all 16 elements (m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44) which comprise the matrix. The elements are stored into the array as double-precision floating-point numbers in column-major (colexographical access, or "colex") order. (In other words, down the first column from top to bottom, then the second column, and so forth.)
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array)
*/
toFloat64Array(): Float64Array;
/**
* The **`toJSON()`** method of the DOMMatrixReadOnly interface creates and returns a JSON object. The JSON object includes the 2D matrix elements a through f, the 16 elements of the 4X4 3D matrix, m[1-4][1-4], the boolean is2D property, and the boolean isIdentity property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON)
*/
toJSON(): any;
/**
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix. Neither the matrix nor the original point are altered.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
*/
transformPoint(point?: DOMPointInit): DOMPoint;
/**
* The **`translate()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate)
*/
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
toString(): string;
}
declare var DOMMatrixReadOnly: {
prototype: DOMMatrixReadOnly;
new(init?: string | number[]): DOMMatrixReadOnly;
/**
* The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
*/
fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
/**
* The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
*/
fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
/**
* The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
*/
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
};
/**
* The **`DOMParser`** interface provides the ability to parse XML or HTML source code from a string into a DOM Document.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser)
*/
interface DOMParser {
/**
* The **`parseFromString()`** method of the DOMParser interface parses an input containing either HTML or XML, returning a Document with the type given in the contentType property.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser/parseFromString)
*/
parseFromString(string: string, type: DOMParserSupportedType): Document;
}
declare var DOMParser: {
prototype: DOMParser;
new(): DOMParser;
};
/**
* A **`DOMPoint`** object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value. DOMPoint is based on DOMPointReadOnly but allows its properties' values to be changed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint)
*/
interface DOMPoint extends DOMPointReadOnly {
/**
* The DOMPoint interface's **`w`** property holds the point's perspective value, w, for a point in space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/w)
*/
w: number;
/**
* The DOMPoint interface's **`x`** property holds the horizontal coordinate, x, for a point in space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/x)
*/
x: number;
/**
* The DOMPoint interface's **`y`** property holds the vertical coordinate, y, for a point in space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/y)
*/
y: number;
/**
* The DOMPoint interface's **`z`** property specifies the depth coordinate of a point in space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/z)
*/
z: number;
}
declare var DOMPoint: {
prototype: DOMPoint;
new(x?: number, y?: number, z?: number, w?: number): DOMPoint;
/**
* The **`fromPoint()`** static method of the DOMPoint interface creates and returns a new mutable DOMPoint object given a source point.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/fromPoint_static)
*/
fromPoint(other?: DOMPointInit): DOMPoint;
};
type SVGPoint = DOMPoint;
declare var SVGPoint: typeof DOMPoint;
/**
* The **`DOMPointReadOnly`** interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly)
*/
interface DOMPointReadOnly {
/**
* The DOMPointReadOnly interface's **`w`** property holds the point's perspective value, w, for a read-only point in space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/w)
*/
readonly w: number;
/**
* The DOMPointReadOnly interface's **`x`** property holds the horizontal coordinate, x, for a read-only point in space. This property cannot be changed by JavaScript code in this read-only version of the DOMPoint object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/x)
*/
readonly x: number;
/**
* The DOMPointReadOnl**`y`** interface's y property holds the vertical coordinate, y, for a read-only point in space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/y)
*/
readonly y: number;
/**
* The DOMPointReadOnly interface's **`z`** property holds the depth coordinate, z, for a read-only point in space.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z)
*/
readonly z: number;
/**
* The **`matrixTransform()`** method of the DOMPointReadOnly interface applies a matrix transform specified as an object to the DOMPointReadOnly object, creating and returning a new DOMPointReadOnly object. Neither the matrix nor the point are altered.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform)
*/
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
/**
* The DOMPointReadOnly method **`toJSON()`** returns an object giving the JSON form of the point object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
*/
toJSON(): any;
}
declare var DOMPointReadOnly: {
prototype: DOMPointReadOnly;
new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;
/**
* The static DOMPointReadOnly method **`fromPoint()`** creates and returns a new DOMPointReadOnly object given a source point.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/fromPoint_static)
*/
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
};
/**
* A **`DOMQuad`** is a collection of four DOMPoints defining the corners of an arbitrary quadrilateral. Returning DOMQuads lets getBoxQuads() return accurate information even when arbitrary 2D or 3D transforms are present. It has a handy bounds attribute returning a DOMRectReadOnly for those cases where you just want an axis-aligned bounding rectangle.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad)
*/
interface DOMQuad {
/**
* The DOMQuad interface's **`p1`** property holds the DOMPoint object that represents one of the four corners of the DOMQuad. When created from DOMQuad.fromRect(), it is the point (x, y).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1)
*/
readonly p1: DOMPoint;
/**
* The DOMQuad interface's **`p2`** property holds the DOMPoint object that represents one of the four corners of the DOMQuad. When created from DOMQuad.fromRect(), it is the point (x + width, y).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2)
*/
readonly p2: DOMPoint;
/**
* The DOMQuad interface's **`p3`** property holds the DOMPoint object that represents one of the four corners of the DOMQuad. When created from DOMQuad.fromRect(), it is the point (x + width, y + height).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3)
*/
readonly p3: DOMPoint;
/**
* The DOMQuad interface's **`p4`** property holds the DOMPoint object that represents one of the four corners of the DOMQuad. When created from DOMQuad.fromRect(), it is the point (x, y + height).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4)
*/
readonly p4: DOMPoint;
/**
* The DOMQuad method **`getBounds()`** returns a DOMRect object representing the smallest rectangle that fully contains the DOMQuad object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds)
*/
getBounds(): DOMRect;
/**
* The DOMQuad method **`toJSON()`** returns a JSON representation of the DOMQuad object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
*/
toJSON(): any;
}
declare var DOMQuad: {
prototype: DOMQuad;
new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
/**
* The **`fromQuad()`** static method of the DOMQuad interface returns a new DOMQuad object based on the provided set of coordinates in the shape of another DOMQuad object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
*/
fromQuad(other?: DOMQuadInit): DOMQuad;
/**
* The **`fromRect()`** static method of the DOMQuad interface returns a new DOMQuad object based on the provided set of coordinates in the shape of a DOMRect object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
*/
fromRect(other?: DOMRectInit): DOMQuad;
};
/**
* A **`DOMRect`** describes the size and position of a rectangle.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect)
*/
interface DOMRect extends DOMRectReadOnly {
/**
* The **`height`** property of the DOMRect interface represents the height of the rectangle. The value can be negative.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height)
*/
height: number;
/**
* The **`width`** property of the DOMRect interface represents the width of the rectangle. The value can be negative.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/width)
*/
width: number;
/**
* The **`x`** property of the DOMRect interface represents the x-coordinate of the rectangle, which is the horizontal distance between the viewport's left edge and the rectangle's origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/x)
*/
x: number;
/**
* The **`y`** property of the DOMRect interface represents the y-coordinate of the rectangle, which is the vertical distance between the viewport's top edge and the rectangle's origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/y)
*/
y: number;
}
declare var DOMRect: {
prototype: DOMRect;
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
/**
* The **`fromRect()`** static method of the DOMRect object creates a new DOMRect object with a given location and dimensions.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
*/
fromRect(other?: DOMRectInit): DOMRect;
};
type SVGRect = DOMRect;
declare var SVGRect: typeof DOMRect;
/**
* The **`DOMRectList`** interface represents a collection of DOMRect objects, typically used to hold the rectangles associated with a particular element, like bounding boxes returned by methods such as getClientRects(). It provides access to each rectangle in the list via its index, along with a length property that indicates the total number of rectangles in the list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList)
*/
interface DOMRectList {
/**
* The read-only **`length`** property of the DOMRectList interface returns the number of DOMRect objects in the list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList/length)
*/
readonly length: number;
/**
* The DOMRectList method **`item()`** returns the DOMRect at the specified index within the list, or null if the index is out of range.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList/item)
*/
item(index: number): DOMRect | null;
[index: number]: DOMRect;
}
declare var DOMRectList: {
prototype: DOMRectList;
new(): DOMRectList;
};
/**
* The **`DOMRectReadOnly`** interface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly)
*/
interface DOMRectReadOnly {
/**
* The **`bottom`** read-only property of the DOMRectReadOnly interface returns the bottom coordinate value of the DOMRect. (Has the same value as y + height, or y if height is negative.)
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/bottom)
*/
readonly bottom: number;
/**
* The **`height`** read-only property of the DOMRectReadOnly interface represents the height of the DOMRect.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/height)
*/
readonly height: number;
/**
* The **`left`** read-only property of the DOMRectReadOnly interface returns the left coordinate value of the DOMRect. (Has the same value as x, or x + width if width is negative.)
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/left)
*/
readonly left: number;
/**
* The **`right`** read-only property of the DOMRectReadOnly interface returns the right coordinate value of the DOMRect. (Has the same value as x + width, or x if width is negative.)
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/right)
*/
readonly right: number;
/**
* The **`top`** read-only property of the DOMRectReadOnly interface returns the top coordinate value of the DOMRect. (Has the same value as y, or y + height if height is negative.)
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/top)
*/
readonly top: number;
/**
* The **`width`** read-only property of the DOMRectReadOnly interface represents the width of the DOMRect.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/width)
*/
readonly width: number;
/**
* The **`x`** read-only property of the DOMRectReadOnly interface represents the x coordinate of the DOMRect's origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/x)
*/
readonly x: number;
/**
* The **`y`** read-only property of the DOMRectReadOnly interface represents the y coordinate of the DOMRect's origin.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y)
*/
readonly y: number;
/**
* The DOMRectReadOnly method **`toJSON()`** returns a JSON representation of the DOMRectReadOnly object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/toJSON)
*/
toJSON(): any;
}
declare var DOMRectReadOnly: {
prototype: DOMRectReadOnly;
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
/**
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new DOMRectReadOnly object with a given location and dimensions.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
*/
fromRect(other?: DOMRectInit): DOMRectReadOnly;
};
/**
* The **`DOMStringList`** interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (DOMString).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList)
*/
interface DOMStringList {
/**
* The read-only **`length`** property indicates the number of strings in the DOMStringList.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/length)
*/
readonly length: number;
/**
* The **`contains()`** method returns a boolean indicating whether the given string is in the list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/contains)
*/
contains(string: string): boolean;
/**
* The **`item()`** method returns a string from a DOMStringList by index.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/item)
*/
item(index: number): string | null;
[index: number]: string;
}
declare var DOMStringList: {
prototype: DOMStringList;
new(): DOMStringList;
};
/**
* The **`DOMStringMap`** interface is used for the HTMLElement.dataset attribute, to represent data for custom attributes added to elements.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringMap)
*/
interface DOMStringMap {
[name: string]: string | undefined;
}
declare var DOMStringMap: {
prototype: DOMStringMap;
new(): DOMStringMap;
};
/**
* The **`DOMTokenList`** interface represents a set of space-separated tokens. Such a set is returned by Element.classList or HTMLLinkElement.relList, and many others.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList)
*/
interface DOMTokenList {
/**
* The read-only **`length`** property of the DOMTokenList interface is an integer representing the number of objects stored in the object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/length)
*/
readonly length: number;
/**
* The **`value`** property of the DOMTokenList interface is a stringifier that returns the value of the list serialized as a string, or clears and sets the list to the given value.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/value)
*/
value: string;
toString(): string;
/**
* The **`add()`** method of the DOMTokenList interface adds the given tokens to the list, omitting any that are already present.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/add)
*/
add(...tokens: string[]): void;
/**
* The **`contains()`** method of the DOMTokenList interface returns a boolean value — true if the underlying list contains the given token, otherwise false.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/contains)
*/
contains(token: string): boolean;
/**
* The **`item()`** method of the DOMTokenList interface returns an item in the list, determined by its position in the list, its index.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/item)
*/
item(index: number): string | null;
/**
* The **`remove()`** method of the DOMTokenList interface removes the specified tokens from the list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/remove)
*/
remove(...tokens: string[]): void;
/**
* The **`replace()`** method of the DOMTokenList interface replaces an existing token with a new token. If the first token doesn't exist, replace() returns false immediately, without adding the new token to the token list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/replace)
*/
replace(token: string, newToken: string): boolean;
/**
* The **`supports()`** method of the DOMTokenList interface returns true if a given token is in the associated attribute's supported tokens. This method is intended to support feature detection.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/supports)
*/
supports(token: string): boolean;
/**
* The **`toggle()`** method of the DOMTokenList interface removes an existing token from the list and returns false. If the token doesn't exist it's added and the function returns true.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/toggle)
*/
toggle(token: string, force?: boolean): boolean;
forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void;
[index: number]: string;
}
declare var DOMTokenList: {
prototype: DOMTokenList;
new(): DOMTokenList;
};
/**
* The **`DataTransfer`** object is used to hold any data transferred between contexts, such as a drag and drop operation, or clipboard read/write. It may hold one or more data items, each of one or more data types.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer)
*/
interface DataTransfer {
/**
* The **`DataTransfer.dropEffect`** property controls the feedback (typically visual) the user is given during a drag and drop operation. It will affect which cursor is displayed while dragging. For example, when the user hovers over a target drop element, the browser's cursor may indicate which type of operation will occur.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/dropEffect)
*/
dropEffect: "none" | "copy" | "link" | "move";
/**
* The **`DataTransfer.effectAllowed`** property specifies the effect that is allowed for a drag operation. The copy operation is used to indicate that the data being dragged will be copied from its present location to the drop location. The move operation is used to indicate that the data being dragged will be moved, and the link operation is used to indicate that some form of relationship or connection will be created between the source and drop locations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/effectAllowed)
*/
effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized";
/**
* The **`files`** read-only property of DataTransfer objects is a list of the files in the drag operation. If the operation includes no files, the list is empty.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/files)
*/
readonly files: FileList;
/**
* The read-only **`items`** property of the DataTransfer interface is a list of the data transfer items in a drag operation. The list includes one item for each item in the operation and if the operation had no items, the list is empty.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/items)
*/
readonly items: DataTransferItemList;
/**
* The **`DataTransfer.types`** read-only property returns the available types that exist in the items.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/types)
*/
readonly types: ReadonlyArray;
/**
* The **`DataTransfer.clearData()`** method removes the drag operation's drag data for the given type. If data for the given type does not exist, this method does nothing.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/clearData)
*/
clearData(format?: string): void;
/**
* The **`DataTransfer.getData()`** method retrieves drag data (as a string) for the specified type. If the drag operation does not include data, this method returns an empty string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/getData)
*/
getData(format: string): string;
/**
* The **`DataTransfer.setData()`** method sets the drag operation's drag data to the specified data and type. If data for the given type does not exist, it is added at the end of the drag data store, such that the last item in the types list will be the new type. If data for the given type already exists, the existing data is replaced in the same position. That is, the order of the types list is not changed when replacing data of the same type.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/setData)
*/
setData(format: string, data: string): void;
/**
* When a drag occurs, a translucent image is generated from the drag target (the element the dragstart event is fired at), and follows the mouse pointer during the drag. This image is created automatically, so you do not need to create it yourself. However, if a custom image is desired, the **`DataTransfer.setDragImage()`** method can be used to set the custom image to be used. The image will typically be an element but it can also be a or any other visible element.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/setDragImage)
*/
setDragImage(image: Element, x: number, y: number): void;
}
declare var DataTransfer: {
prototype: DataTransfer;
new(): DataTransfer;
};
/**
* The **`DataTransferItem`** object represents one drag data item. During a drag operation, each DragEvent has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem)
*/
interface DataTransferItem {
/**
* The read-only **`DataTransferItem.kind`** property returns the kind–a string or a file–of the DataTransferItem object representing the drag data item.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/kind)
*/
readonly kind: string;
/**
* The read-only **`DataTransferItem.type`** property returns the type (format) of the DataTransferItem object representing the drag data item. The type is a Unicode string generally given by a MIME type, although a MIME type is not required.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/type)
*/
readonly type: string;
/**
* If the item is a file, the **`DataTransferItem.getAsFile()`** method returns the drag data item's File object. If the item is not a file, this method returns null.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/getAsFile)
*/
getAsFile(): File | null;
/**
* The **`DataTransferItem.getAsString()`** method invokes the given callback with the drag data item's string data as the argument if the item's kind is a Plain unicode string (i.e., kind is string).
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/getAsString)
*/
getAsString(callback: FunctionStringCallback | null): void;
/**
* If the item described by the DataTransferItem is a file, **`webkitGetAsEntry()`** returns a FileSystemFileEntry or FileSystemDirectoryEntry representing it. If the item isn't a file, null is returned.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/webkitGetAsEntry)
*/
webkitGetAsEntry(): FileSystemEntry | null;
}
declare var DataTransferItem: {
prototype: DataTransferItem;
new(): DataTransferItem;
};
/**
* The **`DataTransferItemList`** object is a list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList)
*/
interface DataTransferItemList {
/**
* The read-only **`length`** property of the DataTransferItemList interface returns the number of items currently in the drag item list.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/length)
*/
readonly length: number;
/**
* The **`DataTransferItemList.add()`** method creates a new DataTransferItem using the specified data and adds it to the drag data list. The item may be a File or a string of a given type. If the item is successfully added to the list, the newly-created DataTransferItem object is returned.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/add)
*/
add(data: string, type: string): DataTransferItem | null;
add(data: File): DataTransferItem | null;
/**
* The DataTransferItemList method **`clear()`** removes all DataTransferItem objects from the drag data items list, leaving the list empty.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/clear)
*/
clear(): void;
/**
* The **`DataTransferItemList.remove()`** method removes the DataTransferItem at the specified index from the list. If the index is less than zero or greater than one less than the length of the list, the list will not be changed.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/remove)
*/
remove(index: number): void;
[index: number]: DataTransferItem;
}
declare var DataTransferItemList: {
prototype: DataTransferItemList;
new(): DataTransferItemList;
};
/**
* The **`DecompressionStream`** interface of the Compression Streams API decompresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
*/
interface DecompressionStream extends GenericTransformStream {
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
readonly readable: ReadableStream>;
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream that accepts compressed data to be decompressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
readonly writable: WritableStream;
}
declare var DecompressionStream: {
prototype: DecompressionStream;
new(format: CompressionFormat): DecompressionStream;
};
/**
* The **`DelayNode`** interface represents a delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DelayNode)
*/
interface DelayNode extends AudioNode {
/**
* The **`delayTime`** property of the DelayNode interface is an a-rate AudioParam representing the amount of delay to apply.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DelayNode/delayTime)
*/
readonly delayTime: AudioParam;
}
declare var DelayNode: {
prototype: DelayNode;
new(context: BaseAudioContext, options?: DelayOptions): DelayNode;
};
/**
* The **`DeviceMotionEvent`** interface of the Device Orientation Events provides web developers with information about the speed of changes for the device's position and orientation.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent)
*/
interface DeviceMotionEvent extends Event {
/**
* The **`acceleration`** read-only property of the DeviceMotionEvent interface returns the acceleration recorded by the device, in meters per second squared (m/s²). This value does not include the effect of the gravitational force, in contrast to DeviceMotionEvent.accelerationIncludingGravity.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent/acceleration)
*/
readonly acceleration: DeviceMotionEventAcceleration | null;
/**
* The **`accelerationIncludingGravity`** read-only property of the DeviceMotionEvent interface returns the amount of acceleration recorded by the device, in meters per second squared (m/s²). Unlike DeviceMotionEvent.acceleration which compensates for the influence of gravity, its value is the sum of the acceleration of the device as induced by the user and an acceleration equal and opposite to that caused by gravity. In other words, it measures the g-force. In practice, this value represents the raw data measured by an accelerometer.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent/accelerationIncludingGravity)
*/
readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null;
/**
* The **`interval`** read-only property of the DeviceMotionEvent interface returns the interval, in milliseconds, at which data is obtained from the underlying hardware. You can use this to determine the granularity of motion events.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent/interval)
*/
readonly interval: number;
/**
* The **`rotationRate`** read-only property of the DeviceMotionEvent interface returns the rate at which the device is rotating around each of its axes in degrees per second.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent/rotationRate)
*/
readonly rotationRate: DeviceMotionEventRotationRate | null;
}
declare var DeviceMotionEvent: {
prototype: DeviceMotionEvent;
new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;
};
/**
* The **`DeviceMotionEventAcceleration`** interface of the Device Orientation Events provides information about the amount of acceleration the device is experiencing along all three axes.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventAcceleration)
*/
interface DeviceMotionEventAcceleration {
/**
* The **`x`** read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the X axis in a DeviceMotionEventAcceleration object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventAcceleration/x)
*/
readonly x: number | null;
/**
* The **`y`** read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the Y axis in a DeviceMotionEventAcceleration object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventAcceleration/y)
*/
readonly y: number | null;
/**
* The **`z`** read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the Z axis in a DeviceMotionEventAcceleration object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventAcceleration/z)
*/
readonly z: number | null;
}
/**
* A **`DeviceMotionEventRotationRate`** interface of the Device Orientation Events provides information about the rate at which the device is rotating around all three axes.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventRotationRate)
*/
interface DeviceMotionEventRotationRate {
/**
* The **`alpha`** read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the Z axis, in degrees per second.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventRotationRate/alpha)
*/
readonly alpha: number | null;
/**
* The **`beta`** read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the X axis, in degrees per second.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventRotationRate/beta)
*/
readonly beta: number | null;
/**
* The **`gamma`** read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the Y axis, in degrees per second.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventRotationRate/gamma)
*/
readonly gamma: number | null;
}
/**
* The **`DeviceOrientationEvent`** interface of the Device Orientation Events provides web developers with information from the physical orientation of the device running the web page.
* Available only in secure contexts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent)
*/
interface DeviceOrientationEvent extends Event {
/**
* The **`absolute`** read-only property of the DeviceOrientationEvent interface indicates whether or not the device is providing orientation data absolutely (that is, in reference to the Earth's coordinate frame) or using some arbitrary frame determined by the device. See Orientation and motion data explained for details.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent/absolute)
*/
readonly absolute: boolean;
/**
* The **`alpha`** read-only property of the DeviceOrientationEvent interface returns the rotation of the device around the Z axis; that is, the number of degrees by which the device is being twisted around the center of the screen. See Orientation and motion data explained for details.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent/alpha)
*/
readonly alpha: number | null;
/**
* The **`beta`** read-only property of the DeviceOrientationEvent interface returns the rotation of the device around the X axis; that is, the number of degrees, ranged between -180 and 180, by which the device is tipped forward or backward. See Orientation and motion data explained for details.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent/beta)
*/
readonly beta: number | null;
/**
* The **`gamma`** read-only property of the DeviceOrientationEvent interface returns the rotation of the device around the Y axis; that is, the number of degrees, ranged between -90 and 90, by which the device is tilted left or right. See Orientation and motion data explained for details.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent/gamma)
*/
readonly gamma: number | null;
}
declare var DeviceOrientationEvent: {
prototype: DeviceOrientationEvent;
new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
};
/** Available only in secure contexts. */
interface DigitalCredential extends Credential {
readonly data: any;
readonly protocol: DigitalCredentialPresentationProtocol;
toJSON(): any;
}
declare var DigitalCredential: {
prototype: DigitalCredential;
new(): DigitalCredential;
userAgentAllowsProtocol(protocol: string): boolean;
};
interface DocumentEventMap extends GlobalEventHandlersEventMap {
"DOMContentLoaded": Event;
"fullscreenchange": Event;
"fullscreenerror": Event;
"pointerlockchange": Event;
"pointerlockerror": Event;
"readystatechange": Event;
"visibilitychange": Event;
}
/**
* The **`Document`** interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document)
*/
interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {
/**
* The **`URL`** read-only property of the Document interface returns the document location as a string.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/URL)
*/
readonly URL: string;
/**
* The **`activeViewTransition`** read-only property of the Document interface returns a ViewTransition instance representing the view transition currently active on the document.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeViewTransition)
*/
readonly activeViewTransition: ViewTransition | null;
/**
* Returns or sets the color of an active link in the document body. A link is active during the time between mousedown and mouseup events.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/alinkColor)
*/
alinkColor: string;
/**
* The Document interface's read-only **`all`** property returns an HTMLAllCollection rooted at the document node.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/all)
*/
readonly all: HTMLAllCollection;
/**
* The **`anchors`** read-only property of the Document interface returns a list of all of the anchors in the document.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/anchors)
*/
readonly anchors: HTMLCollectionOf;
/**
* The **`applets`** property of the Document returns an empty HTMLCollection. This property is kept only for compatibility reasons; in older versions of browsers, it returned a list of the applets within a document.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/applets)
*/
readonly applets: HTMLCollection;
/**
* The deprecated **`bgColor`** property gets or sets the background color of the current document.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/bgColor)
*/
bgColor: string;
/**
* The **`Document.body`** property represents the or node of the current document, or null if no such element exists.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/body)
*/
body: HTMLElement;
/**
* The **`Document.characterSet`** read-only property returns the character encoding of the document that it's currently rendered with.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/characterSet)
*/
readonly characterSet: string;
/**
* @deprecated This is a legacy alias of `characterSet`.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/characterSet)
*/
readonly charset: string;
/**
* The **`Document.compatMode`** read-only property indicates whether the document is rendered in Quirks mode or Standards mode.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/compatMode)
*/
readonly compatMode: string;
/**
* The **`Document.contentType`** read-only property returns the MIME type that the document is being rendered as. This may come from HTTP headers or other sources of MIME information, and might be affected by automatic type conversions performed by either the browser or extensions.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/contentType)
*/
readonly contentType: string;
/**
* The Document property **`cookie`** lets you read and write cookies associated with the document. It serves as a getter and setter for the actual values of the cookies.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/cookie)
*/
cookie: string;
/**
* The **`Document.currentScript`** property returns the