import type { GeneratedMigrationEntry, MigrationEntry, MigrationProjectState } from './migration-types.js'; /** * Renders the generated migration registry module for a block target. * * Prefers manifest wrapper modules when they are available in the project, * while still validating the imported manifest before the registry consumes it. * * @param state The resolved migration project state. * @param blockKey The stable key for the block whose registry is being generated. * @param entries The generated migration entries to include in the registry. * @returns The generated TypeScript source code for the migration registry file. */ export declare function renderMigrationRegistryFile(state: MigrationProjectState, blockKey: string, entries: GeneratedMigrationEntry[]): string; /** * Renders the generated deprecated module for a block target. * * The emitted module exposes the ordered deprecation array consumed by block * registration and migration helpers. * * @param state The resolved migration project state. * @param blockKey The stable key for the block whose deprecated entries are being generated. * @param entries The migration entries that define deprecated manifest versions. * @returns The generated TypeScript source code for the deprecated module. */ export declare function renderGeneratedDeprecatedFile(state: MigrationProjectState, blockKey: string, entries: MigrationEntry[]): string; export declare function renderGeneratedMigrationIndexFile(state: MigrationProjectState, entries: MigrationEntry[]): string; export declare function renderPhpMigrationRegistryFile(state: MigrationProjectState, entries: MigrationEntry[]): string;