/** * @file * * Mock of Obsidian's `DropdownComponent`, a select control. */ import type { DropdownComponent as DropdownComponentOriginal } from 'obsidian'; import { ValueComponent } from './ValueComponent.cjs'; /** * Mock of Obsidian's `DropdownComponent`, backed by a real `` element the component renders. */ selectEl: HTMLSelectElement; /** * Creates an empty dropdown inside a container. * * @param containerEl - The element the `` is appended to. * @returns The new dropdown. */ static create__(containerEl: HTMLElement): DropdownComponent; /** * Mock-only: views a value typed as Obsidian's `DropdownComponent` as this mock. The numbered subclass variant of * `fromOriginalType__`. * * @param value - The value typed as the original `DropdownComponent`. * @returns The same object, typed as the mock. */ static fromOriginalType3__(value: DropdownComponentOriginal): DropdownComponent; /** * Appends an `