import { type PrefixMigrationResult } from "./prefixMigration"; export declare const OKF_VERSION = "0.1"; /** Version of the numeric-prefix → manifest migration (US8). */ export declare const EXPLORER_MIGRATION_VERSION = "1"; export interface MigrateResult { scanned: number; changed: number; unchanged: number; errors: string[]; /** Bundle-relative paths of the files that were (or would be) rewritten. */ changedList: string[]; } /** Persist the OKF migration flag so the CLI startup gate lets the project open. */ export declare function writeOkfFlag(docsPath: string): void; export declare function migrateDocsFolder(docsPath: string, opts?: { dryRun?: boolean; }): MigrateResult; export interface ProjectMigrationResult { prefixes: PrefixMigrationResult; okf: MigrateResult; } /** * Every deterministic migration a project needs before it opens, shared by the * CLI `migrate` command, the startup gate and `init`: numeric folder prefixes * to manifests first (it renames folders), then OKF frontmatter, whose index * and log files must see the final paths. Collisions are only reported, so the * explorer flag is stamped anyway. Idempotent. */ export declare function migrateProject(docsPath: string, opts?: { dryRun?: boolean; }): ProjectMigrationResult; //# sourceMappingURL=migrate.d.ts.map