import { ReferralLinkId, IdentityToken, MintedIdentityToken } from "@hypernetlabs/hypernet-id-objects";
import { UUID, EthereumAccountAddress, ChainId, AjaxError } from "@hypernetlabs/objects";
import { IAjaxUtils } from "@hypernetlabs/utils";
import { ResultAsync } from "neverthrow";
import { IHypernetID } from "./IHypernetID";
export declare class HypernetID implements IHypernetID {
    protected customerId: UUID;
    protected ajaxUtils: IAjaxUtils;
    constructor(customerId: UUID);
    getIdentityTokenForAccount(accountAddress: EthereumAccountAddress): ResultAsync<IdentityToken, AjaxError>;
    getIdentityTokenForAccountOnChain(accountAddress: EthereumAccountAddress, chainId: ChainId): ResultAsync<MintedIdentityToken | null, AjaxError>;
    getRedirectUrl(linkId: ReferralLinkId): ResultAsync<URL, never>;
}
//# sourceMappingURL=HypernetID.d.ts.map