import type { DatabaseConnection, Driver, Dialect } from "kysely";
import type { LixEnvironment } from "../../environment/api.js";
type LixEnvironmentDriverConfig = {
    backend: LixEnvironment;
};
export declare class EnvironmentDriver implements Driver {
    #private;
    constructor(config: LixEnvironmentDriverConfig);
    init(): Promise<void>;
    acquireConnection(): Promise<DatabaseConnection>;
    beginTransaction(connection: DatabaseConnection): Promise<void>;
    commitTransaction(connection: DatabaseConnection): Promise<void>;
    rollbackTransaction(connection: DatabaseConnection): Promise<void>;
    releaseConnection(): Promise<void>;
    destroy(): Promise<void>;
}
export declare function createEnvironmentDialect(args: {
    environment: LixEnvironment;
}): Dialect;
export {};
//# sourceMappingURL=environment-dialect.d.ts.map