import { LitElement, type PropertyValues } from 'lit'; import './define-scroll-anchor.js'; /** * @tag loquix-message-list * @summary Scrollable container for chat messages with auto-scroll support. * * @csspart list - Outer list wrapper. * @csspart scroll-container - The inner scrollable region. * @csspart scroll-anchor - The scroll-to-bottom anchor button. * * @slot - Default slot for loquix-message-item elements. * @slot empty-state - Content shown when no messages are present. * @slot loading - Loading indicator content. * * @fires loquix-scroll-bottom - When scroll reaches the bottom. * @fires loquix-scroll-away - When scroll moves away from the bottom. * * @cssprop [--loquix-message-gap] - Gap between messages. * @cssprop [--loquix-message-list-bg] - Background of the message list. * @cssprop [--loquix-message-list-padding] - Padding inside the scroll container. */ export declare class LoquixMessageList extends LitElement { static styles: import("lit").CSSResult[]; /** Whether to auto-scroll to the bottom on new content. */ autoScroll: boolean; /** Enable virtual scrolling (no-op in Phase 1). */ virtualize: boolean; /** Whether to show timestamps on messages. */ showTimestamps: boolean; /** Whether to show the scroll-to-bottom anchor button. */ showScrollAnchor: boolean; /** Whether to auto-scroll to bottom when a loquix-submit event is detected. */ scrollOnSend: boolean; private _scrollContainer; private _hasMessages; private _showAnchor; private _submitRoot; private _autoScrollController; private _attached; protected firstUpdated(): void; protected updated(changed: PropertyValues): void; connectedCallback(): void; disconnectedCallback(): void; private _attachIfNeeded; private _detach; /** Programmatically scroll to the bottom. */ scrollToBottom(behavior?: ScrollBehavior): void; /** * Scroll to a message element by its message-id attribute. * @returns true if the message was found and scrolled to. */ scrollToMessage(messageId: string): boolean; private _handleSubmitForScroll; private _handleAnchorClick; private _handleSlotChange; private _observeSlottedElements; private _checkForMessages; protected render(): import("lit").TemplateResult<1>; } //# sourceMappingURL=loquix-message-list.d.ts.map