import { CustomElement } from '../../Abstracts/CustomElement'; import type { ICommentElementProps } from './ICommentElementProps'; declare const CommentElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/TextFormattable").ITextFormattableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Comment - A user interface component for displaying and interacting with comments. * * @description * The Comment component is designed for displaying and managing user comments or messages within an application or web page. It provides a structured format for presenting comments, including the commenter's name, avatar, timestamp, and the comment content. * * @element mosaik-comment * @category Media * * @slot - The default slot. * @slot actions - The actions slot. * @slot at - The at slot. * @slot author - The author slot. * @slot avatar - The avatar slot. * @slot content - The content slot. * * @csspart actions - The actions part. * @csspart at - The at part. * @csspart author - The author part. * @csspart avatar - The avatar part. * @csspart content - The content part. * @csspart inner - The inner part. * @csspart innerStack - The innerStack part. * @csspart nested - The nested part. * * @cssprop {String} --comment-font-family - The font family CSS custom property. * @cssprop {String} --comment-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --comment-font-line-height - The font line height CSS custom property. * @cssprop {String} --comment-font-size - The font size CSS custom property. * @cssprop {String} --comment-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --comment-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --comment-font-weight - The font weight CSS custom property. * @cssprop {String} --comment-foreground-color - The foreground color CSS custom property. * @cssprop {String} --comment-gap - The gap CSS custom property. * @cssprop {String} --comment-inner-gap - The inner gap CSS custom property. * @cssprop {String} --comment-nested-indent - The nested indent CSS custom property. * @cssprop {String} --comment-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --comment-padding-left - The padding left CSS custom property. * @cssprop {String} --comment-padding-right - The padding right CSS custom property. * @cssprop {String} --comment-padding-top - The padding top CSS custom property. * @cssprop {String} --comment-shadow - The shadow CSS custom property. * @cssprop {String} --comment-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --comment-shadow-color - The shadow color CSS custom property. * @cssprop {String} --comment-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --comment-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --comment-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --comment-transition-duration - The transition duration CSS custom property. * @cssprop {String} --comment-transition-mode - The transition mode CSS custom property. * @cssprop {String} --comment-transition-property - The transition property CSS custom property. * @cssprop {String} --comment-translate - The translate CSS custom property. * * @dependency {StackElement} mosaik-stack - The stack element. * @dependency {TextElement} mosaik-text - The text element. * * @example * Basic usage with slotted content: * ```html * * John Doe * 2 hours ago * Lorem ipsum dolor sit amet, consectetur adipiscing elit. * * ``` * * @example * With avatar and actions: * ```html * * * Jane Smith * Yesterday * This is a reply to your comment. * * ``` * * @public */ export declare class CommentElement extends CommentElement_base implements ICommentElementProps { private _author; private _at; private _content; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `author` property. * * @public */ get author(): string; set author(value: string); /** * Gets or sets the `at` property. * * @public */ get at(): string; set at(value: string); /** * Gets or sets the `content` property. * * @public */ get content(): string; set content(value: string); } /** * @public */ export declare namespace CommentElement { type Props = ICommentElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-comment': CommentElement; } } export {}; //# sourceMappingURL=CommentElement.d.ts.map