import type { IFileBrowserAnswer, IFileBrowserOptions, IViewBased, IPermissions, IFileBrowserDataProvider, ImageBox, Nullable, IFileBrowserDataProviderItemsMods, IFileBrowserItem, ISourcesFiles } from 'jodit/types'; export declare const DEFAULT_SOURCE_NAME = "default"; export default class DataProvider implements IFileBrowserDataProvider { readonly parent: IViewBased; readonly options: IFileBrowserOptions; private __currentPermissions; constructor(parent: IViewBased, options: IFileBrowserOptions); get o(): this['options']; private ajaxInstances; protected get(name: keyof IFileBrowserOptions): Promise; private progressHandler; onProgress(callback: (percentage: number) => void): void; permissions(path: string, source: string): Promise>; canI(action: string): boolean; items(path: string, source: string, mods?: IFileBrowserDataProviderItemsMods): Promise; private generateItemsList; tree(path: string, source: string): Promise; getPathByUrl(url: string): Promise; createFolder(name: string, path: string, source: string): Promise; move(filepath: string, path: string, source: string, isFile: boolean): Promise; private remove; fileRemove(path: string, file: string, source: string): Promise; folderRemove(path: string, file: string, source: string): Promise; private rename; folderRename(path: string, name: string, newname: string, source: string): Promise; fileRename(path: string, name: string, newname: string, source: string): Promise; private changeImage; crop(path: string, source: string, name: string, newname: string | void, box: ImageBox | void): Promise; resize(path: string, source: string, name: string, newname: string | void, box: ImageBox | void): Promise; getMessage(resp: IFileBrowserAnswer): string; isSuccess(resp: IFileBrowserAnswer): boolean; destruct(): any; }