/** Compare generated PHP while allowing formatting-only whitespace changes. */ export declare function isEquivalentGeneratedPhp(source: string, expected: string): boolean; /** Build the historical wp-typia glob loader for safe migration matching. */ export declare function buildLegacyGeneratedGlobLoader(options: { functionName: string; globPath: string; includeKind: 'require' | 'require_once'; moduleVariable: string; }): string; /** Build a historical loader that assigned one or more globs before loading. */ export declare function buildLegacyGeneratedGlobArrayLoader(options: { functionName: string; globPaths: readonly string[]; includeKind: 'require' | 'require_once'; moduleVariable: string; modulesVariable: string; }): string; /** Reconstruct the former generated `$asset_path` include shape. */ export declare function buildLegacyGeneratedVariableAssetEnqueue(options: { assetPath: string; currentFunction: string; scriptPath: string; }): string; /** Build the generated and historical REST schema helper loader shapes. */ export declare function buildRestSchemaHelperCompatibilityFunctions(options: { functionName: string; helperPath: string; }): { currentFunctions: string[]; legacyFunctions: string[]; replacement: string; }; /** Replace a function only when its current body is a known generated shape. */ export declare function replaceLegacyGeneratedPhpFunction(options: { bootstrapPath: string; functionName: string; legacyFunctions: readonly string[]; replacement: string; source: string; }): string; /** * Replace a generated legacy loader with a literal manifest include. * Customized functions are never overwritten. */ export declare function migrateGeneratedPhpLoaderFunction(options: { bootstrapPath: string; functionName: string; legacyFunctions: readonly string[]; manifestPath: string; replacement: string; source: string; }): string;