export interface FolderRename { /** POSIX path of the folder before the migration, relative to the docs folder. */ from: string; /** POSIX path of the folder once every rename is applied. */ to: string; } export interface PrefixMigrationResult { renamed: FolderRename[]; /** Folders left prefixed because the target name is already taken. */ collisions: FolderRename[]; /** Markdown files whose links were (or would be) rewritten, at their final path. */ linksRewritten: string[]; /** Root folders added to the root manifest `hidden`. */ hiddenAdded: string[]; } /** `001_A` → `A`; null when the name has no numeric prefix. */ export declare function stripNumericPrefix(name: string): string | null; export declare function migrateFolderPrefixes(docsPath: string, opts?: { dryRun?: boolean; }): PrefixMigrationResult; //# sourceMappingURL=prefixMigration.d.ts.map