/** * Convert a markdown file path to its docspec path under .docspec/. * e.g. README.md -> .docspec/README.docspec.md, docs/deploy.md -> .docspec/docs/deploy.docspec.md * Absolute paths (e.g. /var/folders/.../file.md) are mapped to .docspec/.docspec.md * so we never create .docspec/var/... under the repo. */ export declare function markdownToDocspecPath(mdPath: string): string; /** * Convert a docspec file path (under .docspec/) to its target markdown path. * e.g. .docspec/README.docspec.md -> README.md, .docspec/docs/deploy.docspec.md -> docs/deploy.md */ export declare function docspecToMarkdownPath(docspecPath: string): string; /** * Check if a path is under .docspec/ and ends with .docspec.md */ export declare function isDocspecPath(filePath: string): boolean; //# sourceMappingURL=path-utils.d.ts.map