UNPKG

naive-upload

Version:

<p align="left"> <a href="https://www.npmjs.org/package/naive-upload"> <img src="https://img.shields.io/npm/v/naive-upload.svg"> </a> <a href="https://bundlephobia.com/package/naive-upload@latest"> <img src="https://img.shields.io/bundl

24 lines (23 loc) 808 B
export { F as default }; declare class F { static getInstance(e?: number, s?: boolean, i?: boolean): Promise<any>; constructor(e: any, s: any); debug: any; enableWorker: any; workerSupported: boolean; checkFile(e: any, s: any, i: any): Promise<any>; appendData(e: any, s: any): Promise<void>; getResult(e: any): Promise<any>; reset(): Promise<void>; resetByIndex(e: any): Promise<void>; closeByIndex(e: any): Promise<void>; workerPostMessage(e: any, s: any): Promise<any>; handler(e: any, s: any): Promise<any>; finished: boolean | undefined; cancel(): Promise<void>; canceled: boolean | undefined; paused: boolean | undefined; pause(): Promise<void>; continue(): Promise<void>; close(): Promise<void>; }