UNPKG

ox

Version:

Ethereum Standard Library

882 lines 49.7 kB
import * as z from 'zod/mini'; /** RPC token spending limit schema. */ export declare const RpcTokenLimit: z.ZodMiniObject<{ limit: z.ZodMiniTemplateLiteral<`0x${string}`>; period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; /** RPC selector rule schema. */ export declare const RpcSelectorRule: z.ZodMiniObject<{ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>; selector: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; /** RPC call scope schema. */ export declare const RpcCallScope: z.ZodMiniObject<{ selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>; selector: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; target: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; /** RPC key authorization schema. */ export declare const Rpc: z.ZodMiniObject<{ account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>; selector: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; target: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; chainId: z.ZodMiniTemplateLiteral<`0x${string}`>; expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>; keyId: z.ZodMiniTemplateLiteral<`0x${string}`>; keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniTemplateLiteral<`0x${string}`>; period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"secp256k1">; v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ preHash: z.ZodMiniBoolean<boolean>; pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"webAuthn">; webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>]>; witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; }, z.core.$strip>; /** Token spending limit schema. */ export declare const TokenLimit: z.ZodMiniObject<{ limit: z.ZodMiniBigInt<bigint>; period: z.ZodMiniOptional<z.ZodMiniNumber<number>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; /** Encode-only token spending limit schema accepting numberish `toRpc` inputs. */ export declare const TokenLimitToRpc: z.ZodMiniObject<{ limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; /** Call scope schema. */ export declare const Scope: z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>; /** Decoded key authorization schema (TIP-1049 admin fields are paired: both or neither). */ export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ account: z.ZodMiniTemplateLiteral<`0x${string}`>; isAdmin: z.ZodMiniBoolean<boolean>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; chainId: z.ZodMiniBigInt<bigint>; expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniBigInt<bigint>; period: z.ZodMiniOptional<z.ZodMiniNumber<number>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; chainId: z.ZodMiniBigInt<bigint>; expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniBigInt<bigint>; period: z.ZodMiniOptional<z.ZodMiniNumber<number>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>]>; /** Encode-only decoded key authorization schema accepting numberish `toRpc` inputs. */ export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ account: z.ZodMiniTemplateLiteral<`0x${string}`>; isAdmin: z.ZodMiniBoolean<boolean>; chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>]>; /** Codec decoding an RPC key authorization into a signed key authorization. */ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{ account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>; selector: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; target: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; chainId: z.ZodMiniTemplateLiteral<`0x${string}`>; expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>; keyId: z.ZodMiniTemplateLiteral<`0x${string}`>; keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniTemplateLiteral<`0x${string}`>; period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"secp256k1">; v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ preHash: z.ZodMiniBoolean<boolean>; pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"webAuthn">; webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>]>; witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; }, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{ account: z.ZodMiniTemplateLiteral<`0x${string}`>; isAdmin: z.ZodMiniBoolean<boolean>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; chainId: z.ZodMiniBigInt<bigint>; expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniBigInt<bigint>; period: z.ZodMiniOptional<z.ZodMiniNumber<number>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; chainId: z.ZodMiniBigInt<bigint>; expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniBigInt<bigint>; period: z.ZodMiniOptional<z.ZodMiniNumber<number>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>]>>; /** Encode-only key authorization codec accepting numberish `toRpc` inputs. */ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{ account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>; selector: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; target: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; chainId: z.ZodMiniTemplateLiteral<`0x${string}`>; expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>; keyId: z.ZodMiniTemplateLiteral<`0x${string}`>; keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniTemplateLiteral<`0x${string}`>; period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"secp256k1">; v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ preHash: z.ZodMiniBoolean<boolean>; pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"webAuthn">; webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>]>; witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; }, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{ account: z.ZodMiniTemplateLiteral<`0x${string}`>; isAdmin: z.ZodMiniBoolean<boolean>; chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>]>>; /** Signed key authorization schema. */ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{ account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>; selector: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; target: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; chainId: z.ZodMiniTemplateLiteral<`0x${string}`>; expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>; keyId: z.ZodMiniTemplateLiteral<`0x${string}`>; keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniTemplateLiteral<`0x${string}`>; period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"secp256k1">; v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ preHash: z.ZodMiniBoolean<boolean>; pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"webAuthn">; webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>]>; witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; }, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{ account: z.ZodMiniTemplateLiteral<`0x${string}`>; isAdmin: z.ZodMiniBoolean<boolean>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; chainId: z.ZodMiniBigInt<bigint>; expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniBigInt<bigint>; period: z.ZodMiniOptional<z.ZodMiniNumber<number>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; chainId: z.ZodMiniBigInt<bigint>; expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniBigInt<bigint>; period: z.ZodMiniOptional<z.ZodMiniNumber<number>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>]>>; /** Encode-only signed key authorization schema accepting numberish `toRpc` inputs. */ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{ account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>; selector: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; target: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; chainId: z.ZodMiniTemplateLiteral<`0x${string}`>; expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>; keyId: z.ZodMiniTemplateLiteral<`0x${string}`>; keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniTemplateLiteral<`0x${string}`>; period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"secp256k1">; v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ preHash: z.ZodMiniBoolean<boolean>; pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ pubKeyX: z.ZodMiniTemplateLiteral<`0x${string}`>; pubKeyY: z.ZodMiniTemplateLiteral<`0x${string}`>; r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"webAuthn">; webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>]>; witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>; }, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{ account: z.ZodMiniTemplateLiteral<`0x${string}`>; isAdmin: z.ZodMiniBoolean<boolean>; chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>, z.ZodMiniObject<{ chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>; period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; token: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>>>>; address: z.ZodMiniTemplateLiteral<`0x${string}`>; scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>; selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>; }, z.core.$strip>>>>; signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniNumber<number>; }, z.core.$strip>; type: z.ZodMiniLiteral<"secp256k1">; }, z.core.$strip>, z.ZodMiniObject<{ prehash: z.ZodMiniBoolean<boolean>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"p256">; }, z.core.$strip>, z.ZodMiniObject<{ metadata: z.ZodMiniObject<{ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>; clientDataJSON: z.ZodMiniString<string>; }, z.core.$strip>; publicKey: z.ZodMiniObject<{ prefix: z.ZodMiniNumber<number>; x: z.ZodMiniTemplateLiteral<`0x${string}`>; y: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>; type: z.ZodMiniLiteral<"webAuthn">; }, z.core.$strip>]>; type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>; witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>; }, z.core.$strip>]>>; //# sourceMappingURL=KeyAuthorization.d.ts.map