import { Context } from 'react'; export interface IUseStore { (key: string, defaultValue: T): [T, (value: T) => any, () => any]; } export interface IStoreContext { useStore: IUseStore; } export declare const defaultContext: IStoreContext; export declare const StoreContext: Context>; export interface ISetKeyValue { } export declare function useStore(key: string, defaultValue: T, context?: Context): [T, (value: T) => any, () => any];