import { useChatContext } from 'context';
import { useStateStore } from './useStateStore';
export const useThreadManagerState = (selector) => {
    const { client } = useChatContext();
    return useStateStore(client.threads.state, selector);
};
