import { Context } from "hono";
import { DataAdapters, UserDataAdapter } from "@authhero/adapter-interfaces";
import { Bindings, Variables } from "../types";
/**
 * Decorator applied by `addDataHooks` to `users.update`. Fires pre-update
 * hooks, then commits the update inside its own `data.transaction(...)` so
 * the write plus any follow-up email-based account linking are atomic.
 *
 * The single-field `linked_to` update fast-path at the top bypasses hooks to
 * avoid recursion when `commitUserHook` or the account-linking template call
 * back into `users.update`.
 */
export declare function createUserUpdateHooks(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, data: DataAdapters): UserDataAdapter["update"];
