import { Connection } from "@authhero/adapter-interfaces";
import { Context } from "hono";
import { Bindings, Variables } from "../types";
/**
 * Look up a connection by its `name`. Used to resolve the connection an
 * existing user is registered under so we can read its options.
 */
export declare function findConnectionByName(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, tenantId: string, name: string): Promise<Connection | null>;
