import { e as XiorPlugin } from '../types-BvXZzfqR.js'; interface XiorProgressOptions { /** default: 5*1000ms, 5 seconds */ progressDuration?: number; } type BrowserProgressEvent = any; interface XiorProgressEvent { loaded: number; total: number; progress: number; bytes: number; rate?: number; estimated?: number; upload?: boolean; download?: boolean; event?: BrowserProgressEvent; lengthComputable: boolean; } interface XiorProgressRequestOptions extends XiorProgressOptions { onUploadProgress?: (progressEvent: XiorProgressEvent) => void; onDownloadProgress?: (progressEvent: XiorProgressEvent) => void; } /** @ts-ignore */ declare module 'xior' { interface XiorRequestConfig extends XiorProgressRequestOptions { } } /** upload progress / download progress */ declare function xiorProgressPlugin(options?: XiorProgressOptions): XiorPlugin; export { XiorProgressEvent, XiorProgressOptions, XiorProgressRequestOptions, xiorProgressPlugin as default };