export interface SanitizeRenameEntry { readonly from: string; readonly to: string; readonly status: "renamed" | "would-rename" | "conflict" | "skipped"; } export interface SanitizePathsResult { readonly ok: boolean; readonly root: string; readonly dryRun: boolean; readonly renamed: readonly SanitizeRenameEntry[]; readonly conflicts: readonly SanitizeRenameEntry[]; } /** * DEC-064: rename pre-DEC-062 store entries whose names contain `:` (or other * Windows-forbidden characters) to their `safePathSegment` form. This makes a * store created by `@sentropic/h2a@<=0.1.23` usable on Windows and * consistent with the current layout on every OS. * * The pass is conservative: * - It only renames entries whose sanitized name differs from the original. * - If the sanitized target already exists, it records a `conflict` and does * NOT overwrite (the caller decides what to do). * - With `dryRun`, nothing is written; entries are reported as `would-rename`. * * Pure-ish: only filesystem renames, no schema sentinel change (the layout * version stays "1"; this is a within-version cleanup, not a schema bump). */ export declare function sanitizeStorePaths(root: string, options?: { dryRun?: boolean; }): SanitizePathsResult; //# sourceMappingURL=migrate.d.ts.map