import HTMLElement from '../html-element/HTMLElement.cjs'; import * as PropertySymbol from '../../PropertySymbol.cjs'; import HTMLFormElement from '../html-form-element/HTMLFormElement.cjs'; import Event from '../../event/Event.cjs'; import HTMLInputElement from '../html-input-element/HTMLInputElement.cjs'; import HTMLButtonElement from '../html-button-element/HTMLButtonElement.cjs'; import HTMLMeterElement from '../html-meter-element/HTMLMeterElement.cjs'; import HTMLOutputElement from '../html-output-element/HTMLOutputElement.cjs'; import HTMLProgressElement from '../html-progress-element/HTMLProgressElement.cjs'; import HTMLSelectElement from '../html-select-element/HTMLSelectElement.cjs'; import HTMLTextAreaElement from '../html-text-area-element/HTMLTextAreaElement.cjs'; /** * HTML Label Element. * * Reference: * https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement. */ export default class HTMLLabelElement extends HTMLElement { cloneNode: (deep?: boolean) => HTMLLabelElement; /** * Returns a string containing the ID of the labeled control. This reflects the "for" attribute. * * @returns ID of the labeled control. */ get htmlFor(): string; /** * Sets a string containing the ID of the labeled control. This reflects the "for" attribute. * * @param htmlFor ID of the labeled control. */ set htmlFor(htmlFor: string); /** * Returns an HTML element representing the control with which the label is associated. * * @returns Control element. */ get control(): HTMLInputElement | HTMLButtonElement | HTMLMeterElement | HTMLOutputElement | HTMLProgressElement | HTMLSelectElement | HTMLTextAreaElement | null; /** * Returns the parent form element. * * @returns Form. */ get form(): HTMLFormElement | null; /** * @override */ [PropertySymbol.cloneNode](deep?: boolean): HTMLLabelElement; /** * @override */ dispatchEvent(event: Event): boolean; } //# sourceMappingURL=HTMLLabelElement.d.ts.map