import { signatureItem } from "./layout-items";
/** Signature represents the secp256k1 signature of a Guardian */
export class Signature {
    r;
    s;
    v;
    constructor(r, s, v) {
        this.r = r;
        this.s = s;
        this.v = v;
    }
    encode() {
        return signatureItem.custom.from(this);
    }
    static decode(data) {
        return signatureItem.custom.to(data);
    }
}
//# sourceMappingURL=signature.js.map