import { ABIEncoder } from "../serializer/encoder.js"; import { Bytes, BytesType } from "./bytes.js"; import { Checksum256Type } from "./checksum.js"; import { ABISerializableObject } from "../serializer/serializable.js"; import { ABIDecoder } from "../serializer/decoder.js"; import { KeyType } from "./key-type.js"; import { PublicKey } from "./public-key.js"; export type SignatureType = Signature | string | { type: string; r: Uint8Array; s: Uint8Array; recid: number; }; export declare class Signature implements ABISerializableObject { static abiName: string; type: KeyType; data: Bytes; static from(value: SignatureType): Signature; static fromABI(decoder: ABIDecoder): Signature; constructor(type: KeyType, data: Bytes); equals(other: SignatureType): boolean; recoverDigest(digest: Checksum256Type): PublicKey; recoverMessage(message: BytesType): PublicKey; verifyDigest(digest: Checksum256Type, publicKey: PublicKey): any; verifyMessage(message: BytesType, publicKey: PublicKey): any; toString(): string; toABI(encoder: ABIEncoder): void; toJSON(): string; } //# sourceMappingURL=signature.d.ts.map