import { Context } from "hono";
import { Connection } from "@authhero/adapter-interfaces";
import { Bindings, Variables } from "../types";
export declare const displayName = "OpenID Connect";
export declare const logoDataUri = "data:image/svg+xml,%3Csvg%20width%3D%2245%22%20height%3D%2245%22%20viewBox%3D%220%200%2045%2045%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M22.5%200C10.074%200%200%2010.074%200%2022.5S10.074%2045%2022.5%2045%2045%2034.926%2045%2022.5%2034.926%200%2022.5%200zm0%2040.5c-9.941%200-18-8.059-18-18s8.059-18%2018-18%2018%208.059%2018%2018-8.059%2018-18%2018z%22%20fill%3D%22%23F7931E%22%2F%3E%3Cpath%20d%3D%22M22.5%209c-7.456%200-13.5%206.044-13.5%2013.5S15.044%2036%2022.5%2036%2036%2029.956%2036%2022.5%2029.956%209%2022.5%209zm0%2022.5c-4.971%200-9-4.029-9-9s4.029-9%209-9%209%204.029%209%209-4.029%209-9%209z%22%20fill%3D%22%23F7931E%22%2F%3E%3C%2Fsvg%3E";
export declare function getRedirect(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, connection: Connection, loginHint?: string): Promise<{
    redirectUrl: string;
    code: string;
    codeVerifier: string;
}>;
declare function validateAuthorizationCodeAndGetUserInternal(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, connection: Connection, code: string, codeVerifier?: string): Promise<{
    userinfo: {
        sub: string;
        email?: string;
        given_name?: string;
        family_name?: string;
        name?: string;
    };
    raw: Record<string, unknown> | null;
}>;
export declare function validateAuthorizationCodeAndGetUser(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, connection: Connection, code: string, codeVerifier?: string): Promise<{
    sub: string;
    email?: string;
    given_name?: string;
    family_name?: string;
    name?: string;
}>;
export declare const validateAuthorizationCodeAndGetUserWithRaw: typeof validateAuthorizationCodeAndGetUserInternal;
export {};
