UNPKG

666 BTypeScriptView Raw
1import Taro from '@tarojs/api';
2export declare const saveVideoToPhotosAlbum: () => Promise<{
3 errMsg: string;
4}>;
5export declare const openVideoEditor: () => Promise<{
6 errMsg: string;
7}>;
8export declare const getVideoInfo: () => Promise<{
9 errMsg: string;
10}>;
11/**
12 * 创建 video 上下文 VideoContext 对象。
13 */
14export declare const createVideoContext: typeof Taro.createVideoContext;
15export declare const compressVideo: () => Promise<{
16 errMsg: string;
17}>;
18/**
19 * 拍摄视频或从手机相册中选视频。
20 */
21export declare const chooseVideo: typeof Taro.chooseVideo;
22export declare const chooseMedia: () => Promise<{
23 errMsg: string;
24}>;