import type { RowAtom, RowNode, RowSelectionStateWithParent } from "@1771technologies/lytenyte-shared";
import type { ServerData } from "../server-data.js";
import { type Signal } from "@1771technologies/lytenyte-core/internal";
export declare function useRowByIndex<T>(source: ServerData, state: {
    rowSelections: RowSelectionStateWithParent;
}, globalSignal: Signal<number>, getParents: (id: string) => string[]): {
    rowInvalidate: (row?: number) => void;
    rowByIndex: (row: number) => RowAtom<RowNode<T> | null>;
};
