import { type Nabi } from '../editor/index.js'; import type { Translator } from '../locale/index.js'; import type { StartedTask, UploadMount } from '../surface/index.js'; export interface UploadViewOptions { readonly nabi: Nabi; readonly surface: HTMLElement; readonly upload?: Pick; readonly locale?: string; readonly translator?: Translator; readonly bandwidth?: number; } export interface UploadView { start(tasks: readonly StartedTask[]): void; progress(id: string, percent: number): void; settle(): Promise; done(): void; unmount(): void; } export declare function mountUploadView(options: UploadViewOptions): UploadView; //# sourceMappingURL=upload.d.ts.map