ox
Version:
Ethereum Standard Library
372 lines • 20.1 kB
TypeScript
import * as core_SignatureEnvelope from '../../tempo/SignatureEnvelope.js';
import * as z from 'zod/mini';
/** Signature envelope key type schema. */
export declare const Type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
/** Keychain signature version schema. */
export declare const KeychainVersion: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>;
/** Uncompressed public key schema. */
export declare const PublicKey: z.ZodMiniObject<{
prefix: z.ZodMiniNumber<number>;
x: z.ZodMiniTemplateLiteral<`0x${string}`>;
y: z.ZodMiniTemplateLiteral<`0x${string}`>;
}, z.core.$strip>;
/** RPC secp256k1 signature envelope schema. */
export declare const Secp256k1Rpc: 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>;
/** RPC P256 signature envelope schema. */
export declare const P256Rpc: 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>;
/** RPC WebAuthn signature envelope schema. */
export declare const WebAuthnRpc: 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>;
/** RPC primitive signature envelope schema. */
export declare const PrimitiveRpc: 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>]>;
/** RPC keychain signature envelope schema. */
export declare const KeychainRpc: z.ZodMiniObject<{
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
signature: z.ZodMiniLazy<z.ZodMiniType<core_SignatureEnvelope.SignatureEnvelopeRpc, unknown, z.core.$ZodTypeInternals<core_SignatureEnvelope.SignatureEnvelopeRpc, unknown>>>;
type: z.ZodMiniLiteral<"keychain">;
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
}, z.core.$strip>;
/** RPC native multisig signature envelope schema. */
export declare const MultisigRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[]>>>;
}, z.core.$strict>, z.ZodMiniObject<{
init: z.ZodMiniObject<{
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
threshold: z.ZodMiniNumber<number>;
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
weight: z.ZodMiniNumber<number>;
}, z.core.$strip>>>;
}, z.core.$strip>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[]>>>;
}, z.core.$strict>]>;
/** RPC signature envelope schema. */
export declare const Rpc: 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>, z.ZodMiniObject<{
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
signature: z.ZodMiniLazy<z.ZodMiniType<core_SignatureEnvelope.SignatureEnvelopeRpc, unknown, z.core.$ZodTypeInternals<core_SignatureEnvelope.SignatureEnvelopeRpc, unknown>>>;
type: z.ZodMiniLiteral<"keychain">;
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[]>>>;
}, z.core.$strict>, z.ZodMiniObject<{
init: z.ZodMiniObject<{
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
threshold: z.ZodMiniNumber<number>;
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
weight: z.ZodMiniNumber<number>;
}, z.core.$strip>>>;
}, z.core.$strip>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[]>>>;
}, z.core.$strict>]>]>;
/** secp256k1 signature envelope schema. */
export declare const Secp256k1: 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>;
/** P256 signature envelope schema. */
export declare const P256: 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>;
/** WebAuthn signature envelope schema. */
export declare const WebAuthn: 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>;
/** Primitive signature envelope schema. */
export declare const Primitive: 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>]>;
/** Keychain signature envelope schema. */
export declare const Keychain: z.ZodMiniObject<{
inner: z.ZodMiniLazy<z.ZodMiniType<core_SignatureEnvelope.SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<core_SignatureEnvelope.SignatureEnvelope<number>, unknown>>>;
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
type: z.ZodMiniLiteral<"keychain">;
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
}, z.core.$strip>;
/** Native multisig signature envelope schema. */
export declare const Multisig: z.ZodMiniObject<{
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
init: z.ZodMiniOptional<z.ZodMiniObject<{
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
threshold: z.ZodMiniNumber<number>;
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
weight: z.ZodMiniNumber<number>;
}, z.core.$strip>>>;
}, z.core.$strip>>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelope<number>[], unknown>>>;
type: z.ZodMiniLiteral<"multisig">;
}, z.core.$strip>;
/** Decoded signature envelope schema. */
export declare const Domain: 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>, z.ZodMiniObject<{
inner: z.ZodMiniLazy<z.ZodMiniType<core_SignatureEnvelope.SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<core_SignatureEnvelope.SignatureEnvelope<number>, unknown>>>;
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
type: z.ZodMiniLiteral<"keychain">;
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
}, z.core.$strip>, z.ZodMiniObject<{
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
init: z.ZodMiniOptional<z.ZodMiniObject<{
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
threshold: z.ZodMiniNumber<number>;
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
weight: z.ZodMiniNumber<number>;
}, z.core.$strip>>>;
}, z.core.$strip>>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelope<number>[], unknown>>>;
type: z.ZodMiniLiteral<"multisig">;
}, z.core.$strip>]>;
/** Codec decoding an RPC signature envelope into a signature envelope. */
export declare const SignatureEnvelope: z.ZodMiniCodec<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>, z.ZodMiniObject<{
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
signature: z.ZodMiniLazy<z.ZodMiniType<core_SignatureEnvelope.SignatureEnvelopeRpc, unknown, z.core.$ZodTypeInternals<core_SignatureEnvelope.SignatureEnvelopeRpc, unknown>>>;
type: z.ZodMiniLiteral<"keychain">;
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[]>>>;
}, z.core.$strict>, z.ZodMiniObject<{
init: z.ZodMiniObject<{
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
threshold: z.ZodMiniNumber<number>;
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
weight: z.ZodMiniNumber<number>;
}, z.core.$strip>>>;
}, z.core.$strip>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelopeRpc[], readonly core_SignatureEnvelope.SignatureEnvelopeRpc[]>>>;
}, z.core.$strict>]>]>, 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>, z.ZodMiniObject<{
inner: z.ZodMiniLazy<z.ZodMiniType<core_SignatureEnvelope.SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<core_SignatureEnvelope.SignatureEnvelope<number>, unknown>>>;
keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
type: z.ZodMiniLiteral<"keychain">;
userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
}, z.core.$strip>, z.ZodMiniObject<{
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
init: z.ZodMiniOptional<z.ZodMiniObject<{
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
threshold: z.ZodMiniNumber<number>;
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
weight: z.ZodMiniNumber<number>;
}, z.core.$strip>>>;
}, z.core.$strip>>;
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly core_SignatureEnvelope.SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly core_SignatureEnvelope.SignatureEnvelope<number>[], unknown>>>;
type: z.ZodMiniLiteral<"multisig">;
}, z.core.$strip>]>>;
/** Hex-encoded serialized signature envelope schema. */
export declare const Serialized: z.ZodMiniTemplateLiteral<`0x${string}`>;
//# sourceMappingURL=SignatureEnvelope.d.ts.map