import { IServiceID } from "../../../types/kernel.js"; import "../../../types/index.js"; declare const UPLOAD_PRIORITY_LOW = 2; declare const UPLOAD_PRIORITY_MEDIUM = 1; declare const UPLOAD_PRIORITY_HIGH = 0; type UPLOAD_PRIORITY = typeof UPLOAD_PRIORITY_LOW | typeof UPLOAD_PRIORITY_MEDIUM | typeof UPLOAD_PRIORITY_HIGH; interface IUploadService { registerUpload(handler: (file: File, from: string, range: Range | null | undefined) => Promise, priority?: UPLOAD_PRIORITY): void; uploadFile(file: File, from: string, range: Range | null | undefined): Promise; } declare const IUploadService: IServiceID; export { IUploadService, UPLOAD_PRIORITY, UPLOAD_PRIORITY_HIGH, UPLOAD_PRIORITY_LOW, UPLOAD_PRIORITY_MEDIUM };