<?php

// AUTOMATICALLY GENERATED.  DO NOT EDIT.
// Use `composer build` to regenerate.

namespace Wikimedia\IDLeDOM\Stub;

use Exception;
use Wikimedia\IDLeDOM\HTMLElement;
use Wikimedia\IDLeDOM\HTMLFormElement;
use Wikimedia\IDLeDOM\NodeList;
use Wikimedia\IDLeDOM\ValidityState;

trait HTMLInputElement {

	// Underscore is used to avoid conflicts with DOM-reserved names
	// phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
	// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName

	/**
	 * @return Exception
	 */
	abstract protected function _unimplemented(): Exception;

	// phpcs:enable

	/**
	 * @return bool
	 */
	public function getChecked(): bool {
		throw self::_unimplemented();
	}

	/**
	 * @param bool $val
	 */
	public function setChecked( bool $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return HTMLFormElement|null
	 */
	public function getForm() {
		throw self::_unimplemented();
	}

	/**
	 * @return bool
	 */
	public function getIndeterminate(): bool {
		throw self::_unimplemented();
	}

	/**
	 * @param bool $val
	 */
	public function setIndeterminate( bool $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return HTMLElement|null
	 */
	public function getList() {
		throw self::_unimplemented();
	}

	/**
	 * @return int
	 */
	public function getMaxLength(): int {
		throw self::_unimplemented();
	}

	/**
	 * @param int $val
	 */
	public function setMaxLength( int $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return int
	 */
	public function getMinLength(): int {
		throw self::_unimplemented();
	}

	/**
	 * @param int $val
	 */
	public function setMinLength( int $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return int
	 */
	public function getSize(): int {
		throw self::_unimplemented();
	}

	/**
	 * @param int $val
	 */
	public function setSize( int $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getSrc(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param string $val
	 */
	public function setSrc( string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getValue(): string {
		throw self::_unimplemented();
	}

	/**
	 * @param ?string $val
	 */
	public function setValue( ?string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return float
	 */
	public function getValueAsNumber(): float {
		throw self::_unimplemented();
	}

	/**
	 * @param float $val
	 */
	public function setValueAsNumber( float $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @param int $n
	 * @return void
	 */
	public function stepUp( int $n = 1 ): void {
		throw self::_unimplemented();
	}

	/**
	 * @param int $n
	 * @return void
	 */
	public function stepDown( int $n = 1 ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return bool
	 */
	public function getWillValidate(): bool {
		throw self::_unimplemented();
	}

	/**
	 * @return ValidityState
	 */
	public function getValidity() {
		throw self::_unimplemented();
	}

	/**
	 * @return string
	 */
	public function getValidationMessage(): string {
		throw self::_unimplemented();
	}

	/**
	 * @return bool
	 */
	public function checkValidity(): bool {
		throw self::_unimplemented();
	}

	/**
	 * @return bool
	 */
	public function reportValidity(): bool {
		throw self::_unimplemented();
	}

	/**
	 * @param string $error
	 * @return void
	 */
	public function setCustomValidity( string $error ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return NodeList|null
	 */
	public function getLabels() {
		throw self::_unimplemented();
	}

	/**
	 * @return void
	 */
	public function select(): void {
		throw self::_unimplemented();
	}

	/**
	 * @return ?int
	 */
	public function getSelectionStart(): ?int {
		throw self::_unimplemented();
	}

	/**
	 * @param ?int $val
	 */
	public function setSelectionStart( ?int $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return ?int
	 */
	public function getSelectionEnd(): ?int {
		throw self::_unimplemented();
	}

	/**
	 * @param ?int $val
	 */
	public function setSelectionEnd( ?int $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @return ?string
	 */
	public function getSelectionDirection(): ?string {
		throw self::_unimplemented();
	}

	/**
	 * @param ?string $val
	 */
	public function setSelectionDirection( ?string $val ): void {
		throw self::_unimplemented();
	}

	/**
	 * @param string $replacement
	 * @return void
	 */
	public function setRangeText( string $replacement ): void {
		throw self::_unimplemented();
	}

	/**
	 * @param int $start
	 * @param int $end
	 * @param ?string $direction
	 * @return void
	 */
	public function setSelectionRange( int $start, int $end, ?string $direction = null ): void {
		throw self::_unimplemented();
	}

}
