/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type LoadingLineValue } from "@elaraai/east-ui-components/internal"; import type { RecordSliceBindType } from "@elaraai/east-ui/internal"; import { type PagedLoading } from "../shared/loading.js"; import type { ValueTypeOf } from "@elaraai/east"; import type { Sheet } from "@elaraai/e3-ui/internal"; type Styles = Record>; /** One decoded footer item. */ export type SheetFooterItemValue = ValueTypeOf; /** * What a paged sheet reads now, or could not read (#1398, CL3): its source's * elements in flight, a narrowing's rows read while the last narrowing's * stand in, or a read that failed — a window's or a stretch's elements, or * the source's own count or revision — the shared paged source's line. */ export type SheetLoadingLine = PagedLoading; export interface SheetFooterProps { styles: Styles; items: readonly SheetFooterItemValue[]; /** The sheet's own count line before the host's items — a grouped sheet's `3 plans · 14 lines` (#740, G12). */ summary?: string | undefined; hint: string; message: string; /** What a paged source reads now, or could not read; `undefined` while nothing is in flight or failed, and inline (#1398). */ loading: SheetLoadingLine | undefined; /** What the rail counts the rows in — `work orders`, a grouped sheet's groups: what the loading line names them by. */ noun: string; /** Ask the source again, when the loading line says it could not be read (#853). */ onRetry?: (() => void) | undefined; /** The record's last save, from its commits — `saved 14:02` (a builder's, SB22). */ saved?: string | undefined; /** Exact, confirmed feedback when saved rows leave the indexed query. */ recordSlice?: ValueTypeOf | undefined; /** A run of the app's optimiser (#1409): what its line says while the call is out or just stopped, and whether the legend's `Elara change` shows. */ optimise?: { readonly line: LoadingLineValue | undefined; readonly legend: boolean; } | undefined; } /** Renders the footer. */ export declare const SheetFooter: import("react").MemoExoticComponent<({ styles, items, summary, hint, message, loading, noun, onRetry, saved, recordSlice, optimise }: SheetFooterProps) => import("react/jsx-runtime").JSX.Element>; export {}; //# sourceMappingURL=Footer.d.ts.map