import type { TemplateHandlers } from './stampino.bundled.js'; import { ReactiveElement, PropertyValues, ReactiveControllerHost } from '@lit/reactive-element'; /** * @element * * @attr {Boolean|string} 'no-shadow' - When set, the element will render to a `
` in its light DOM. If set with a string, the string will be the div's class name. */ export declare class StampinoRender extends ReactiveElement implements ReactiveControllerHost { private static isQueryable; templateHandlers: TemplateHandlers; /** * Template element to render. Can either be a light-DOM child of the element, * or referenced by ID with the `template` attribute. * * Templates are [stampino](https://npm.im/stampino) templates using [jexpr](https://npm.im/jexpr) * @attr {string} template * @example Referencing a template by ID * ```html * * * ``` */ get template(): HTMLTemplateElement | null; protected createRenderRoot(): ShadowRoot | HTMLElement; protected update(changed: PropertyValues): void; private getElementByIdFromRoot; private getTemplateFromRoot; /** * Call to render the element's template using the model. * Rendering is synchronous and incremental. * * @summary Render the element's template with its model. */ render(): void; /** `querySelector` within the render root. */ $(sel: string): E | null; $(sel: K): SVGElementTagNameMap[K] | null; $(sel: K): HTMLElementTagNameMap[K] | null; /** `querySelectorAll` within the render root. */ $$(sel: string): NodeListOf; $$(sel: K): NodeListOf; $$(sel: K): NodeListOf; }