import { Context } from "hono";
import { AuthParams } from "@authhero/adapter-interfaces";
import { EnrichedClient } from "../helpers/client";
import { Bindings, Variables } from "../types";
export declare function connectionAuth(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, client: EnrichedClient, connectionName: string, authParams: AuthParams): Promise<Response>;
interface SocialAuthCallbackParams {
    code: string;
    state: string;
}
export declare function connectionCallback(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, { code, state }: SocialAuthCallbackParams): Promise<Response>;
export {};
