import { previewImage } from './api/image'; import { chooseVideo, createVideoContext } from './api/video'; import { createAnimation } from './createAnimation'; import { createSelectorQuery } from './createSelectorQuery'; export declare const ENV_TYPE: { WEAPP: string; WEB: string; RN: string; SWAN: string; ALIPAY: string; QUICKAPP: string; TT: string; QQ: string; JD: string; }; export declare function getEnv(): string; declare const _default: { ENV_TYPE: { WEAPP: string; WEB: string; RN: string; SWAN: string; ALIPAY: string; QUICKAPP: string; TT: string; QQ: string; JD: string; }; getEnv: typeof getEnv; createAnimation: typeof createAnimation; createSelectorQuery: typeof createSelectorQuery; navigateTo: (val: any) => void; getCurrentPages: () => number[]; downloadFile: ({ url, header, success, fail, complete }: { url: string; header?: any; filePath?: string; success?: Function; fail?: Function; complete?: Function; }) => DownloadTask; uploadFile: ({ url, filePath, name, header, formData, timeout, fileName, success, fail, complete, }: { url: string; filePath: string; name: string; header?: any; formData?: any; timeout?: number; fileName?: string; success?: Function; fail?: Function; complete?: Function; }) => UploadTask; getImageInfo: ({ src, success, fail, complete }?: { src: string; success?: (res: import("./api/image/getImageInfo").ImageInfo) => void; fail?: Function; complete?: Function; }) => Promise; chooseImage: (options: any) => Promise; previewImage: typeof previewImage; chooseVideo: typeof chooseVideo; createVideoContext: typeof createVideoContext; pxTransform: (num: number, width: number) => string; hideLoading: () => void; request: (options: any) => void; }; export default _default;