/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type DrawnItem, type DrawnZone } from "./canvas/drawn.js"; import type { SchematicValue, SchematicWindowRows } from "./data.js"; /** The selected rows of the kinds read by area, as their stored rows draw them. */ export interface SchematicSelectedRows { /** * Each selected item of a kind read by area, by its id: as its stored row draws it — `null` for one a read proves * gone, one with no position, or one its narrowing leaves out, which the selection lets go of; absent while it is * first read. */ readonly items: ReadonlyMap; /** Each selected zone of a kind read by area, by its id, as {@link SchematicSelectedRows.items}. */ readonly zones: ReadonlyMap; } /** No selected row read. */ export declare const NO_SELECTED_ROWS: SchematicSelectedRows; /** * Reads the selected rows of the kinds read by area (see the module docs), handing the frame what it read only when that * moves. * * @param props - The payload, the kinds read by area, the selected entities' ids, the rows each kind's window holds, and * where the rows go * @returns Nothing: it reads */ export declare function SchematicSelectedReader({ value, areas, selected, windows, onRead }: { value: SchematicValue; areas?: ReadonlySet; selected?: readonly string[]; windows: SchematicWindowRows; onRead: (rows: SchematicSelectedRows) => void; }): null; //# sourceMappingURL=selected-rows.d.ts.map