export declare const LEGACY_TO_MODERN_NAMES: Record<string, string>;
/**
 * Rewrite a legacy spec file path to its modern equivalent.
 * Handles docs/sdd/specs → planu/specs, legacy filenames, and flattening.
 */
export declare function rewritePath(path: string): string;
/**
 * Flatten nested spec paths to the new flat structure.
 * Converts `planu/specs/{category}/{slug}/file.md` to `planu/specs/{slug}/file.md`.
 * Already-flat paths are returned unchanged.
 */
export declare function flattenSpecPath(p: string): string;
//# sourceMappingURL=path-utils.d.ts.map