import { IApplication } from './types/api.interfaces'; import { IBadge, ICall, IWebexAppsSidebar } from './types/sidebar.interfaces'; /** * Webex Embedded Apps Sidebar instance. * @example * This can be accessed as follows, * ```javascript * const app = new webex.Application(); * await app.onReady(); * const meeting = app.meeting; * const meetingInfo = meeting.states; * ``` * `meetingInfo` properties are documented at {@link IWebexAppsMeetingState} * @public */ declare class WebexAppsSidebar implements IWebexAppsSidebar { sdk: IApplication; badge: IBadge; constructor(sdk: any, badge: IBadge); /** * This method returns list of all calls from the native client * * This API can also reject with one of the following error codes * * 0 = SUCCESS, 1 = GENERIC_ERROR, 5 = BAD_CONTEXT, 6 = NOT_SUPPORTED * @public */ getCalls(): Promise; /** * This method is used to update the badge that'll be shown in the native clients * * @param badge - Badge object of type {@link IBadge} * @public */ showBadge(badge: IBadge): Promise; /** * This API is used when one wants to clear the current badge shown in the native clients * * @public */ clearBadge(): Promise; /** * This method is used to display a notification in the native client sidebar * * @param message - The notification message to display * @param redirectURL - URL to navigate to when notification is clicked * @public */ showNotification(message: string, redirectURL: string): Promise; readonly 'sidebar:callStateChanged': ICall; } export default WebexAppsSidebar; //# sourceMappingURL=sidebar.d.ts.map