import { EventCallbackType, ScrollingTextEventMap } from "@/core/types"; declare const ClassToExtend: typeof HTMLElement; /** * @description: Web Component for ScrollingText * @extends HTMLElement * @example * *
First text content
*
Second text content
*
Third text content
*
*/ declare class ScrollingTextElement extends ClassToExtend { private _scrollingText; private _originalChildren; static get observedAttributes(): string[]; constructor(); connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void; private _initialize; /** * @description: Start the scrolling text */ start(): void; /** * @description: Pause the scrolling text */ pause(): void; /** * @description: Stop the scrolling text */ stop(): void; /** * @description: Dispose the scrolling text */ dispose(): void; /** * @description: Register event listener * @param eventName Event name * @param callback Callback function */ on(eventName: K, callback: EventCallbackType): void; /** * @description: Remove event listener * @param eventName Event name * @param callback Callback function */ off(eventName: K, callback: EventCallbackType): void; } declare const register: () => void; export { ScrollingTextElement, register };