import { AuthenticationInput, AuthenticationResponse, AuthIdentityProviderService, Logger } from "@medusajs/framework/types";
import { AbstractAuthModuleProvider } from "@medusajs/framework/utils";
import { MedusaCloudAuthProviderOptions } from "../types";
type InjectedDependencies = {
    logger: Logger;
};
export declare class MedusaCloudAuthService extends AbstractAuthModuleProvider {
    static identifier: string;
    static DISPLAY_NAME: string;
    protected config_: MedusaCloudAuthProviderOptions;
    protected logger_: Logger;
    constructor({ logger }: InjectedDependencies, options: MedusaCloudAuthProviderOptions);
    register(_: any): Promise<AuthenticationResponse>;
    authenticate(req: AuthenticationInput, authIdentityService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
    validateCallback(req: AuthenticationInput, authIdentityService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
    verify_(idToken: string | undefined, authIdentityService: AuthIdentityProviderService): Promise<{
        success: boolean;
        error: any;
        authIdentity?: undefined;
    } | {
        success: boolean;
        authIdentity: any;
        error?: undefined;
    }>;
    private getRedirect;
    private getClientId;
}
export {};
//# sourceMappingURL=medusa-cloud-auth.d.ts.map