/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { SheetHostStripCell, SheetHostStripProps } from "../sheet/index.js"; import { type SheetColumnIndex, type SheetRegisterIndex } from "../sheet/model.js"; import { type SheetWords } from "../sheet/words.js"; import type { RecordNoun } from "./status.js"; /** What the Record's strip says: its label, its words and its keys. */ export interface RecordStripText { label: string; text: string; keys: string; } /** What the Record's strip is read from. */ export interface RecordStripInput { /** The cell it speaks of; `undefined` for none. */ at: SheetHostStripCell | undefined; /** The columns the grid draws. */ columns: SheetColumnIndex; /** The registers, by name. */ registers: SheetRegisterIndex; /** Whether a gesture may be made now. */ writable: boolean; /** The Record's title. */ title: string | undefined; /** The Record's word for its rows. */ noun: RecordNoun; /** Whether the Record has an inspector. */ inspector: boolean; /** The Sheet's words. */ words: SheetWords; /** The Record's now: what an age counts to. */ now: Date; } /** * The Record's words for the strip — see the module docs. * * @param input - The cell, and what its words are read against * @returns The words; `undefined` for any other kind (SP7) */ export declare function recordStripOf(input: RecordStripInput): RecordStripText | undefined; /** Renders the Record's strip — see the module docs. */ export declare const RecordStrip: import("react").MemoExoticComponent<({ styles: sheetStyles, model, onAction, own, at, columns, registers, writable }: SheetHostStripProps) => import("react/jsx-runtime").JSX.Element | null>; //# sourceMappingURL=strip.d.ts.map