/** * Parses a relative path to extract version folder information. * * - A valid versioned path contains exactly one segment starting with `@`, * excluding `@i18n/` and `@l10n/` prefixes. * - When valid, returns the version folder path, the file path within that * version, and the version name. Otherwise, returns `null`. * * @param relativePath - The relative path to parse (e.g., "@v1/docs/intro.md"). * @returns An object with `versionFolderPath`, `filePathInVersion`, and `versionName`, or `null`. * * @example * ```ts * parsePathVersions('@v1/docs/intro.md'); * // { versionFolderPath: '@v1/', filePathInVersion: 'docs/intro.md', versionName: 'v1' } * * parsePathVersions('docs/intro.md'); * // null * ``` */ export declare function parsePathVersions(relativePath: string): { versionFolderPath: string; filePathInVersion: string; versionName: string; } | null; //# sourceMappingURL=parse-path-versions.d.ts.map