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,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAAC;IAE3E;;;OAGG;IACH,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAAC;IAEvF;;;OAGG;IACH,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,KAAK,EAAE,EAAE,CAAC,EAAE,MAAM,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAAC;IAEhH,yBAAyB;IACzB,kBAAkB,IAAI,IAAI,CAAC;IAE3B,oDAAoD;IACpD,0BAA0B,CAAC,EAAE,CAAC,EAAE,MAAM,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAAC;IAE7E;;;OAGG;IACH,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAAC;CAE5F;AAED,MAAM,WAAW,iBAAiB;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,wBAAwB,EAAE,CAAC;IACzC,iBAAiB,EAAE,iBAAiB,CAAC;CACxC","file":"IMeeting.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport { PropertyCollection, SpeechTranslationConfig } from \"../Exports.js\";\nimport { IParticipant, IUser, TranscriptionParticipant } from \"./IParticipant.js\";\n\nexport type Callback = (result?: any) => void;\n\n/**\n * Manages meetings.\n */\nexport interface IMeeting {\n\n    config: SpeechTranslationConfig;\n\n    /**\n     * Gets/sets authorization token used to communicate with the service.\n     * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token\n     * expires, the caller needs to refresh it by calling this setter with a new valid token.\n     * Otherwise, the recognizer will encounter errors during recognition.\n     */\n    authorizationToken: string;\n\n    /** Gets the unique identifier for the current meeting. */\n    readonly meetingId: string;\n\n    /** Gets the collection of properties and their values defined for this instance. */\n    readonly properties: PropertyCollection;\n\n    /** Gets the language name that is used for recognition. */\n    readonly speechRecognitionLanguage: string;\n\n    /** Start a meeting.\n     * The host must connect to the websocket within a minute for the meeting to remain open.\n     */\n    startMeetingAsync(cb?: () => void, err?: (e: string) => void): void;\n\n    /** Delete a meeting. After this no one will be able to join the meeting. */\n    deleteMeetingAsync(cb?: () => void, err?: (e: string) => void): void;\n\n    /** End a meeting. */\n    endMeetingAsync(cb?: () => void, err?: (e: string) => void): void;\n\n    /** Lock a meeting. This will prevent new participants from joining. */\n    lockMeetingAsync(cb?: () => void, err?: (e: string) => void): void;\n\n    /**\n     * Mute all other participants in the meeting. After this no other participants will\n     * have their speech recognitions broadcast, nor be able to send text messages.\n     */\n    muteAllParticipantsAsync(cb?: () => void, err?: (e: string) => void): void;\n\n    /**\n     * Mute a participant.\n     * @param userId A user identifier\n     */\n    muteParticipantAsync(userId: string, cb?: () => void, err?: (e: string) => void): void;\n\n    /**\n     * Remove a participant from a meeting using the user id, Participant or User object\n     * @param userId A user identifier\n     */\n    removeParticipantAsync(userId: string | IParticipant | IUser, cb?: () => void, err?: (e: string) => void): void;\n\n    /** Unlocks a meeting. */\n    unlockMeetingAsync(): void;\n\n    /** Unmute all other participants in the meeting. */\n    unmuteAllParticipantsAsync(cb?: () => void, err?: (e: string) => void): void;\n\n    /**\n     * Unmute a participant.\n     * @param userId A user identifier\n     */\n    unmuteParticipantAsync(userId: string, cb?: () => void, err?: (e: string) => void): void;\n\n}\n\nexport interface MeetingProperties {\n    [key: string]: any;\n    id?: string;\n    attendees?: TranscriptionParticipant[];\n    record?: string;\n}\n\nexport interface MeetingInfo {\n    id: string;\n    participants: TranscriptionParticipant[];\n    meetingProperties: MeetingProperties;\n}\n"]}