import { createBetterAuthService } from "../auth/better-auth.js";
import { definePiboPlugin } from "./registry.js";
export function createPiboBetterAuthPlugin(options = {}) {
    return definePiboPlugin({
        id: "pibo.better-auth",
        name: "Pibo Better Auth",
        register(api) {
            api.registerAuthService(createBetterAuthService(options));
        },
    });
}
