/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type SheetInspectPlace } from "../sheet/index.js"; import { type SheetInspectorDetailsProps } from "../sheet/frame/inspector.js"; import { type SheetColumnIndex } from "../sheet/model.js"; import type { RecordNoun, RecordStatus } from "./status.js"; import type { RecordTicks } from "./ticks.js"; /** A request for the keyboard in a field of a row's Details: a title opened (AD1), a copy made (IN7), an issue gone to (IN9). */ export interface RecordFocus { /** The row's row-space index. */ r: number; /** The field, by the form's key. */ key: string; /** Which request it is: each later than the one before. */ seq: number; } /** What the Record's Details read beside the Sheet's. */ export interface RecordInspector { /** The field asked to take the keyboard, until the form has given it. */ focus: RecordFocus | undefined; /** Says the form gave the keyboard to the field a request asked for — or that the ring left its row first. */ focused: (seq: number) => void; /** The status line's steps: what a Duplicate tells (IN7). */ status: RecordStatus; /** The rows ticked: a row Details deletes is unticked. */ ticks: RecordTicks; /** No gesture changes the Record: no Duplicate, no Delete. */ readOnly: boolean; } /** Provides what the Record's Details read beside the Sheet's. */ export declare const RecordInspectorProvider: import("react").Provider; /** * How an issue's line in the Issues tab names its row (IN9): by its title — `C. Patel`; a new row with none yet in the * Record's word for its rows, `New person` — else, where the narrowing hides it or it is not read yet, by its key. A * Record draws no row numbers, so a row's place among the rows names nothing a person sees. * * @param columns - The columns drawn: where a row's title is * @param noun - The Record's word for its rows * @param added - Whether the row at a row-space index is new, never applied * @returns The words for an issue's row, as `SheetInspectorHost.where` takes them */ export declare function recordIssueWhere(columns: SheetColumnIndex, noun: RecordNoun, added: (r: number) => boolean): (issue: { entry: string; }, place: SheetInspectPlace | undefined) => string; /** * The Record's Details — see the module docs: one row's, or nothing's. * * @param props - The payload, the pane, the keys, the words, the columns hidden, the word for a group, and what the ring selects * @returns The Details */ export declare const RecordDetails: import("react").MemoExoticComponent<(props: SheetInspectorDetailsProps) => import("react/jsx-runtime").JSX.Element | null>; //# sourceMappingURL=inspector.d.ts.map