import { IdentityClientOptions } from './DefaultIdentityClient';
import { BackstageIdentityResponse } from '../types';
/**
 * An identity client to interact with auth-backend and authenticate Backstage
 * tokens
 *
 * @public
 * @experimental This is not a stable API yet
 * @deprecated Please migrate to the DefaultIdentityClient.
 */
export declare class IdentityClient {
    private readonly defaultIdentityClient;
    static create(options: IdentityClientOptions): IdentityClient;
    private constructor();
    /**
     * Verifies the given backstage identity token
     * Returns a BackstageIdentity (user) matching the token.
     * The method throws an error if verification fails.
     *
     * @deprecated You should start to use IdentityApi#getIdentity instead of authenticate
     * to retrieve the user identity.
     */
    authenticate(token: string | undefined): Promise<BackstageIdentityResponse>;
}
