import { AccessHubMessageType, StreamType } from '../../entity/AccessHubDefine'; import { ZegoWssLink } from '../net/ZegoWssLink'; export declare class ZegoLinkStream { type: StreamType; private _zgp_streamID; private _zgp_zegoLink; _zgp_isFree: boolean; _zgp_isFirst: boolean; _zgp_timestamp: number; id: number; constructor(type: StreamType, _zgp_streamID: number, _zgp_zegoLink: ZegoWssLink); get StreamID(): number; private _zgp_updateTimestamp; refresh(streamID: number): void; _zgp_sendMessage(type: AccessHubMessageType, body: any, successFunc?: Function | null, errorFunc?: Function | null, ackFunc?: Function | null, option?: { timeout?: number; isInSendMap?: boolean; extras?: any; isMsgCache?: boolean; }): void; onPushEvent(msgType: AccessHubMessageType, msg: any, extras?: any): void; _zgp_closeStream(code: number, msg: string): void; destroyed(): void; isConnect(): boolean; onDestroyed(): void; }