import type { Hex } from "../../utils/encoding/hex.js"; import { type SerializableTransaction } from "../serialize-transaction.js"; export type SignTransactionOptions = { transaction: SerializableTransaction; privateKey: Hex; }; /** * Signs a transaction to be sent to a node. * @param options The options for signing. * @param options.transaction - The transaction object to sign * @param options.privateKey - The account private key * @returns The signed transaction as a hex string * @example * ```ts * import { signTransaction } from "thirdweb"; * signTransaction({ * transaction: { * ... * }, * privateKey: "0x...", * }); * ``` * @transaction */ export declare function signTransaction({ transaction, privateKey, }: SignTransactionOptions): Hex; //# sourceMappingURL=sign-transaction.d.ts.map