import { LitElement } from 'lit'; import type { MessageContentType, StreamingCursorVariant } from '../../types/index.js'; /** * @tag loquix-message-content * @summary Renders message content as plain text or a code block with optional streaming cursor. * * @slot - Default slot for text content (type='text') * * @csspart content - Wrapper around text content * @csspart code-block - The `
` element for code content
*
* @cssprop --loquix-message-font-size
* @cssprop --loquix-message-line-height
* @cssprop --loquix-code-font-family
* @cssprop --loquix-surface-secondary-bg
* @cssprop --loquix-cursor-color - Cursor color (default: currentColor)
*
* @csspart cursor - The streaming cursor indicator
*/
export declare class LoquixMessageContent extends LitElement {
static styles: import("lit").CSSResult;
/** The content type to render. */
type: MessageContentType;
/** Whether the message is currently being streamed. */
streaming: boolean;
/** Streaming cursor style. Only visible when `streaming` is true. */
streamingCursor: StreamingCursorVariant;
/** Whether inline action buttons are allowed inside this content block. */
allowInlineActions: boolean;
/** Raw code string rendered safely inside a code block when type is 'code'. */
code?: string;
protected render(): import("lit").TemplateResult<1>;
private _renderText;
private _renderCode;
private static _validCursors;
private _renderCursor;
}
//# sourceMappingURL=loquix-message-content.d.ts.map