import { ACTION, baseParamsType, ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../cmd-protocol"; import { channelIdType } from "./channel"; import { MediaMd5, MediaOffer } from "./message"; /** * Frontent command for offer media. */ export declare class CMDP_SOPENMEDIAOFFER implements ICOMMAND { action: ACTION; params: baseParamsType & channelIdType & MediaMd5 & MediaOffer & { text?: string; }; } /** * Response command for CMDP_SOPENMEDIAOFFER. */ export declare class CMDP_SOPENMEDIAOFFER_RESPONSE extends CMDP_SOPENMEDIAOFFER implements IRESPONSE { result: RESULT; commands: ICOMMAND[]; values: IKeyMaybeValue; } /** * Frontend command for close of offer. */ export declare class CMDP_SCLOSEMEDIAOFFER implements ICOMMAND { action: ACTION; params: baseParamsType & channelIdType & { messageId?: string; }; } /** * Response command for CMDP_SCLOSEMEDIAOFFER. */ export declare class CMDP_SCLOSEMEDIAOFFER_RESPONSE extends CMDP_SCLOSEMEDIAOFFER implements IRESPONSE { result: RESULT; commands: ICOMMAND[]; values: IKeyMaybeValue; }