/**
 * Backfill structured-data fields on content documents.
 *
 * Legacy published pages often emit JSON-LD at render time but never persisted
 * `structuredDataType` / `schemaType` on `data` or JSON-LD on `structuredData`.
 * The SEO audit (pre-schema-sync) flagged those as missing even though the public
 * site was fine. This migration stamps the effective types and, for published
 * documents, materializes JSON-LD through the same `updateDocument` path as a
 * normal save. Idempotent — safe to re-run.
 */
import type { ActionContext } from '../actions.js';
export interface MigrateStructuredDataOptions {
    dryRun?: boolean;
    batchSize?: number;
    /** Restrict to these collection slugs (defaults to front-end content collections). */
    collections?: string[];
}
export interface MigrateStructuredDataResult {
    scanned: number;
    migrated: number;
    skipped: number;
    migratedIds: string[];
}
/**
 * Backfill schema type fields (and published JSON-LD) for content documents.
 */
export declare function migrateStructuredDataFields(ctx: ActionContext, options?: MigrateStructuredDataOptions): Promise<MigrateStructuredDataResult>;
//# sourceMappingURL=migrate-schema.d.ts.map