import { Schema } from 'effect'; import { Address } from 'viem'; declare const baseEIP712: Schema.Struct<{ domain: Schema.Struct<{ chainId: typeof Schema.BigInt; name: typeof Schema.String; version: typeof Schema.String; verifyingContract: Schema.optional>; }>; primaryType: typeof Schema.String; types: Schema.Record$>>; }>; type BaseEIP712 = typeof baseEIP712.Type; export interface EIP712 extends BaseEIP712 { message: Message; } export declare function createEIP712Payload({ chainId, primaryType, primaryTypeFields, message, verifyingContract, domainName, domainVersion, }: { chainId: bigint; primaryType: PrimaryType; primaryTypeFields: BaseEIP712['types'][PrimaryType]; message: Message; verifyingContract?: Address; domainName: string; domainVersion: string; }): EIP712; export {};