import { type DataEditorProps, type DataEditorRef, type EditableGridCell, type GridCell, type Item } from "@glideapps/glide-data-grid"; import React from "react"; export type RowCallback = (range: Item) => Promise; export type RowToCell = (row: T, col: number) => GridCell; export type RowEditedCallback = (cell: Item, newVal: EditableGridCell, rowData: T) => T | undefined; export declare function useAsyncDataSource(pageSize: number, maxConcurrency: number, getRowData: RowCallback, toCell: RowToCell, onEdited: RowEditedCallback, gridRef: React.MutableRefObject): Pick; //# sourceMappingURL=use-async-data-source.d.ts.map