import { Dispatch, SetStateAction } from 'react';

interface UseStateTogetherOptions {
    resetOnDisconnect?: boolean;
    throttleDelay?: number;
}
export default function useStateTogether<T>(rtKey: string, initialValue: T, { resetOnDisconnect, throttleDelay }?: UseStateTogetherOptions): [T, Dispatch<SetStateAction<T>>];
export {};
