/*! * Jodit Editor PRO (https://xdsoft.net/jodit/) * See LICENSE.md in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/ */ import DataProvider from "jodit/esm/modules/file-browser/data-provider"; import type { IFileBrowserDataProviderPro } from "../interface"; /** * Extends the core data provider with copy operations * (`fileCopy`/`folderCopy` connector actions). */ export declare class DataProviderPro extends DataProvider implements IFileBrowserDataProviderPro { /** * Copy a file / directory on the server * * @param filepath - The relative path to the file / folder source * @param path - Relative to the directory where you want to copy the file / folder */ copy(filepath: string, path: string, source: string, isFile: boolean): Promise; /** * Whether the connector allows copying. The core `canI` throws on rules * it does not know (`allowFileCopy`/`allowFolderCopy` are PRO-only), so * the same permission logic is replicated here. */ canCopy(isFile: boolean): boolean; }