import { LitElement } from 'lit'; import '../icons/sw-ui-icon.js'; /** Formats supported by the content drawer. */ export type ContentFormat = 'text' | 'markdown' | 'code' | 'html'; /** Payload that drives the content drawer. */ export interface DisplayContentPayload { title?: string; content: string; format: ContentFormat; /** Prism language name (required when format === 'code'). */ language?: string; } /** * Content drawer overlay for the call widget. * * Slides in from the right on wide containers; on narrow containers (parent * width ≤ 480 px) it slides up from the bottom instead. * * Formats: `text` · `markdown` (marked + DOMPurify) · `code` (Prism) · `html` (DOMPurify) * * @fires sw-content-drawer-close - User clicked the close button. No detail. */ export declare class SwUiContentDrawer extends LitElement { static styles: import("lit").CSSResult; open: boolean; narrow: boolean; title: string; content: string; format: ContentFormat; language: string; private _renderedHtml; private _renderFormat; private _copied; private _renderId; private _ro?; connectedCallback(): void; disconnectedCallback(): void; protected updated(changed: Map): void; private _renderContent; private _close; private _copy; private _renderBody; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'sw-ui-content-drawer': SwUiContentDrawer; } } //# sourceMappingURL=sw-ui-content-drawer.d.ts.map