/*! * 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 type { IFinderClipboardItem } from "../interface"; export declare const parentPath: (path: string) => string; /** * Removes duplicated/leading/trailing slashes: `'/test//a/' -> 'test/a'`, * `'/' -> '/'`. Unlike the core `normalizeRelativePath` it never keeps a * trailing slash, so paths are always comparable with `parentPath` output. */ export declare const normalizeItemPath: (path: string) => string; /** * Full path of a folder item. Tree items already keep the folder name inside * `path`, items converted from a tile keep only the parent directory there * (with a trailing slash) and the name separately. */ export declare const folderFullPath: (item: { path: string; name: string; }) => string; /** * Whether the list item is cut and waits to be moved (such items are shown * dimmed). Copied items are intentionally not matched — copying does not * remove the original. */ export declare const isCutItem: (clipboard: IFinderClipboardItem[], item: { path: string; file?: string; name?: string; sourceName: string; }) => boolean;