import { IFile } from "../Interface"; import { FileInfo } from "../../../model/Entity"; import { SdkResult } from "../Entity"; import { HChooseVideoOption } from "../../../model/Entity/HChooseVideoOption"; import { HChooseImageOptions } from "../../../model/Entity/HChooseImageOption"; import { PCSdkBase } from "./PcSdkBase"; import { HChooseVideoSuccess } from "../../../model/Entity/HChooseVideoSuccess"; export declare class File extends PCSdkBase implements IFile { PrintHtml(html: string): Promise>; GetSealImage(index: 0 | 1 | 2): Promise>; GetSignature(): Promise>; PlayMusic(url: string): Promise>; PreViewVideo(url: string): Promise>; AudioRecord(): Promise>; SaveBase64File(base64Data: string, ext: string): Promise>; ZipCompress(dirPath: string, zipFilePath: string): Promise>; ZipDecompress(filPath: string, targetDir: string): Promise>; GetTempDir(): Promise>; GetFileInfo(filePath: string): Promise>; ChooseImage(option?: HChooseImageOptions): Promise>; ChooseVideo(option?: HChooseVideoOption): Promise>; Upload(filePath: string, key: string, progressFun: Function): Promise>; PreViewOnlineFile(fileName: string, url: string, extName: string, appId: string, closeSelf: boolean, isdown?: boolean): Promise>; Download(filePath: string, progressFun: Function, savePath?: string): Promise>; PreViewImage(url: string, imgList: string[]): Promise>; ViewFile(fileUrl: string, fileName: string, extName: string, size: number): Promise>; } declare const _default: File; export default _default;