/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type DrawnItem, type DrawnLink, type DrawnNet, type DrawnZone } from "./canvas/drawn.js"; import { type SchematicValue } from "./data.js"; export type { SchematicValue } from "./data.js"; /** An item as the canvas draws it. */ export type SchematicItemValue = DrawnItem; /** A zone as the canvas draws it. */ export type SchematicZoneValue = DrawnZone; /** A link as the canvas draws it. */ export type SchematicLinkValue = DrawnLink; /** A net (bus / trunk) as the canvas draws it. */ export type SchematicNetValue = DrawnNet; /** The props `EastChakraSchematic` takes: the payload and its structural storage key. */ export interface EastChakraSchematicProps { /** The payload, decoded. */ value: SchematicValue; /** * The structural storage key: the editing's sessions are kept under it and the Schematic's `id` (#1388), and the * frame keeps its panes under the `id` (`schematicKeys(id).frame`). */ storageKey: string; } /** * Renders the Schematic (e3-ui's ``): its reader, which reads each * kind's rows (`data.ts`), and its frame, which lays the canvas and its chrome * out over what it read — see the module docs. * * @param props - The payload and its storage key * @returns The Schematic, in its frame */ export declare const EastChakraSchematic: import("react").MemoExoticComponent<({ value, storageKey }: EastChakraSchematicProps) => import("react/jsx-runtime").JSX.Element>; //# sourceMappingURL=index.d.ts.map