import { n as __require } from "../chunk-ClPoSABd.mjs";

//#region src/db/libsql.ts
/**
* Create a libSQL dialect from config
*/
function createDialect(config) {
	const { LibsqlDialect } = __require("@libsql/kysely-libsql");
	return new LibsqlDialect({
		url: config.url,
		authToken: config.authToken
	});
}

//#endregion
export { createDialect };
//# sourceMappingURL=libsql.mjs.map