import { LitElement } from "lit"; import "./shw-markdown"; /** * Shows code or a supplied unified diff, with optional source line numbers and notes. * * @element shw-code */ export declare class ShwCode extends LitElement { #private; static properties: { filename: { type: StringConstructor; }; language: { type: StringConstructor; }; lineNumbers: { type: BooleanConstructor; attribute: string; }; highlight: { type: StringConstructor; }; annotations: { type: StringConstructor; }; }; static styles: import("lit").CSSResult[]; /** Optional filename shown above the code. */ filename: string; /** Syntax language: html, js, ts, json, or diff for a supplied unified diff. */ language: string; /** Show 1-based positions in the displayed source, including diff headers. */ lineNumbers: boolean; /** Source lines to emphasize, for example 2,4-6. */ highlight: string; /** JSON array of { start, end?, text } notes. Text is safe Markdown; lines are 1-based. */ annotations: string; protected render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "shw-code": ShwCode; } }