import { NotUndefined } from 'object-hash'; import { Dispatch, SetStateAction } from 'react'; interface ValueMap { [userId: string]: T; } export interface UseStateTogetherWithPerUserValuesOptions { resetOnDisconnect?: boolean; resetOnConnect?: boolean; keepValues?: boolean; overwriteSessionValue?: boolean; omitMyValue?: boolean; throttleDelay?: number; } export default function useStateTogetherWithPerUserValues(rtKey: string, initialValue: T, options?: UseStateTogetherWithPerUserValuesOptions): [T, Dispatch>, ValueMap]; export {};