/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type SheetColumnMeta } from "./model.js"; import type { SheetNounValue } from "./values.js"; type Styles = Record>; export interface SheetHeaderProps { styles: Styles; columns: readonly SheetColumnMeta[]; /** The CSS grid template — the gutter track then one per column. */ gridTemplate: string; /** Whether any row is picked — the corner checkbox goes indeterminate. */ picked?: boolean | undefined; /** The fold-all, on a grouped sheet only: whether every group is folded (the action is then to open them), how many, the host's noun, and the gesture. */ foldAll?: { folded: boolean; count: number; noun: SheetNounValue; onFoldAll: (folded: boolean) => void; } | undefined; /** On a phone's frame, the column of the selected cell: its head is tinted (`Mobile Sheet Spec.md` SH3). */ selected?: number | undefined; /** On a phone's frame, the row numbers show as the Row column (SH2), its head named so. */ rowNumbers?: boolean | undefined; } /** Renders the header row. */ export declare const SheetHeader: import("react").MemoExoticComponent<({ styles, columns, gridTemplate, picked, foldAll, selected, rowNumbers }: SheetHeaderProps) => import("react/jsx-runtime").JSX.Element>; export {}; //# sourceMappingURL=Header.d.ts.map