declare type SourceType = 'album' | 'camera'; export interface ChooseVideoParams { sourceType?: SourceType[]; maxDuration?: string; } export interface ChooseVideoResult { filePath: string; duration: string; size: number; height: number; width: number; } declare function chooseVideo(args: ChooseVideoParams): Promise; declare namespace chooseVideo { var version: { android: string; ios: string; }; } export default chooseVideo;