import type { RendererOptions, StandardSiteDocument } from "@standard-reader/renderer-core"; import { LitElement } from "lit"; import type { LitComponentsInput } from "./types"; /** * `` — a custom element that renders a Standard Site document * with the Lit renderer. Set the `document` property (and optionally `options` * and `components`); the element renders into light DOM so page styles apply. * * ```ts * const el = document.createElement("standard-document"); * el.document = { content, authorDid }; * el.components = { shared: { image: (p) => html`` } }; * host.append(el); * ``` */ export declare class StandardDocumentElement extends LitElement { static properties: { document: { attribute: boolean; }; options: { attribute: boolean; }; components: { attribute: boolean; }; }; document?: StandardSiteDocument; options?: RendererOptions; components?: LitComponentsInput; protected createRenderRoot(): HTMLElement | DocumentFragment; render(): unknown; } export declare const STANDARD_DOCUMENT_TAG = "standard-document"; /** Register `` (idempotent, and a no-op without a DOM). */ export declare function registerStandardDocument(tag?: string): void; declare global { interface HTMLElementTagNameMap { "standard-document": StandardDocumentElement; } } //# sourceMappingURL=element.d.ts.map