/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** * Drawing the rows: each body item as the grid draws it — a run not read yet, a sub row, a proposal, a band, a row a host * draws, or the Sheet's own row — with what the optimiser's runs left on it. * * @packageDocumentation */ import { type ReactNode } from "react"; import type { SheetDecode } from "./use-decode.js"; import type { SheetSession } from "./use-session.js"; import type { SheetBody } from "./use-body.js"; import type { SheetGestures } from "./use-gestures.js"; import type { SheetInput } from "./use-input.js"; import type { SheetOpenEditor } from "./use-open-editor.js"; import type { SheetViewTabs } from "./use-view-tabs.js"; import type { SheetRing } from "./use-ring.js"; import type { SheetScroll } from "./use-scroll.js"; import type { SheetRowParts } from "./use-row-parts.js"; import type { SheetActions } from "./use-actions.js"; /** * Builds the virtual rows' renderer (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 sheetGestures - The history's runner, the discard and the insertion * @param sheetInput - The cells' and the grid's handlers * @param sheetOpenEditor - The styles and the open editor * @param sheetViewTabs - The view tabs, the summary and the folds * @param sheetRing - The strip, the active cell and the hint * @param sheetScroll - The scroll's report, the sticky rows, the sizes and the motion * @param sheetRowParts - The rows' drop, seams, inserts and runs * @param sheetActions - The action host, its overlay and the phone's bottom container * @returns The row renderer */ export declare function useSheetRows(sheetDecode: SheetDecode, sheetSession: SheetSession, sheetBody: SheetBody, sheetGestures: SheetGestures, sheetInput: SheetInput, sheetOpenEditor: SheetOpenEditor, sheetViewTabs: SheetViewTabs, sheetRing: SheetRing, sheetScroll: SheetScroll, sheetRowParts: SheetRowParts, sheetActions: SheetActions): { renderRow: (i: number) => ReactNode; }; /** What {@link useSheetRows} gives the parts after it. */ export type SheetRows = ReturnType; //# sourceMappingURL=use-rows.d.ts.map