import type { FileManagerBreadcrumbItem, FileManagerList, FileManagerStorage } from "../../types.js";
export interface FileManagerCropMetadata {
    x: number;
    y: number;
    width: number;
    height: number;
    path: string;
}
interface EncodeFileManagerCropMetadataParams {
    path: string;
    x: number;
    y: number;
    width: number;
    height: number;
}
interface UploadFilesToCurrentPathParams {
    site: string;
    currentPath: string;
    files: FileList;
    extensions?: string[];
}
export declare function parseFileManagerMetadata(metadata?: string | null): FileManagerCropMetadata | undefined;
export declare function encodeFileManagerCropMetadata(params: EncodeFileManagerCropMetadataParams): string;
export declare function buildFileManagerImageSrc(edenApi: string, site: string, path: string): string;
export declare function loadFileManagerData(currentPath: string): Promise<{
    files: FileManagerList;
    storage: FileManagerStorage;
}>;
export declare function uploadFilesToCurrentPath({ site, currentPath, files, extensions, }: UploadFilesToCurrentPathParams): Promise<void>;
export declare function resolvePreviousBreadcrumbPath(breadcrumb?: FileManagerBreadcrumbItem[]): string | undefined;
export {};
//# sourceMappingURL=eden-file-manager-flow.d.ts.map