import * as ox__TypedData from "ox/TypedData"; import type { Hex } from "../encoding/hex.js"; export type SignTypedDataOptions = ox__TypedData.TypedData, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData> = ox__TypedData.Definition & { privateKey: Hex; }; /** * Signs a typed data object with a given private key according to EIP712. * @param options The typed data is passed within options alongside the private key * @param options.privateKey The private key to sign the typed data with * @returns The signature as a hex string * @example * ```ts * import { signTypedData } from "thirdweb/utils"; * signTypedData({ * privateKey: "0x...", * ...typedData * }); * ``` * @utils */ export declare function signTypedData, primaryType extends keyof typedData | "EIP712Domain">(options: SignTypedDataOptions): Hex; //# sourceMappingURL=sign-typed-data.d.ts.map