import * as stream from 'stream' ; export interface AwsESDKSigner extends stream . Writable { update ( data ) : AwsESDKSigner ; sign ( privateKey ) : Buffer ; } export interface AwsESDKVerify extends stream . Writable { update ( data ) : AwsESDKVerify ; verify ( publicKey , signature ) : boolean ; }