import { MutableRefObject } from 'react'; import { StoreApi } from 'zustand'; import { GridStore } from './grid-store/store'; import { BeastGridApi } from '../common'; type ExtractState = S extends { getState: () => infer T; } ? T : never; export type UseBeastStore = (selector: (state: ExtractState>) => T) => T; export declare const BeastGridProvider: ({ createStore, children, }: { createStore: () => StoreApi; children: React.ReactNode; }) => import("react").FunctionComponentElement | undefined>>; export declare const useBeastStore: UseBeastStore; export declare const BeastApi: ({ store }: { store?: MutableRefObject | undefined; }) => null; export {};