import { Signer } from 'ethers';
import { RpcOptions } from './rpcCommon';
import { SignerContext } from './signerContext';
export declare class AppRegistryService {
    private static _authenticateCommon;
    static authenticate(signerContext: SignerContext, serviceUrl: string, opts?: RpcOptions): Promise<{
        startResponse: import("@towns-protocol/proto").StartAuthenticationResponse;
        finishResponse: import("@towns-protocol/proto").FinishAuthenticationResponse;
        appRegistryRpcClient: import("./makeAppRegistryRpcClient").AppRegistryRpcClient;
    }>;
    static authenticateWithSigner(userId: string | Uint8Array, signer: Signer, serviceUrl: string, opts?: RpcOptions): Promise<{
        startResponse: import("@towns-protocol/proto").StartAuthenticationResponse;
        finishResponse: import("@towns-protocol/proto").FinishAuthenticationResponse;
        appRegistryRpcClient: import("./makeAppRegistryRpcClient").AppRegistryRpcClient;
    }>;
}
//# sourceMappingURL=appRegistryService.d.ts.map