import { HMSPollCreateParams, HMSPollQuestionCreateParams, HMSPollQuestionResponse } from './polls'; import { HMSWhiteboardCreateOptions } from './whiteboard'; export interface HMSWhiteboardInteractivityCenter { isEnabled: boolean; open(createOptions?: HMSWhiteboardCreateOptions): Promise; close(id?: string): Promise; } export interface HMSInteractivityCenter { createPoll(poll: HMSPollCreateParams): Promise; addQuestionsToPoll(pollID: string, questions: HMSPollQuestionCreateParams[]): Promise; startPoll(poll: string | HMSPollCreateParams): Promise; stopPoll(pollID: string): Promise; addResponsesToPoll(pollID: string, response: HMSPollQuestionResponse[]): Promise; getResponses(pollID: string): Promise>; /** @alpha */ whiteboard: HMSWhiteboardInteractivityCenter; }