import { Signer , providers } from "ethers" ; import { Address , PublicKey , PublicIdentifier } from "./basic" ; export interface IChannelSigner extends Signer { address : Address ; decrypt ( message ) : Promise < string > ; encrypt ( message , publicKey ) : Promise < string > ; signMessage ( message ) : Promise < string > ; publicKey : PublicKey ; publicIdentifier : PublicIdentifier ; connectProvider ( provider ) : Promise < void > ; }