import { type Hex } from "../encoding/hex.js"; /** * Options for signing a transaction hash. */ export type SignOptions = { hash: Hex; privateKey: Hex; }; /** * Generates the signature for the provided transaction hash. * @param options - The options for signing. * @param options.hash - The hash to be signed. * @param options.privateKey - The private key to sign the hash with. * @returns The transaction signature. * @example * ```ts * import { sign } from "thirdweb/utils"; * * const signature = sign({ * hash: "0x", * privateKey: "0x", * }); * ``` * @utils */ export declare function sign({ hash, privateKey }: SignOptions): { r: `0x${string}`; s: `0x${string}`; v: bigint; yParity: number; }; //# sourceMappingURL=sign.d.ts.map