import { dbTypes } from "@base-repo/constants/tools-constants";
export declare const drizzleDialects: {
    readonly postgresql: "postgresql";
    readonly sqlite: "sqlite";
};
export declare function getDrizzleDialectString(dialect: string): string;
export declare const dbErrorMessages: {
    readonly migrationErrorWithCode: "Migration command failed with exit code {0}";
    readonly migrationErrorWithMessage: "Migration command failed with message: {0}";
    readonly tableNotFound: "Table with name: {0} not found";
    readonly dbNotInitialized: "Database not initialized. Call initializeDb(schema) first.";
    readonly dbClientNotInitialized: "Database client not initialized. Call initializeDb(schema) first.";
    readonly drizzleUnexpectedObject: "Drizzle returned unexpected query object";
    readonly invalidObject: "Invalid query object: config definition is missing";
    readonly dbConnectionStringNotProvided: "Database connection string is not provided. Cannot perform DB operations.";
};
export declare const dbTransactions: {
    readonly rollback: "ROLLBACK";
    readonly beginTransaction: "BEGIN TRANSACTION";
};
export declare const dbPragmas: {
    readonly enableForeignKeys: "PRAGMA foreign_keys = ON;";
    readonly disableForeignKeys: "PRAGMA foreign_keys = OFF;";
};
export declare function isSupportedDbType(type: string): type is keyof typeof dbTypes;
export declare const dbUrlSearchParams: {
    readonly require: "require";
};
