/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type ValueTypeOf } from "@elaraai/east"; import { Plan } from "@elaraai/e3-ui/internal"; import { type LoadingLineValue } from "@elaraai/east-ui-components/internal"; import type { RecordSliceBindType } from "@elaraai/east-ui/internal"; import type { PlanTransport } from "./transport.js"; import type { PlanEventCounts } from "../frame/counts.js"; type Styles = Record>; type FooterItemValue = ValueTypeOf; /** A source whose Save notice the footer shows: its part, and the words it counts in. */ export interface PlanSaveNotice { /** The source's name: the notice's key. */ readonly key: string; /** Its part of the slice. */ readonly slice: ValueTypeOf; /** One of what it counts (`row`, `print job event`). */ readonly singular: string; /** More than one (`rows`, `print job events`). */ readonly plural: string; } export interface PlanFooterProps { styles: Styles; /** The author's footer items, in order. */ items: ReadonlyArray; /** What the canvas says of its reads — a paged source's, or its event kinds' rows' — omitted on a canvas that reads neither. */ transport?: PlanTransport | undefined; /** What the rail counts the rows in — `rows`, `print jobs` — what the loading line names them by (#1398). */ noun: string; /** The event kinds' counts (#1193, PB23) — omitted for a Plan without event kinds. */ counts?: PlanEventCounts | undefined; /** The event kinds' first read has not landed (#1398, CL13): their count holds its place, "…", never 0. */ unread?: boolean | undefined; /** The changes waiting on Save — omitted for a Plan that does not edit. */ pending?: number | undefined; /** Exact, confirmed feedback when saved records leave a source's narrowing — one per source (#1344). */ notices?: readonly PlanSaveNotice[] | undefined; /** * A run of the app's optimiser (#1409): what its line says while the call is out or just stopped, whether the * legend's `Elara change` shows, and whether a run has just landed — the backlog's count flashes once. */ optimise?: { readonly line: LoadingLineValue | undefined; readonly legend: boolean; readonly flash: boolean; } | undefined; } /** The 28px footer band (renders nothing with nothing to say). */ export declare function PlanFooter({ styles, items, transport, noun, counts, unread, pending, notices, optimise }: PlanFooterProps): import("react/jsx-runtime").JSX.Element | null; export {}; //# sourceMappingURL=Footer.d.ts.map