import { LitElement, PropertyValues, TemplateResult, CSSResult } from 'lit'; import { FeatureToggle } from '../types/index.js'; declare global { interface HTMLElementTagNameMap { 'forge-ai-sidebar': AiSidebarComponent; } interface HTMLElementEventMap { 'forge-ai-sidebar-open': CustomEvent; 'forge-ai-sidebar-close': CustomEvent; 'forge-ai-sidebar-resize': CustomEvent; } } export interface ForgeAiSidebarResizeEventData { width: number; } export declare const AiSidebarComponentTagName: keyof HTMLElementTagNameMap; /** * @tag forge-ai-sidebar * * @slot - Default slot for sidebar content (typically ai-chat-interface) * * @event {CustomEvent} forge-ai-sidebar-open - Fired when the sidebar is opened * @event {CustomEvent} forge-ai-sidebar-close - Fired when the sidebar is closed * @event {CustomEvent} forge-ai-sidebar-resize - Fired when a resize is committed via pointer release or keyboard step */ export declare class AiSidebarComponent extends LitElement { #private; static styles: CSSResult; /** * Indicates whether the sidebar is open. */ open: boolean; /** * Enables sidebar resizing. Set to `'off'` to disable and reset to the default width. */ resizable: FeatureToggle; /** * The current width of the sidebar in pixels. Clamped to the min/max bounds and viewport. * Resized widths are persisted per tab in sessionStorage and shared across tabs via localStorage. * On load the session value is preferred, then the local value, then the default. */ width: number; /** * Indicates whether the sidebar is in a closing animation state. */ private _closing; /** * Indicates whether the animation container is in a closing state. */ private _containerClosing; /** * Indicates whether the sidebar is being resized. */ private _isResizing; constructor(); render(): TemplateResult; /** * Opens the sidebar. */ show(): void; /** * Closes the sidebar. */ close(): void; /** * Toggles the sidebar open state. */ toggle(): void; willUpdate(changedProperties: PropertyValues): void; }