export interface loginSuccessResult { streamId?: string; userId?: string; roomId?: string; } export interface streamState { code: number; state: string; streamId: string; } export declare type errMsg = { code: number; msg: string; }; export declare type changeConstraintsResult = { code: number; msg: string; stream?: MediaStream | null; };