import { Context } from "hono";
import { Connection } from "@authhero/adapter-interfaces";
import { Bindings, Variables } from "../types";
export declare const displayName = "Microsoft";
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%20fill%3D%22%23F25022%22%20d%3D%22M0%200H21.43V21.43H0V0Z%22%2F%3E%3Cpath%20fill%3D%22%237FBA00%22%20d%3D%22M23.57%200H45V21.43H23.57V0Z%22%2F%3E%3Cpath%20fill%3D%22%2300A4EF%22%20d%3D%22M0%2023.57H21.43V45H0V23.57Z%22%2F%3E%3Cpath%20fill%3D%22%23FFB900%22%20d%3D%22M23.57%2023.57H45V45H23.57V23.57Z%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;
}>;
export declare function validateAuthorizationCodeAndGetUser(ctx: Context<{
    Bindings: Bindings;
    Variables: Variables;
}>, connection: Connection, code: string, code_verifier?: string): Promise<{
    sub: string;
    email: string | undefined;
    given_name: string | undefined;
    family_name: string | undefined;
    name: string | undefined;
    picture: unknown;
}>;
