import type { HandlerError, HandlerSuccess, IUploader, IUploaderOptions, IViewBased, MediaUploadType } from 'jodit/types'; import { ViewComponent } from 'jodit/core/component/'; import './config'; export declare class Uploader extends ViewComponent implements IUploader { readonly jodit: IViewBased; get j(): IViewBased; className(): string; path: string; source: string; readonly options: IUploaderOptions; get o(): this['options']; setPath(path: string): this; setSource(source: string): this; bind(form: HTMLElement, handlerSuccess?: HandlerSuccess, handlerError?: HandlerError, mediaUploadType?: MediaUploadType): void; private attachEvents; uploadRemoteImage(url: string, handlerSuccess?: HandlerSuccess, handlerError?: HandlerError): void; constructor(editor: IViewBased, options?: IUploaderOptions); destruct(): any; }