import { AbstractContract } from '../abstractContract.js'; import { SHPreimage, Prevouts, SpentScriptHashes } from '../types/index.js'; import { Outpoint, SpentAmounts, SpentDataHashes } from '../types/structs.js'; import { InputIndex } from '../../globalTypes.js'; /** * Validates the transaction context against the provided preimage data. * @ignore * @param self - The contract instance * @param shPreimage - The preimage data containing hash commitments * @param inputIndex - Index of the current input * @param prevouts - Serialized previous outputs * @param prevout - Current output being spent * @param spentScriptHashes - Hashes of spent script hashes * @param spentAmounts - Hashes of spent amounts * @param stateHashes - Hashes of spent data * @returns true if all validations pass, otherwise throws assertion errors */ export declare function checkCtxImpl(self: AbstractContract, shPreimage: SHPreimage, inputIndex: InputIndex, prevouts: Prevouts, prevout: Outpoint, spentScriptHashes: SpentScriptHashes, spentAmounts: SpentAmounts, stateHashes: SpentDataHashes): boolean; //# sourceMappingURL=checkCtx.d.ts.map