import type { FlowMetadata } from '../models/FlowMetadata';
/**
 * Current metadata schema version. Bump this when the metadata JSON structure
 * changes in a way that requires read-time normalization.
 */
export declare const CURRENT_METADATA_VERSION = 1;
/**
 * Normalizes flow metadata written by older SDK versions to the current schema.
 *
 * Rows written by SDK v5+ carry a `metadataVersion` field. Rows without it
 * were written by an older SDK and may use a legacy format (e.g. top-level
 * `browser` / `targetWebsite` instead of the `{ target, web }` wrapper
 * introduced in migration v9).
 */
export declare function normalizeFlowMetadata(raw: Record<string, unknown>): FlowMetadata;
//# sourceMappingURL=normalizeFlowMetadata.d.ts.map