import { TypedData } from 'abitype'; import { z } from 'zod'; type Contract = { authors: Array | string; name: string; filename: string; license: string; solidity: string; }; type Dangerous = { excludeCoreTypes: boolean; useOverloads: boolean; useDocs: boolean; packetHashName: (typeName: string) => string; }; type Config = { contract: Contract; types: TypedData; out: string; outDocs: string; dangerous: Dangerous; }; declare function config({ contract, types, out, outDocs, dangerous }?: Partial<{ contract: Partial; types: TypedData; out: string; outDocs: string; dangerous: Partial; }>): Config; declare const BASE_AUTH = "0x0000000000000000000000000000000000000000000000000000000000000000"; declare const EIP712_TYPES: { readonly EIP712Domain: readonly [{ readonly name: "name"; readonly type: "string"; }, { readonly name: "version"; readonly type: "string"; }, { readonly name: "chainId"; readonly type: "uint256"; }, { readonly name: "verifyingContract"; readonly type: "address"; }]; }; declare const PLUGS_TYPES: { readonly Plug: readonly [{ readonly name: "target"; readonly type: "address"; }, { readonly name: "value"; readonly type: "uint256"; }, { readonly name: "data"; readonly type: "bytes"; }]; readonly Plugs: readonly [{ readonly name: "socket"; readonly type: "address"; }, { readonly name: "plugs"; readonly type: "Plug[]"; }, { readonly name: "solver"; readonly type: "bytes"; }, { readonly name: "salt"; readonly type: "bytes32"; }]; }; declare const LIVE_PLUGS_TYPES: { readonly LivePlugs: readonly [{ readonly name: "plugs"; readonly type: "Plugs"; }, { readonly name: "signature"; readonly type: "bytes"; }]; readonly Plug: readonly [{ readonly name: "target"; readonly type: "address"; }, { readonly name: "value"; readonly type: "uint256"; }, { readonly name: "data"; readonly type: "bytes"; }]; readonly Plugs: readonly [{ readonly name: "socket"; readonly type: "address"; }, { readonly name: "plugs"; readonly type: "Plug[]"; }, { readonly name: "solver"; readonly type: "bytes"; }, { readonly name: "salt"; readonly type: "bytes32"; }]; }; declare const constants: { readonly config: Config; readonly types: { readonly LivePlugs: readonly [{ readonly name: "plugs"; readonly type: "Plugs"; }, { readonly name: "signature"; readonly type: "bytes"; }]; readonly Plug: readonly [{ readonly name: "target"; readonly type: "address"; }, { readonly name: "value"; readonly type: "uint256"; }, { readonly name: "data"; readonly type: "bytes"; }]; readonly Plugs: readonly [{ readonly name: "socket"; readonly type: "address"; }, { readonly name: "plugs"; readonly type: "Plug[]"; }, { readonly name: "solver"; readonly type: "bytes"; }, { readonly name: "salt"; readonly type: "bytes32"; }]; }; }; declare const PlugSchema: z.ZodObject<{ target: z.ZodEffects; value: z.ZodBigInt; data: z.ZodEffects; }, "strip", z.ZodTypeAny, { target: `0x${string}`; value: bigint; data: `0x${string}`; }, { target: string; value: bigint; data: string; }>; type Plug = z.infer; declare const PlugsSchema: z.ZodObject<{ socket: z.ZodEffects; plugs: z.ZodArray; value: z.ZodBigInt; data: z.ZodEffects; }, "strip", z.ZodTypeAny, { target: `0x${string}`; value: bigint; data: `0x${string}`; }, { target: string; value: bigint; data: string; }>, "many">; solver: z.ZodEffects; salt: z.ZodEffects; }, "strip", z.ZodTypeAny, { socket: `0x${string}`; plugs: { target: `0x${string}`; value: bigint; data: `0x${string}`; }[]; solver: `0x${string}`; salt: `0x${string}`; }, { socket: string; plugs: { target: string; value: bigint; data: string; }[]; solver: string; salt: string; }>; type Plugs = z.infer; declare const LivePlugsSchema: z.ZodObject<{ plugs: z.ZodObject<{ socket: z.ZodEffects; plugs: z.ZodArray; value: z.ZodBigInt; data: z.ZodEffects; }, "strip", z.ZodTypeAny, { target: `0x${string}`; value: bigint; data: `0x${string}`; }, { target: string; value: bigint; data: string; }>, "many">; solver: z.ZodEffects; salt: z.ZodEffects; }, "strip", z.ZodTypeAny, { socket: `0x${string}`; plugs: { target: `0x${string}`; value: bigint; data: `0x${string}`; }[]; solver: `0x${string}`; salt: `0x${string}`; }, { socket: string; plugs: { target: string; value: bigint; data: string; }[]; solver: string; salt: string; }>; signature: z.ZodEffects; }, "strip", z.ZodTypeAny, { plugs: { socket: `0x${string}`; plugs: { target: `0x${string}`; value: bigint; data: `0x${string}`; }[]; solver: `0x${string}`; salt: `0x${string}`; }; signature: `0x${string}`; }, { plugs: { socket: string; plugs: { target: string; value: bigint; data: string; }[]; solver: string; salt: string; }; signature: string; }>; type LivePlugs = z.infer; declare const EIP712DomainSchema: z.ZodObject<{ name: z.ZodString; version: z.ZodString; chainId: z.ZodNumber; verifyingContract: z.ZodEffects; }, "strip", z.ZodTypeAny, { name: string; version: string; chainId: number; verifyingContract: `0x${string}`; }, { name: string; version: string; chainId: number; verifyingContract: string; }>; type EIP712Domain = z.infer; declare const ADDRESS_REGEX: RegExp; declare const Address: z.ZodEffects; type AddressType = z.infer; declare const BYTES32_REGEX: RegExp; declare const Bytes32: z.ZodEffects; type Bytes32Type = z.infer; declare const BYTES_REGEX: RegExp; declare const Bytes: z.ZodEffects; type BytesType = z.infer; declare const getTypeSchema: (type: string) => string; export { ADDRESS_REGEX as A, BASE_AUTH as B, type Config as C, EIP712_TYPES as E, LIVE_PLUGS_TYPES as L, PLUGS_TYPES as P, constants as a, PlugSchema as b, config as c, type Plug as d, PlugsSchema as e, type Plugs as f, LivePlugsSchema as g, type LivePlugs as h, EIP712DomainSchema as i, type EIP712Domain as j, Address as k, type AddressType as l, BYTES32_REGEX as m, Bytes32 as n, type Bytes32Type as o, BYTES_REGEX as p, Bytes as q, type BytesType as r, getTypeSchema as s };