/// import { ParsedPath } from "path"; export interface YParsedPath extends ParsedPath { root: string; dir: string; base: string; ext: string; name: string; relative: boolean; } export declare function yparsePath(s0: string): YParsedPath; export declare function yformatPath(parsedPath: ParsedPath): string; export declare function modifyFilepath(s: string): { parsed: YParsedPath; changeExt: (newExt: string) => any; addExt: (newExt: string) => any; addDir: (dir: string, offset?: number | undefined) => any; replaceDir: (oldDir: string, newDir: string) => any; splitDir: () => string[]; changeName: (newName: string) => any; addName: (nameSuffix: string) => any; ensureNameSuffix: (suffix: string) => any; ensureNamePrefix: (prefix: string) => any; join: (dir: string, offset?: number | undefined) => any; resolve: () => any; normalize: () => any; done: () => string; posix: () => string; win: () => string; win32: () => string; }; //# sourceMappingURL=modifyFilepath.d.ts.map