On server routes when use const auth = serverAuth(event) it returns:
type AuthInstance = ReturnType<typeof betterAuth> excluding methods from plugins
Instead AuthInstance can be:
import createServerAuth from '#auth/server';
type AuthOptions = ReturnType<typeof createServerAuth>;
type AuthInstance = ReturnType<typeof betterAuth<AuthOptions>>;