import type * as Definition from './runtime.js' declare const Artplayer: typeof Definition.default // eslint-disable-next-line ts/no-redeclare -- CJS constructor value and instance type share the export. type Artplayer = Definition.default // eslint-disable-next-line ts/no-redeclare, ts/no-namespace -- Named types share the existing CommonJS export. declare namespace Artplayer { type ArtplayerConstructor = Definition.ArtplayerConstructor type OptionInput = Definition.OptionInput type Option = Definition.Option type Events = Definition.Events type Plugins = Definition.Plugins type PluginFactory = Definition.PluginFactory type PluginHost = Definition.PluginHost type ProxyHost = Definition.ProxyHost type CustomTypeHost = Definition.CustomTypeHost type LayerHost = Definition.LayerHost type ControlHost = Definition.ControlHost type ContextmenuHost = Definition.ContextmenuHost type PluginRegistration = Definition.PluginRegistration type Component = Definition.Component type Controls = Definition.Controls type Setting = Definition.Setting type Subtitle = Definition.Subtitle type Notice = Definition.Notice type Utils = Definition.Utils type MediaSurface = Definition.MediaSurface type NativeMedia = Definition.NativeMedia type CanvasMedia = Definition.CanvasMedia type Player = Definition.Player type Template = Definition.Template type Icons = Definition.Icons type Config = Definition.Config type EventRegistry = Definition.EventRegistry type Storage = Definition.Storage type I18n = Definition.I18n type Hotkey = Definition.Hotkey type Languages = Definition.Languages type Dictionary = Definition.Dictionary type QualityItem = Definition.QualityItem type SettingItem = Definition.SettingItem type ComponentInput = Definition.ComponentInput type ComponentOption = Definition.ComponentOption type ControlInput = Definition.ControlInput type ControlOption = Definition.ControlOption type SelectorItem = Definition.SelectorItem type SubtitleCue = Definition.SubtitleCue type SubtitleOption = Definition.SubtitleOption type Emitter> = Definition.Emitter } // eslint-disable-next-line no-restricted-syntax -- Preserve the actual CommonJS constructor export. export = Artplayer