import { Transaction, PartiallySignedTx, PrevTxInfo, SigHashType } from '../types/transaction'; export declare function sighashTypeToInt(type: SigHashType): number; export declare function parseSigHashType(typeStr: string): SigHashType; export declare function computeSigHash(tx: Transaction, inputIndex: number, scriptCode: Uint8Array, sighashType: number): Uint8Array; export declare function buildP2PKHSig(sigDer: Uint8Array, publicKey: Uint8Array, sighashByte: number): Uint8Array; export declare function buildMultisigScriptSig(signatures: Uint8Array[], sighashByte: number): Uint8Array; export interface SignOptions { sighashType?: SigHashType; prevTxs?: PrevTxInfo[]; } export declare function signTransaction(tx: Transaction, privateKeys: Uint8Array[], options?: SignOptions): PartiallySignedTx; export declare function signTransactionWIF(txHex: string, wifKeys: string[], prevTxs: PrevTxInfo[], sighashTypeStr?: string): PartiallySignedTx; //# sourceMappingURL=signer.d.ts.map