import { JSX } from 'react'; declare function StoreProvider({ initial, children, }: { initial?: Record; children: React.ReactNode; }): JSX.Element; type comparator = ((a: any, b: any) => boolean) | undefined; type derive = (params: any[] | any) => any; declare function useGetValue(key: string, comparator?: comparator): any | undefined; declare function useDeriveValue(keys: string[] | string, derive: derive, comparator?: comparator): any | undefined; declare function useSetValue(): { (key: string, value: any): void; async(...params: any[]): Promise; }; export { StoreProvider, useDeriveValue, useGetValue, useSetValue };