//#region src/element.d.ts /** * `HTMLElement` does not exist on the server, and `class X extends HTMLElement` * is evaluated as soon as the module is imported. Without this fallback the * module throws during SSR in Nuxt, Next, SvelteKit, Astro and Qwik — before * any of the guards below get a chance to run. */ declare const ElementBase: typeof HTMLElement; /** * `` — the clock as a custom element, for Svelte, Solid, Angular, * Astro, or plain HTML. * * Deliberately light DOM: the clock is themed through inherited `--cui-*` * custom properties and a stylesheet you import yourself, and a shadow root * would cut both off. * * ```html * * ``` * * Passing `hours` and `minutes` renders a static clock instead of a live one. */ declare class ClockUIElement extends ElementBase { static get observedAttributes(): string[]; private clock; connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(): void; private readOptions; private render; } /** * Register the element. Safe to call more than once. * * @param {string} [tagName] - Tag to register under * * @returns {void} */ declare function defineClockUI(tagName?: string): void; //#endregion export { ClockUIElement, defineClockUI };