import { Sig, PubKey } from '../types/index.js'; import { AbstractContract } from '../abstractContract.js'; /** * Verifies a signature against a public key for the current contract context. * @ignore * @param self - The contract instance containing the context to verify against * @param signature - The signature to verify in hex format * @param publickey - The public key in hex format to verify the signature against * @returns true if the signature is valid for the given public key and contract context, * false if invalid or if encoding checks fail */ export declare function checkSigImpl(self: AbstractContract, signature: Sig, publickey: PubKey): boolean; /** * Verifies a multi-signature against a set of public keys. * @ignore * @param self - The contract instance containing the signing context * @param signatures - Array of signatures to verify * @param publickeys - Array of public keys to check against * @returns true if all signatures are valid and match the public keys, false otherwise * * @remarks * - Validates signature and public key encoding before verification * - Ensures each signature matches at least one unique public key * - Uses the contract's context (shPreimage) as the signed message */ export declare function checkMultiSigImpl(self: AbstractContract, signatures: Sig[], publickeys: PubKey[]): boolean; //# sourceMappingURL=checkSig.d.ts.map