import { Context } from "hono";
import { Bindings, Variables } from "../types";
/**
 * Sets the tenant_id in context if not already set.
 * If tenant_id is already set, validates it matches the expected tenant.
 * Throws if there's a mismatch to prevent cross-tenant attacks.
 *
 * @param ctx - Hono context
 * @param tenantId - The expected tenant ID (e.g., from a client lookup)
 * @throws HTTPException if tenant_id is already set and doesn't match
 */
export declare function setTenantId(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, tenantId: string): void;
