import { type MigrationEntry } from "./migrations.js"; import type { StoreMigration } from "./store-registry.js"; /** * Turns `runMigrations` entries into store migrations that keep each entry's * identity: a named entry keeps its name, an unnamed one becomes `v`, * and each carries a `legacy` reference so a database that already applied it * through the old list records it instead of running it again. Multi-statement * SQL is split here because the store runner sends one statement per call. */ export declare function fromMigrationEntries(table: string, entries: readonly MigrationEntry[], options?: { data?: readonly (string | number)[]; /** The list also ran at plugin boot on main, not only at release. */ ranAtBoot?: boolean; }): StoreMigration[];