export declare const MIGRATION_DIALECTS: readonly ["postgres", "sqlite"]; export type MigrationDialect = (typeof MIGRATION_DIALECTS)[number]; /** * Absolute path of `migrations/`, or null when it cannot be found. * * Searches the callers' likely roots in order: the module's own directory chain (which * covers src/, bin/, dist/, and node_modules installs) and then the working directory * chain (which covers `bun run migrate` invoked from a subdirectory). */ export declare function findMigrationsRoot(startDirs?: string[]): string | null; /** * Absolute path of the migration directory for one dialect. * * @throws when the directory cannot be located, naming the dialect. Throwing beats * returning an empty list: "0 migrations applied" against a fresh database looks like * success right up until the first query fails on a missing table. */ export declare function resolveMigrationsDir(dialect: MigrationDialect, root?: string | null): string;