/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type ValueTypeOf } from "@elaraai/east"; import { Plan } from "@elaraai/e3-ui/internal"; import type { DerivedBand, PlanRowId } from "../model.js"; type Styles = Record>; type SpanKindValue = Extract["kind"], { type: "span"; }>["value"]; type RunValue = ValueTypeOf; /** How a row's elements move (#825) — its `edits.move`. */ export type PlanRowMove = { items: string; resize: boolean; }; /** EventState → the recipe `data-state` key (the §4.3 truth table). */ export declare function runStateKey(state: RunValue["state"]): "obs" | "appr" | "prop" | "propRemoved" | "estimated" | "rejected"; export interface SpanRowProps { /** R2 context strip (#591) — render this row's marks at strip size. */ ctx?: boolean | undefined; rowKey: string; /** The row's id — what an element click names the row by (#822). */ rowId: PlanRowId; kind: SpanKindValue; /** Renderer-derived rollup bands (the IR carries only the declaration). */ bands: readonly DerivedBand[]; styles: Styles; /** How its runs move (#825) — `undefined` when they do not. */ move?: PlanRowMove | undefined; } /** The span-row plot content — bars, rollup bands, diamonds, ports. */ export declare function SpanRow({ rowKey, rowId, kind, bands: rollBands, styles, ctx, move }: SpanRowProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=SpanRow.d.ts.map