import { Addr, PubKey, Sig } from "../types/primitives.js"; import { SmartContract } from "../smartContract.js"; /** * A Pay-to-Public-Key-Hash (P2PKH) smart contract that allows spending * by providing a signature matching the specified public key hash. * * @property addr - The address derived from the public key hash that can unlock this contract * @method unlock - Verifies the provided signature matches the contract's public key hash * @param sig - The signature to verify * @param pubkey - The public key corresponding to the address * @throws If public key hash doesn't match or signature verification fails */ export declare class P2PKH extends SmartContract { readonly addr: Addr; constructor(addr: Addr); unlock(sig: Sig, pubkey: PubKey): void; } //# sourceMappingURL=p2pkh.d.ts.map