import { LitElement, TemplateResult, CSSResult } from 'lit'; declare global { interface HTMLElementTagNameMap { 'forge-ai-artifact-card': AiArtifactCardComponent; } interface HTMLElementEventMap { 'forge-ai-artifact-card-open': CustomEvent; } } export interface ForgeAiArtifactCardOpenEventData { assetId: string; } export declare const AiArtifactCardComponentTagName: keyof HTMLElementTagNameMap; /** Set by `forge-ai-artifact-card-group` on cards it has collapsed. Cleared when the card leaves a group. */ export declare const AI_ARTIFACT_CARD_COLLAPSED_ATTRIBUTE = "data-collapsed"; /** * @tag forge-ai-artifact-card * * @summary A compact, clickable card representing an artifact an agent produced. * * @description * Displays a leading icon, two lines of truncating text, and a trailing action glyph inside a single * button that covers the whole card. Activating it emits an event; the consumer decides what * opens. Placed in a `forge-ai-artifact-card-group`, it renders as a row of that list. The component * is presentational — it holds no knowledge of what the artifact is or where it lives. * * @slot icon - The leading icon, shown inside a bordered tile. Replaces the default artifact glyph. * @slot action-icon - The trailing action glyph. Replaces the default arrow, and unlike the arrow stays * visible while `active`, so consumers that collapse on a second activation can show a matching glyph. * * @event {CustomEvent} forge-ai-artifact-card-open - Fired * when the card is activated by click, Enter, or Space. Not fired while disabled. * * @cssproperty --forge-ai-artifact-card-accent-color - Color of the active border and ring * @cssproperty --forge-ai-artifact-card-background - Background color of the card * @cssproperty --forge-ai-artifact-card-border-radius - Corner radius of the card * @cssproperty --forge-ai-artifact-card-padding - Padding inside the card * @cssproperty --forge-ai-artifact-card-gap - Gap between the icon and the text */ export declare class AiArtifactCardComponent extends LitElement { #private; static styles: CSSResult; /** * The primary line of text. Truncates to a single line. */ titleText: string; /** * The secondary line of text. Truncates to a single line. */ subtitleText: string; /** * Describes what activating the card does, for assistive technology only. Appended to the button's * accessible name after the title and subtitle. Set it when activation does something other than * open, such as collapsing an already-open artifact ("Collapse report"). Omit it and the name is * just the card text. */ actionLabel?: string; /** * An opaque identifier echoed back in the open event detail. The component never * interprets it. */ assetId: string; /** * Whether the artifact this card points at is the one currently being viewed. Exposed to * assistive technology as `aria-current`. */ active: boolean; /** * Whether the card can be activated. */ disabled: boolean; private _grouped; connectedCallback(): void; render(): TemplateResult; }