/// import type { DataGridRef } from './index'; import type { GridStore } from './typings'; export declare function useGridStore(getter: (state: GridStore) => T): T; interface UseGrid> { /** * @param 执行函数 */ (cb: (curr: DataGridRef) => T): T; /** * @param 执行函数 * @param isAsync 是否启用异步形式 */ (cb: (curr: DataGridRef) => void, isAsync?: boolean): void; } export declare function useDataGrid>(): { ref: import("react").MutableRefObject | null>; use: UseGrid; }; export {};