<?php

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

namespace Wikimedia\IDLeDOM\Stub;

use Exception;

trait HTMLImageElement {
	// use \Wikimedia\IDLeDOM\Stub\CrossOrigin;
	// use \Wikimedia\IDLeDOM\Stub\ReferrerPolicy;

	// 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 string
	 */
	public function getSrc(): string {
		throw self::_unimplemented();
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}
