/** * Cleans up the path input to ensure it confirms * to what textile buckets is expecting. * * @param path */ export declare const sanitizePath: (path: string) => string; export declare const isTopLevelPath: (path: string) => boolean; export declare const getParentPath: (path: string) => string; export interface OrderPathByParentsResult { traverseLevels: (cb: (levelLeafs: T[]) => Promise) => Promise; } export declare const reOrderPathByParents: (paths: T[], extractor: (path: T) => string) => OrderPathByParentsResult; export declare const filePathFromIpfsPath: (ipfsPath: string) => string;