import { XrplDefinitions } from "xrpl-binary-codec-prerelease"; import { XrplClient } from "xrpl-client"; import Account from "../schema/Account"; declare type InnerBatchSignature = { BatchSigner: { Account: string; SigningPubKey: string; TxnSignature: string; }; }; declare type SignedObject = { type: "SignedTx" | "MultiSignedTx" | "SignedPayChanAuth"; id: string; signedTransaction: string; txJson: Record; signers: string[]; }; declare const setNativeAsset: (Tx: any) => void; declare const signInnerBatch: (transaction: Object, account: Account, definitions?: XrplDefinitions | undefined) => InnerBatchSignature; declare const sign: (transaction: Object, account?: Account | Account[] | undefined, definitions?: XrplDefinitions | undefined) => SignedObject; declare const signAndSubmit: (transaction: Object, client: XrplClient | string, account: Account | Account[]) => Promise<{ tx_blob: string; tx_id: string; response: import("xrpl-client").AnyJson; }>; declare const prefilledSignAndSubmit: (transaction: Object, client: XrplClient | string, account: Account | Account[]) => Promise<{ tx_blob: string; tx_id: string; response: import("xrpl-client").AnyJson; }>; export { sign, signAndSubmit, prefilledSignAndSubmit, setNativeAsset, signInnerBatch, }; export type { SignedObject, InnerBatchSignature }; export default sign;