import { StrictSchema } from '@based/schema';
import { DbServer } from '../index.js';
type TransformFn = (node: Record<string, any>) => Record<string, any> | [string, Record<string, any>];
export type TransformFns = Record<string, TransformFn>;
export declare const migrate: (fromDbServer: DbServer, toSchema: StrictSchema, transform?: TransformFns) => Promise<DbServer["schema"]>;
export {};
