/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { SchematicLayerValue } from "./canvas/layers.js"; import { type SchematicLayerView } from "./layers-view.js"; import type { SchematicWords } from "./messages.js"; /** Props of {@link SchematicLayersTab}. */ export interface SchematicLayersTabProps { /** The layers, in their order, with their author defaults. */ readonly layers: readonly SchematicLayerValue[]; /** The viewer's choices. */ readonly view: SchematicLayerView; /** Writes the viewer's choices. */ readonly onView: (next: SchematicLayerView) => void; /** How many entities each layer holds, by its key. */ readonly counts: ReadonlyMap; /** The Schematic's words. */ readonly words: SchematicWords; } /** * The Layers tab's body — see the module docs. * * @param props - The layers, the viewer's choices and their write, each layer's count, and the words * @returns The tab's body: its rows, and Show all while a layer is hidden */ export declare function SchematicLayersTab({ layers, view, onView, counts, words }: SchematicLayersTabProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=layers-tab.d.ts.map