import{type TemplateResult,type PropertyValues}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';import type{LyraFrame}from'../../../internal/variants.js';import type{FlowRunDecorations}from'../flow-canvas/flow-types.js'; /** * `` — execution-state presentation for a `lr-flow-canvas`: pushes a * `FlowRunDecorations` map into the resolved canvas (the canvas itself renders the node/edge paint) * and renders a compact run-summary strip. Does not execute, poll, or time anything — pure pushed * state; `durationMs` is host-computed. * * @customElement lr-flow-run-status * @slot - Extra host chrome appended to the strip (e.g. a cancel button or a usage badge). * @csspart base - The root wrapper. Drops its floating-surface chrome under `frame="plain"`. * @csspart summary - The "{done} of {total} steps complete" line. * @csspart count - One per status present (text + tone dot, never color-only). * @csspart live-region - The visually-hidden, `aria-hidden` mirror of the last step-transition * announcement. The announcement itself lands in the shared light-DOM polite region * (`acquireAnnouncementSink()` in `internal/announcer.ts`), because a live region inside a shadow * root is not reliably announced; this part is a styling/inspection surface only. * @cssprop [--lr-flow-status-color=var(--lr-color-border-strong)] - Count-dot color * when no execution status is set. * @cssprop [--lr-flow-status-pending-color=var(--lr-color-border-strong)] - Pending * count-dot color. * @cssprop [--lr-flow-status-running-color=var(--lr-color-brand)] - Running count-dot color. * @cssprop [--lr-flow-status-success-color=var(--lr-color-success)] - Success count-dot color. * @cssprop [--lr-flow-status-error-color=var(--lr-color-danger)] - Error count-dot color. * @cssprop [--lr-flow-status-denied-color=var(--lr-color-warning)] - Denied count-dot color. * @status stable * @since 9.0.0 */ export declare class LyraFlowRunStatus extends LyraElement{static styles:import("lit").CSSResultGroup[];for:string;private _decorations; /** Detached, deeply frozen decoration snapshot, bounded to 10,000 keys and a finite nested-data * budget. Invalid status entries are omitted; reassign the record to update. */ get decorations():FlowRunDecorations;set decorations(value:FlowRunDecorations);hideSummary:boolean;label:string; /** Container treatment, in the shared `LyraFrame` vocabulary. `'card'` (the default) keeps the * bordered, filled, shadowed floating strip. `'plain'` removes the border, background, shadow, * padding and corner radius, so a summary strip dropped directly into a host toolbar that * already draws its own frame doesn't double it. */ frame:LyraFrame;private liveText;private readonly announcer; /** Handle on the shared light-DOM live region every flush actually announces through -- a region * rendered inside this shadow root is not reliably announced (JAWS with Firefox ignores one * outright), so `[part="live-region"]` is only an `aria-hidden` mirror. */ private sink?;private canvasEl?;private readonly companionController; /** The exact `FlowRunDecorations` object reference this element itself last wrote into the * canvas -- lets `applyDecorations()`/`disconnectedCallback()` tell "still ours" from "someone * else wrote a different value since" by identity, not deep equality. */ private lastWrittenDecorations;connectedCallback():void;disconnectedCallback():void;adoptedCallback():void;private syncSink;protected willUpdate(changed:PropertyValues):void;protected updated(changed:PropertyValues):void;private attachCanvas;private applyDecorations;private statusLabel;private announceTransitions;private summary;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-flow-run-status':LyraFlowRunStatus;}}