import type { ChatContextValue } from "../../context/chat-context"; export interface UseChatSocketValues { socket: ChatContextValue["socket"]; connected: boolean; } /** * Access the shared Socket.io socket instance and its connection state. * Must be used inside a ChatProvider. */ declare function useChatSocket(): UseChatSocketValues; export default useChatSocket;