/** * useTheaterSession - centralized Theater connection and session management */ import type { ChatSession, ChannelStream, SetupStatus, TheaterConfig } from '../types/common.js'; /** * Hook for managing Theater actor sessions and channel communication */ export declare function useTheaterSession(client: any, config: TheaterConfig): { setupStatus: SetupStatus; setupMessage: string; session: ChatSession | null; channel: ChannelStream | null; sendMessage: (message: string) => Promise; cleanup: () => Promise; isReady: boolean; };