import { Context } from "hono";
import { Bindings, Variables } from "../types";
/**
 * Returns true when the built-in email-based linking path should run.
 *
 * The built-in path performs the legacy `getPrimaryUserByEmail` lookup at
 * user creation and email update. With `userLinkingMode: "off"` it is
 * skipped entirely and linking only happens via the `account-linking`
 * template hook.
 */
export declare function builtInUserLinkingEnabled(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, tenant_id: string, client_id?: string): Promise<boolean>;
