export = PublicKeyInput; /** * Represents a special kind of input of PayToPublicKey kind. * @constructor */ declare function PublicKeyInput(...args: any[]): void; declare class PublicKeyInput { /** * Represents a special kind of input of PayToPublicKey kind. * @constructor */ constructor(...args: any[]); /** * @param {Transaction} transaction - the transaction to be signed * @param {PrivateKey} privateKey - the private key with which to sign the transaction * @param {number} index - the index of the input in the transaction input vector * @param {number=} sigtype - the type of signature, defaults to Signature.SIGHASH_ALL * @param {String} signingMethod - the signing method used to sign tx "ecdsa" or "schnorr" * @return {Array} of objects that can be */ getSignatures(transaction: Transaction, privateKey: PrivateKey, index: number, sigtype?: number | undefined, hashData: any, signingMethod: string): any[]; /** * Add the provided signature * * @param {Object} signature * @param {PublicKey} signature.publicKey * @param {Signature} signature.signature * @param {number=} signature.sigtype * @param {String} signingMethod - the method used in signing the tx "ecdsa" or "schnorr" * @return {PublicKeyInput} this, for chaining */ addSignature(transaction: any, signature: { publicKey: PublicKey; signature: Signature; sigtype?: number | undefined; }, signingMethod: string): PublicKeyInput; /** * Clear the input's signature * @return {PublicKeyHashInput} this, for chaining */ clearSignatures(): PublicKeyHashInput; /** * Query whether the input is signed * @return {boolean} */ isFullySigned(): boolean; _estimateSize(): number; } declare namespace PublicKeyInput { let SCRIPT_MAX_SIZE: number; } import Signature = require("../../crypto/signature"); //# sourceMappingURL=publickey.d.ts.map