import HTMLCollection from '../element/HTMLCollection.js'; import IHTMLSelectElement from './IHTMLSelectElement.js'; import IHTMLOptionElement from '../html-option-element/IHTMLOptionElement.js'; import IHTMLOptionsCollection from './IHTMLOptionsCollection.js'; /** * HTML Options Collection. * * Reference: * https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionsCollection. */ export default class HTMLOptionsCollection extends HTMLCollection implements IHTMLOptionsCollection { #private; /** * * @param selectElement */ constructor(selectElement: IHTMLSelectElement); /** * Returns selectedIndex. * * @returns SelectedIndex. */ get selectedIndex(): number; /** * Sets selectedIndex. * * @param selectedIndex SelectedIndex. */ set selectedIndex(selectedIndex: number); /** * Returns item by index. * * @param index Index. */ item(index: number): IHTMLOptionElement; /** * * @param element * @param before */ add(element: IHTMLOptionElement, before?: number | IHTMLOptionElement): void; /** * Removes indexed element from collection. * * @param index Index. */ remove(index: number): void; } //# sourceMappingURL=HTMLOptionsCollection.d.ts.map