import { Signer } from 'ethers';
import { RpcOptions } from './rpcCommon';
import { SignerContext } from './signerContext';
export declare class NotificationService {
    private static _authenticateCommon;
    static authenticate(signerContext: SignerContext, serviceUrl: string, opts?: RpcOptions): Promise<{
        startResponse: import("@river-build/proto").StartAuthenticationResponse;
        finishResponse: import("@river-build/proto").FinishAuthenticationResponse;
        notificationRpcClient: import("./makeNotificationRpcClient").NotificationRpcClient;
    }>;
    static authenticateWithSigner(userId: string | Uint8Array, signer: Signer, serviceUrl: string, opts?: RpcOptions): Promise<{
        startResponse: import("@river-build/proto").StartAuthenticationResponse;
        finishResponse: import("@river-build/proto").FinishAuthenticationResponse;
        notificationRpcClient: import("./makeNotificationRpcClient").NotificationRpcClient;
    }>;
}
//# sourceMappingURL=notificationService.d.ts.map