/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type StripSuggestInput } from "./Strip.js"; import type { SheetDecode } from "./use-decode.js"; import type { SheetSession } from "./use-session.js"; import type { SheetBody } from "./use-body.js"; import type { SheetMachine } from "./use-machine.js"; import type { SheetOpenEditor } from "./use-open-editor.js"; /** * Reads what the strip, assistive tech and the footer's hint say of the ring (see the module docs). * * @param sheetDecode - The decoded columns, layout, callbacks, narrowing and row source * @param sheetSession - The store, the lens, the paging, the session and the rows * @param sheetBody - The body, the row space and the cells at each place * @param sheetMachine - The machine's context and dispatch * @param sheetOpenEditor - The styles and the open editor * @returns The strip, the grid's counts and active cell, and the hint */ export declare function useSheetRing(sheetDecode: SheetDecode, sheetSession: SheetSession, sheetBody: SheetBody, sheetMachine: SheetMachine, sheetOpenEditor: SheetOpenEditor): { activeCell: string | undefined; anchorR: number | undefined; ariaRowCount: number; hint: string; nextTarget: (import("./sheet-types.js").CellRef & { key: string; }) | null; previewed: import("./sheet-types.js").CellRef | undefined; ringCellRef: import("react").RefObject<{ id: string | undefined; col: number; }>; ringCol: number; ringItem: import("./model.js").SheetBodyItem | undefined; strip: import("./Strip.js").StripModel; suggested: StripSuggestInput | undefined; unreadRuns: boolean; wr: { r0: number; r1: number; } | null; }; /** What {@link useSheetRing} gives the parts after it. */ export type SheetRing = ReturnType; //# sourceMappingURL=use-ring.d.ts.map