import type { ProjectSchemaMigrationContext } from '../migration/index.ts';
import type { AnyProjectSchemaJSON, ProjectSchemaJSON } from './index.ts';
export declare function migrateToLatestProjectSchema(context: ProjectSchemaMigrationContext, projectSchema: AnyProjectSchemaJSON): Promise<ProjectSchemaJSON>;
export declare function ensureLatest(context: ProjectSchemaMigrationContext, schema?: AnyProjectSchemaJSON): Promise<ProjectSchemaJSON | undefined>;
