/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type SystemStyleObject } from "@chakra-ui/react"; import type { ValueTypeOf } from "@elaraai/east"; import type { RecordSliceBindType } from "@elaraai/east-ui/internal"; import { type LoadingLineValue } from "@elaraai/east-ui-components/internal"; import { type SchematicDensity, type SchematicViewportStore } from "./area.js"; import type { SchematicWords } from "./messages.js"; type Styles = Record; /** A kind read through its source that writes: what its Save's notice counts the rows it took out of the narrowing in. */ export interface SchematicNotice { /** The kind's slot. */ readonly slot: string; /** Its source of the slice. */ readonly slice: ValueTypeOf; /** One of its rows, as running text names it — `rack`. */ readonly singular: string; /** Several. */ readonly plural: string; } /** Props of {@link SchematicFooter}. */ export interface SchematicFooterProps { /** The `schematic` recipe's styles. */ readonly styles: Styles; /** The Schematic's words. */ readonly words: SchematicWords; /** Each kind read by area drawing its density in place of items, by its slot (D25). */ readonly density: ReadonlyMap; /** Each kind's name, by its slot. */ readonly names: ReadonlyMap; /** Where the canvas's viewport rests, which the canvas writes as its camera comes to rest: what a density's count is of. */ readonly viewport: SchematicViewportStore; /** The drawing's extent, in world units from its origin: where a density's rows lie. */ readonly extent: { readonly width: number; readonly height: number; }; /** Why the last gesture was refused; `undefined` once one is recorded, or for none. */ readonly refusal: string | undefined; /** Each kind read through its source that writes: its Save's notice. */ readonly notices: readonly SchematicNotice[]; /** * What keeps the item Find's last pick landed on from the canvas as itself, the filters hiding it cleared by the pick * (#1404) — `A04 is on a hidden layer`, `A06 has no position: it is in the Backlog` — or `undefined` while nothing does. */ readonly found?: string | undefined; /** What the loading line says: a read in flight, or one that failed, with Retry; `undefined` while nothing is read. */ readonly line: LoadingLineValue | undefined; } /** * Renders the footer — see the module docs. * * @param props - The densities and where the viewport rests, the refusal, the Saves' notices, where Find's last pick * landed, and the loading line * @returns The footer: its rail, its notices and its loading line, empty while nothing is live */ export declare function SchematicFooter({ styles, words, density, names, viewport, extent, refusal, notices, found, line }: SchematicFooterProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=footer.d.ts.map