/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { ShapeLine } from "./model/cards.js"; import { type PartActions, type PartStyles } from "./parts.js"; /** Props of {@link ShapeLineView}. */ export interface ShapeLineViewProps { /** The shape. */ readonly shape: ShapeLine; /** Where Insert adds a step: before the step at this index. */ readonly at: number; /** The parts' styles, and the words. */ readonly ps: PartStyles; /** What Insert asks: the add-step list, hanging from it. */ readonly onSlot: PartActions["onSlot"]; } /** * Renders the line after the source or a step — see the module docs. * * @param props - The shape, Insert's place, and what it asks ({@link ShapeLineViewProps}) * @returns The line */ export declare const ShapeLineView: import("react").MemoExoticComponent<({ shape, at, ps, onSlot }: ShapeLineViewProps) => import("react/jsx-runtime").JSX.Element>; //# sourceMappingURL=shape-line.d.ts.map