import { TargetedEvent } from './jsx/types.ts'; /** * The base public interface for all `@arcgis/lumina` components */ export declare class PublicLitElement extends HTMLElement { private el; ["@eventTypes"]: Record; /** * Web components are not constructable via the `new` operator. * Instead use `document.createElement("some-tag-name")`. */ protected constructor(); /** * Creates a promise that resolves once the component is fully loaded. * * @example * const map = document.createElement("arcgis-map"); * document.body.append(map); * map.componentOnReady().then(() => { * console.log("Map is ready to go!"); * }); */ componentOnReady(): Promise; addEventListener(type: K, listener: (this: this, event: TargetedEvent) => unknown, options?: AddEventListenerOptions | boolean): void; addEventListener(type: K, listener: (this: this, event: HTMLElementEventMap[K]) => unknown, options?: AddEventListenerOptions | boolean): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: AddEventListenerOptions | boolean): void; removeEventListener(type: K, listener: (this: this, event: TargetedEvent) => unknown, options?: EventListenerOptions | boolean): void; removeEventListener(type: K, listener: (this: this, event: HTMLElementEventMap[K]) => unknown, options?: EventListenerOptions | boolean): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: EventListenerOptions | boolean): void; }