import type { EventSource, IFileUploader, ILocalFileReader, IMediaPluginService, INotifier, IUpdateService, IUploadService, PublisherProvider } from 'ricos-types'; export type UploadTopics = [ 'ricos.upload.functionality.uploadStarted', 'ricos.upload.functionality.uploadFinished' ]; export declare class UploadService implements IUploadService, EventSource { streamReader: ILocalFileReader; getErrorNotifier: () => INotifier; updateService: IUpdateService; getHiddenInputElement: () => HTMLInputElement; onInputChange: ((this: HTMLInputElement, event: any) => any) | null; constructor(streamReader: ILocalFileReader, updateService: IUpdateService); topicsToPublish: UploadTopics; publishers: PublisherProvider; setErrorNotifier(getErrorNotifer: () => INotifier): void; setHiddenInputElement(getHiddenInputElement: () => HTMLInputElement): void; selectFiles(accept: string | undefined, multiple: boolean, callback: (files: File[]) => void): void; uploadFile(file: File, nodeId: string, uploader: IFileUploader, type: string, MediaPluginService: IMediaPluginService, fileState?: Record): Promise; } //# sourceMappingURL=UploadService.d.ts.map