import { Migration } from '@verdant-web/common'; import { ContextWithoutPersistence } from '../../context/context.js'; import { PersistenceNamespace } from '../interfaces.js'; import { PersistenceMetadata } from '../PersistenceMetadata.js'; export declare function migrate({ context, version, meta, }: { context: ContextWithoutPersistence; meta: PersistenceMetadata; version: number; }): Promise; export declare function runMigrations({ context, toRun, ns, meta, }: { context: ContextWithoutPersistence; toRun: Migration[]; ns: PersistenceNamespace; meta: PersistenceMetadata; }): Promise;