UNPKG

@signalwire/core

Version:
16 lines 638 B
import { BaseSession } from '../../BaseSession'; import { ClientEvents, InternalUserOptions, SessionConstructor } from '../../utils/interfaces'; import { SessionChannel } from '../interfaces'; interface UseSessionOptions { userOptions: InternalUserOptions; SessionConstructor: SessionConstructor; sessionChannel: SessionChannel; } export declare const useSession: (options: UseSessionOptions) => { session: null; initSession: () => BaseSession; getSession: () => BaseSession | null; sessionEmitter: import("eventemitter3").EventEmitter<ClientEvents, any>; }; export {}; //# sourceMappingURL=useSession.d.ts.map