import { Context } from "hono";
import { DataAdapters } from "@authhero/adapter-interfaces";
import { Bindings, Variables } from "../types";
/**
 * Decorator applied by `addDataHooks` to `users.remove`. Runs pre-deletion
 * hooks (outside any transaction), then executes the unlink-secondaries +
 * delete-primary inside a single `data.transaction` so the user graph is
 * never left half-demolished. Post-deletion webhook delivery is handed to
 * the outbox for retryable dispatch.
 */
export declare function createUserDeletionHooks(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, data: DataAdapters): (tenant_id: string, user_id: string) => Promise<boolean>;
