declare function useChatSession(apiUrl?: string): { sessionId: string; loading: boolean; ensureSession: () => Promise; resetSession: () => void; }; export { useChatSession };