import { LitElement, PropertyValues } from 'lit'; /** * Embeds HTML into a document. * * The HTML is fetched from the URL contained in the `src` attribute, using the * fetch() API. A 'load' event is fired when the HTML is updated. * * The request is made using CORS by default. This can be chaned with the `mode` * attribute. * * By default, the HTML is embedded into a shadow root. If the `no-shadow` * attribute is present, the HTML will be embedded into the child content. * */ export declare class HeximalInclude extends LitElement { #private; static shadowRootOptions: { readonly mode: "open"; readonly delegatesFocus: true; }; static styles: import("lit").CSSResult; /** * The URL to fetch an HTML document from. * * Setting this property causes a fetch the HTML from the URL. */ accessor src: string | undefined; /** * The fetch mode to use: "cors", "no-cors", or "same-origin". * See the fetch() documents for more information. * * Setting this property does not re-fetch the HTML. */ accessor mode: RequestMode | undefined; /** * If true, replaces the innerHTML of this element with the text response * fetch. Setting this property does not re-fetch the HTML. */ accessor noShadow: boolean; update(changedProperties: PropertyValues): void; protected createRenderRoot(): HTMLElement | DocumentFragment; } declare global { interface HTMLElementTagNameMap { 'h-include': HeximalInclude; } } //# sourceMappingURL=include.d.ts.map