import { ISlottable } from '../../../Behaviors/Slottable'; import { Appearance } from '../../../Types/Appearance'; import { Variant } from '../../../Types/Variant'; import { CustomElement } from '../../Abstracts/CustomElement'; import type { IChatMessageElementProps } from './IChatMessageElementProps'; declare const ChatMessageElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/TextFormattable").ITextFormattableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Busyable").IBusyableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Valueable").IValueableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Chat Message - Represents a single message in the chat. * * @slot avatar - The slot for avatar elements. * @slot author - The slot for author elements. * @slot at - The slot for timestamp elements. * @slot text - The slot for message elements. * @slot attachment - The slot for attachment elements. * @slot reaction - The slot for reaction elements. * * @example * Basic chat message: * ```html * * ``` * * @example * Reply message with a variant: * ```html * * ``` * * @public */ export declare class ChatMessageElement extends ChatMessageElement_base implements IChatMessageElementProps, ISlottable { private readonly _inheritance; private _text; private _author; private _attachments; private _reply; private _at; /** * @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 `text` property. * * @public */ get text(): string; set text(value: string); /** * Gets or sets the `attachments` property. * * @public */ get attachments(): Array; set attachments(value: Array); /** * Gets or sets the `reply` property. * * @public * @attr */ get reply(): boolean; set reply(value: boolean); /** * Gets or sets the `at` property. * * @public */ get at(): string; set at(value: string); /** * @protected * @template */ onSlotChange(_event: Event): void; /** * @protected */ protected onVariantPropertyChanged(_prev?: Variant, next?: Variant): void; /** * @protected */ protected onAppearancePropertyChanged(_prev?: Appearance, next?: Appearance): void; /** * @protected */ protected onDisabledPropertyChanged(_prev?: boolean, next?: boolean): void; } /** * @public */ export declare namespace ChatMessageElement { type Props = IChatMessageElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-chat-message': ChatMessageElement; } } export {}; //# sourceMappingURL=ChatMessageElement.d.ts.map