import type { Errors } from '../native/ZoomVideoSdk'; /** * Share control interface. */ export declare type ZoomVideoSdkShareHelperType = { /** * Start sharing the screen. */ shareScreen: () => void; /** * Stop view or screen share. */ stopShare: () => Promise; /** * Lock sharing the view or screen. Only the host can call this method. */ lockShare: (lock: boolean) => Promise; /** * Determine whether other user is sharing. */ isOtherSharing: () => Promise; /** * Determine whether the current user is sharing the screen. */ isScreenSharingOut: () => Promise; /** * Determine whether sharing the view or screen is locked. */ isShareLocked: () => Promise; /** * Determine whether the current user is sharing. */ isSharingOut: () => Promise; /** * Determine whether annotation feature is supported. */ isAnnotationFeatureSupport: () => Promise; /** * Disable viewer annotation. */ disableViewerAnnotation: (disable: boolean) => Promise; /** * Determine whether viewer annotation is disabled. */ isViewerAnnotationDisabled: () => Promise; /** * Enble share audio when screen sharing. */ enableShareDeviceAudio: (enable: boolean) => Promise; /** * Pause screen share. */ pauseShare: () => Promise; /** * Resume screen share. */ resumeShare: () => Promise; /** * iOS only: Share the select camera. Query the select camera using {@link ZoomVideoSdkVideoHelper#getCameraList()}. * The presenter can use {@link #pauseShare()} to enable viewer annotation. * If the camera is paused, the presenter can use {@link #resumeShare()} to resume. * Notice: The user should start video before starting to share a camera, * otherwise the SDK returns error {@link ZoomVideoSDKErrors#Errors_Session_Share_Camera_Video_Not_Start}. * To share camera view on Android, add CameraView component directly in the screen. */ startShareCamera: () => Promise; }; export declare class ZoomVideoSdkShareHelper implements ZoomVideoSdkShareHelperType { shareScreen(): Promise; stopShare(): Promise; lockShare(lock: boolean): Promise; isOtherSharing(): Promise; isScreenSharingOut(): Promise; isShareLocked(): Promise; isSharingOut(): Promise; isAnnotationFeatureSupport(): Promise; disableViewerAnnotation(disable: boolean): Promise; isViewerAnnotationDisabled(): Promise; enableShareDeviceAudio(enable: boolean): Promise; pauseShare(): Promise; resumeShare(): Promise; startShareCamera(): Promise; }