/** * Cryptocurrency and Git signing API response interfaces. * * These are the data-shape types that live in brightchain-lib so both * frontend and backend can consume them. The Express-specific wrappers * (extending Response) live in brightchain-api-lib. * * Requirements: 6.1-6.10, 7.1-7.10 */ import { IApiEnvelope } from '../communication'; import { IEthereumWallet } from '../crypto/ethereumWallet'; import { IGitPublicKeyExport, IGitSignature, IGitSignedObject, IGitVerificationResult } from '../crypto/gitSignature'; export type IDeriveAddressResponse = IApiEnvelope>; export type ISignMessageResponse = IApiEnvelope<{ memberId: TId; message: string; signature: string; recoveryParam: number; }>; export type IVerifySignatureResponse = IApiEnvelope<{ valid: boolean; recoveredAddress: string; }>; export type IGetWalletResponse = IApiEnvelope>; export type ISignCommitResponse = IApiEnvelope>; export type ISignTagResponse = IApiEnvelope>; export type IVerifyGitSignatureResponse = IApiEnvelope>; export type IExportGitPublicKeyResponse = IApiEnvelope>; export type IGetGitSigningKeyResponse = IApiEnvelope>; //# sourceMappingURL=cryptoResponses.d.ts.map