declare class WebComponentBase extends HTMLElement { #private; [key: string]: any; /** * Schedule a repaint on the next animation frame, coalescing multiple * calls within the same frame into a single `paint()` invocation. * Subclasses that use canvas rendering should override `paint()`. */ scheduleRepaint(): void; /** * Cheap array comparison: same length + same first/last element. * Catches the common case where the reconciler re-sets identical data * every frame, without a full deep-equality scan. * * @param key Optional property key to compare on object arrays * (e.g. "time" for CandleDataPoint[], "index" for markers). */ arraysMatch(a: T[], b: T[], key?: keyof T): boolean; static get observedAttributes(): string[]; static defaultAttributeValue(_name: string): unknown; static parseAttributeValue(_name: string, value: string | null): unknown; constructor(); connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(attr: string, _oldValue: string | null, newValue: string | null): void; emitEvent(name: string, detail: unknown): void; allAttributesChangedCallback(_attributes: Record): void; connectElementWithEvent(elementId: string, eventStr: string, methodCallStr: string): void; } export { WebComponentBase as default, WebComponentBase };