///
///
import type Transport from "@ledgerhq/hw-transport";
import type { AddressFormat } from "./getWalletPublicKey";
import type { Transaction } from "./types";
export type { AddressFormat };
export declare const getZcashBranchId: (blockHeight: number | null | undefined) => Buffer;
export declare const getDefaultVersions: ({ isZcash, sapling, isDecred, expiryHeight, }: {
isZcash: boolean;
sapling: boolean;
isDecred: boolean;
expiryHeight: Buffer | undefined;
}) => {
defaultVersion: Buffer;
};
/**
*
*/
export type CreateTransactionArg = {
inputs: Array<[
Transaction,
number,
string | null | undefined,
number | null | undefined,
(number | null | undefined)?
]>;
associatedKeysets: string[];
changePath?: string;
outputScriptHex: string;
lockTime?: number;
blockHeight?: number;
sigHashType?: number;
segwit?: boolean;
additionals: Array;
expiryHeight?: Buffer;
useTrustedInputForSegwit?: boolean;
onDeviceStreaming?: (arg0: {
progress: number;
total: number;
index: number;
}) => void;
onDeviceSignatureRequested?: () => void;
onDeviceSignatureGranted?: () => void;
};
export declare function createTransaction(transport: Transport, arg: CreateTransactionArg): Promise;
//# sourceMappingURL=createTransaction.d.ts.map