import { ModelsState } from "../../models";
declare const useStore: <T extends keyof ModelsState, D extends keyof ModelsState[T]>(props: {
    models: T;
    key?: D;
}) => D extends undefined ? ModelsState[T] : ModelsState[T][D];
export default useStore;
