import { AbstractContract } from '../abstractContract.js'; import { SHPreimage } from '../types/index.js'; /** * Verifies a signature against the contract's public key using the provided SH preimage. * * This function uses a two-step verification process: * 1. checkDataSig - verifies the signature against sha256(serialized_preimage) * Since checkDataSig internally applies sha256, it becomes sha256(sha256(preimage)) = hash256(preimage) * 2. checkSig - verifies the signature against the actual transaction preimage (hash256) * * The signature is expected to be pre-generated off-chain over hash256(preimage) * and injected via the _injectedPreimageSig property on SmartContract instances. * * @ignore * @param self - The contract instance to verify against * @param shPreimage - The SH preimage containing the signature to verify * @returns True if the signature is valid for this contract's public key */ export declare function checkSHPreimageImpl(self: AbstractContract, shPreimage: SHPreimage): boolean; //# sourceMappingURL=checkSHPreimage.d.ts.map