UNPKG

agora-meeting-sdk

Version:

For publishing npm package agora-metting-sdk (Web). Get more information from https://docs.agora.io

39 lines (38 loc) 1.46 kB
/// <reference types="node" /> import { NotifyMessageType, UserInfo } from '../../../agora-meeting-core/src'; import { EventEmitter } from 'events'; import { ApplianceNames } from '../../../agora-meeting-core/src'; export declare function transformNotifyMessageContent(type: NotifyMessageType, sender: UserInfo, payload: any): string; export declare function sleep(number: number): Promise<unknown>; export declare function copyText(text: string): void; export declare const debounce: (foo: any, t: number) => () => void; export declare type BytesType = number | string; export declare class ZoomController extends EventEmitter { private static readonly syncDuration; private static readonly dividingRule; private tempRuleIndex?; private syncRuleIndexTimer; private zoomScale; constructor(zoomScale?: number); private delaySyncRuleIndex; private static readRuleIndexByScale; protected moveRuleIndex(deltaIndex: number, scale: number): number; } export declare const transLineTool: { pen: ApplianceNames; square: ApplianceNames; circle: ApplianceNames; line: ApplianceNames; }; export declare const transToolBar: { pen: ApplianceNames; square: ApplianceNames; circle: ApplianceNames; line: ApplianceNames; selection: ApplianceNames; text: ApplianceNames; hand: ApplianceNames; eraser: ApplianceNames; laserPointer: ApplianceNames; }; export declare const mapToolBar: any;