index.d.ts 741 B

12345678910111213141516
  1. import { BytesLike, Signature, SignatureLike } from "@ethersproject/bytes";
  2. export declare class SigningKey {
  3. readonly curve: string;
  4. readonly privateKey: string;
  5. readonly publicKey: string;
  6. readonly compressedPublicKey: string;
  7. readonly _isSigningKey: boolean;
  8. constructor(privateKey: BytesLike);
  9. _addPoint(other: BytesLike): string;
  10. signDigest(digest: BytesLike): Signature;
  11. computeSharedSecret(otherKey: BytesLike): string;
  12. static isSigningKey(value: any): value is SigningKey;
  13. }
  14. export declare function recoverPublicKey(digest: BytesLike, signature: SignatureLike): string;
  15. export declare function computePublicKey(key: BytesLike, compressed?: boolean): string;
  16. //# sourceMappingURL=index.d.ts.map