import { Relations } from "drizzle-orm";
import { AnyMySqlTable } from "drizzle-orm/mysql-core";
import { AnyPgTable } from "drizzle-orm/pg-core";
import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
import { StudioConfigConnections } from "src/cli/validations/studio";
export declare const prepareModels: (path: string | string[]) => Promise<{
    pgSchema: Record<string, AnyPgTable<{}> | Relations<string, Record<string, import("drizzle-orm").Relation<string>>>>;
    mysqlSchema: Record<string, AnyMySqlTable<{}> | Relations<string, Record<string, import("drizzle-orm").Relation<string>>>>;
    sqliteSchema: Record<string, Relations<string, Record<string, import("drizzle-orm").Relation<string>>> | AnySQLiteTable<{}>>;
}>;
export declare const drizzleDb: (drizzleConfig: StudioConfigConnections, models: {
    pgSchema?: Record<string, AnyPgTable | Relations>;
    mysqlSchema?: Record<string, AnyMySqlTable | Relations>;
    sqliteSchema?: Record<string, AnySQLiteTable | Relations>;
}, logger: boolean) => Promise<{
    db: import("drizzle-orm/node-postgres").NodePgDatabase<Record<string, never>>;
    type: "pg";
    schema: Record<string, AnyPgTable<{}> | Relations<string, Record<string, import("drizzle-orm").Relation<string>>>> | undefined;
} | {
    db: import("drizzle-orm/mysql2").MySql2Database<Record<string, never>>;
    type: "mysql";
    schema: Record<string, AnyMySqlTable<{}> | Relations<string, Record<string, import("drizzle-orm").Relation<string>>>> | undefined;
} | {
    db: import("../orm-extenstions/d1-driver/driver").DrizzleD1WranglerDatabase<Record<string, never>>;
    type: "sqlite";
    schema: Record<string, Relations<string, Record<string, import("drizzle-orm").Relation<string>>> | AnySQLiteTable<{}>> | undefined;
} | {
    db: import("drizzle-orm/better-sqlite3").BetterSQLite3Database<Record<string, never>>;
    type: "sqlite";
    schema: Record<string, Relations<string, Record<string, import("drizzle-orm").Relation<string>>> | AnySQLiteTable<{}>> | undefined;
} | {
    db: import("drizzle-orm/libsql").LibSQLDatabase<Record<string, never>>;
    type: "sqlite";
    schema: Record<string, Relations<string, Record<string, import("drizzle-orm").Relation<string>>> | AnySQLiteTable<{}>> | undefined;
}>;
