@radixdlt/radix-dapp-toolkit
Version:
Radix dApp Toolkit repository
704 lines (703 loc) • 262 kB
text/typescript
import * as neverthrow from 'neverthrow';
import { ResultAsync, Result } from 'neverthrow';
import * as rxjs from 'rxjs';
import { Subject, Observable, ReplaySubject, BehaviorSubject } from 'rxjs';
import { R as RadixButtonStatus, a as RadixButtonTheme, d as RequestItem, A as Account$1, c as RequestStatusTypes } from './index-Cc3enzrB.cjs';
import * as valibot from 'valibot';
import { InferOutput, ValiError } from 'valibot';
import { Logger as Logger$1 } from 'tslog';
import * as node_modules_tslog_dist_types_interfaces from 'node_modules/tslog/dist/types/interfaces';
import { Buffer } from 'buffer';
/**
* Wallet schemas
*/
type Account = InferOutput<typeof Account>;
declare const Account: valibot.ObjectSchema<{
readonly address: valibot.StringSchema<undefined>;
readonly label: valibot.StringSchema<undefined>;
readonly appearanceId: valibot.NumberSchema<undefined>;
}, undefined>;
type Proof = InferOutput<typeof Proof>;
declare const Proof: valibot.ObjectSchema<{
readonly publicKey: valibot.StringSchema<undefined>;
readonly signature: valibot.StringSchema<undefined>;
readonly curve: valibot.UnionSchema<[valibot.LiteralSchema<"curve25519", undefined>, valibot.LiteralSchema<"secp256k1", undefined>], undefined>;
}, undefined>;
type AccountProof = InferOutput<typeof AccountProof>;
declare const AccountProof: valibot.ObjectSchema<{
readonly accountAddress: valibot.StringSchema<undefined>;
readonly proof: valibot.ObjectSchema<{
readonly publicKey: valibot.StringSchema<undefined>;
readonly signature: valibot.StringSchema<undefined>;
readonly curve: valibot.UnionSchema<[valibot.LiteralSchema<"curve25519", undefined>, valibot.LiteralSchema<"secp256k1", undefined>], undefined>;
}, undefined>;
}, undefined>;
type PersonaProof = InferOutput<typeof PersonaProof>;
declare const PersonaProof: valibot.ObjectSchema<{
readonly identityAddress: valibot.StringSchema<undefined>;
readonly proof: valibot.ObjectSchema<{
readonly publicKey: valibot.StringSchema<undefined>;
readonly signature: valibot.StringSchema<undefined>;
readonly curve: valibot.UnionSchema<[valibot.LiteralSchema<"curve25519", undefined>, valibot.LiteralSchema<"secp256k1", undefined>], undefined>;
}, undefined>;
}, undefined>;
type ProofOfOwnershipRequestItem = InferOutput<typeof ProofOfOwnershipRequestItem>;
declare const ProofOfOwnershipRequestItem: valibot.ObjectSchema<{
readonly challenge: valibot.StringSchema<undefined>;
readonly identityAddress: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly accountAddresses: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
}, undefined>;
declare const ProofOfOwnershipResponseItem: valibot.ObjectSchema<{
readonly challenge: valibot.StringSchema<undefined>;
readonly proofs: valibot.ArraySchema<valibot.UnionSchema<[valibot.ObjectSchema<{
readonly accountAddress: valibot.StringSchema<undefined>;
readonly proof: valibot.ObjectSchema<{
readonly publicKey: valibot.StringSchema<undefined>;
readonly signature: valibot.StringSchema<undefined>;
readonly curve: valibot.UnionSchema<[valibot.LiteralSchema<"curve25519", undefined>, valibot.LiteralSchema<"secp256k1", undefined>], undefined>;
}, undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly identityAddress: valibot.StringSchema<undefined>;
readonly proof: valibot.ObjectSchema<{
readonly publicKey: valibot.StringSchema<undefined>;
readonly signature: valibot.StringSchema<undefined>;
readonly curve: valibot.UnionSchema<[valibot.LiteralSchema<"curve25519", undefined>, valibot.LiteralSchema<"secp256k1", undefined>], undefined>;
}, undefined>;
}, undefined>], undefined>, undefined>;
}, undefined>;
type Persona = InferOutput<typeof Persona>;
declare const Persona: valibot.ObjectSchema<{
readonly identityAddress: valibot.StringSchema<undefined>;
readonly label: valibot.StringSchema<undefined>;
}, undefined>;
declare const personaDataFullNameVariant: {
readonly western: "western";
readonly eastern: "eastern";
};
type PersonaDataNameVariant = InferOutput<typeof PersonaDataNameVariant>;
declare const PersonaDataNameVariant: valibot.UnionSchema<[valibot.LiteralSchema<"eastern", undefined>, valibot.LiteralSchema<"western", undefined>], undefined>;
type PersonaDataName = InferOutput<typeof PersonaDataName>;
declare const PersonaDataName: valibot.ObjectSchema<{
readonly variant: valibot.UnionSchema<[valibot.LiteralSchema<"eastern", undefined>, valibot.LiteralSchema<"western", undefined>], undefined>;
readonly familyName: valibot.StringSchema<undefined>;
readonly nickname: valibot.StringSchema<undefined>;
readonly givenNames: valibot.StringSchema<undefined>;
}, undefined>;
type NumberOfValues = InferOutput<typeof NumberOfValues>;
declare const NumberOfValues: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
type AccountsRequestItem = InferOutput<typeof AccountsRequestItem>;
declare const AccountsRequestItem: valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>;
type AccountsRequestResponseItem = InferOutput<typeof AccountsRequestResponseItem>;
declare const AccountsRequestResponseItem: valibot.SchemaWithPipe<[valibot.ObjectSchema<{
readonly accounts: valibot.ArraySchema<valibot.ObjectSchema<{
readonly address: valibot.StringSchema<undefined>;
readonly label: valibot.StringSchema<undefined>;
readonly appearanceId: valibot.NumberSchema<undefined>;
}, undefined>, undefined>;
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly proofs: valibot.OptionalSchema<valibot.ArraySchema<valibot.ObjectSchema<{
readonly accountAddress: valibot.StringSchema<undefined>;
readonly proof: valibot.ObjectSchema<{
readonly publicKey: valibot.StringSchema<undefined>;
readonly signature: valibot.StringSchema<undefined>;
readonly curve: valibot.UnionSchema<[valibot.LiteralSchema<"curve25519", undefined>, valibot.LiteralSchema<"secp256k1", undefined>], undefined>;
}, undefined>;
}, undefined>, undefined>, never>;
}, undefined>, valibot.CheckAction<{
accounts: {
address: string;
label: string;
appearanceId: number;
}[];
challenge?: string | undefined;
proofs?: {
accountAddress: string;
proof: {
curve: "curve25519" | "secp256k1";
publicKey: string;
signature: string;
};
}[] | undefined;
}, "missing challenge or proofs">]>;
type PersonaDataRequestItem = InferOutput<typeof PersonaDataRequestItem>;
declare const PersonaDataRequestItem: valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>;
type PersonaDataRequestResponseItem = InferOutput<typeof PersonaDataRequestResponseItem>;
declare const PersonaDataRequestResponseItem: valibot.ObjectSchema<{
readonly name: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly variant: valibot.UnionSchema<[valibot.LiteralSchema<"eastern", undefined>, valibot.LiteralSchema<"western", undefined>], undefined>;
readonly familyName: valibot.StringSchema<undefined>;
readonly nickname: valibot.StringSchema<undefined>;
readonly givenNames: valibot.StringSchema<undefined>;
}, undefined>, never>;
readonly emailAddresses: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly phoneNumbers: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
}, undefined>;
type ResetRequestItem = InferOutput<typeof ResetRequestItem>;
declare const ResetRequestItem: valibot.ObjectSchema<{
readonly accounts: valibot.BooleanSchema<undefined>;
readonly personaData: valibot.BooleanSchema<undefined>;
}, undefined>;
type LoginRequestResponseItem = InferOutput<typeof LoginRequestResponseItem>;
declare const LoginRequestResponseItem: valibot.SchemaWithPipe<[valibot.ObjectSchema<{
readonly persona: valibot.ObjectSchema<{
readonly identityAddress: valibot.StringSchema<undefined>;
readonly label: valibot.StringSchema<undefined>;
}, undefined>;
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly proof: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly publicKey: valibot.StringSchema<undefined>;
readonly signature: valibot.StringSchema<undefined>;
readonly curve: valibot.UnionSchema<[valibot.LiteralSchema<"curve25519", undefined>, valibot.LiteralSchema<"secp256k1", undefined>], undefined>;
}, undefined>, never>;
}, undefined>, valibot.CheckAction<{
persona: {
label: string;
identityAddress: string;
};
proof?: {
curve: "curve25519" | "secp256k1";
publicKey: string;
signature: string;
} | undefined;
challenge?: string | undefined;
}, "missing challenge or proof">]>;
type WalletUnauthorizedRequestItems = InferOutput<typeof WalletUnauthorizedRequestItems>;
declare const WalletUnauthorizedRequestItems: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"unauthorizedRequest", undefined>;
readonly oneTimeAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly oneTimePersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
}, undefined>;
type AuthUsePersonaRequestItem = InferOutput<typeof AuthUsePersonaRequestItem>;
declare const AuthUsePersonaRequestItem: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"usePersona", undefined>;
readonly identityAddress: valibot.StringSchema<undefined>;
}, undefined>;
type AuthLoginWithoutChallengeRequestItem = InferOutput<typeof AuthLoginWithoutChallengeRequestItem>;
declare const AuthLoginWithoutChallengeRequestItem: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithoutChallenge", undefined>;
}, undefined>;
type AuthLoginWithChallengeRequestItem = InferOutput<typeof AuthLoginWithChallengeRequestItem>;
declare const AuthLoginWithChallengeRequestItem: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithChallenge", undefined>;
readonly challenge: valibot.StringSchema<undefined>;
}, undefined>;
declare const AuthLoginRequestItem: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithoutChallenge", undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithChallenge", undefined>;
readonly challenge: valibot.StringSchema<undefined>;
}, undefined>], undefined>;
declare const AuthRequestItem: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"usePersona", undefined>;
readonly identityAddress: valibot.StringSchema<undefined>;
}, undefined>, valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithoutChallenge", undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithChallenge", undefined>;
readonly challenge: valibot.StringSchema<undefined>;
}, undefined>], undefined>], undefined>;
type WalletAuthorizedRequestItems = InferOutput<typeof WalletAuthorizedRequestItems>;
declare const WalletAuthorizedRequestItems: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"authorizedRequest", undefined>;
readonly auth: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"usePersona", undefined>;
readonly identityAddress: valibot.StringSchema<undefined>;
}, undefined>, valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithoutChallenge", undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithChallenge", undefined>;
readonly challenge: valibot.StringSchema<undefined>;
}, undefined>], undefined>], undefined>;
readonly reset: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly accounts: valibot.BooleanSchema<undefined>;
readonly personaData: valibot.BooleanSchema<undefined>;
}, undefined>, never>;
readonly proofOfOwnership: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.StringSchema<undefined>;
readonly identityAddress: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly accountAddresses: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
}, undefined>, never>;
readonly oneTimeAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly ongoingAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly oneTimePersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
readonly ongoingPersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
}, undefined>;
type WalletRequestItems = InferOutput<typeof WalletRequestItems>;
declare const WalletRequestItems: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"unauthorizedRequest", undefined>;
readonly oneTimeAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly oneTimePersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"authorizedRequest", undefined>;
readonly auth: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"usePersona", undefined>;
readonly identityAddress: valibot.StringSchema<undefined>;
}, undefined>, valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithoutChallenge", undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithChallenge", undefined>;
readonly challenge: valibot.StringSchema<undefined>;
}, undefined>], undefined>], undefined>;
readonly reset: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly accounts: valibot.BooleanSchema<undefined>;
readonly personaData: valibot.BooleanSchema<undefined>;
}, undefined>, never>;
readonly proofOfOwnership: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.StringSchema<undefined>;
readonly identityAddress: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly accountAddresses: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
}, undefined>, never>;
readonly oneTimeAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly ongoingAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly oneTimePersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
readonly ongoingPersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
}, undefined>], undefined>;
type SendTransactionItem = InferOutput<typeof SendTransactionItem>;
declare const SendTransactionItem: valibot.ObjectSchema<{
readonly transactionManifest: valibot.StringSchema<undefined>;
readonly version: valibot.NumberSchema<undefined>;
readonly blobs: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly message: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
}, undefined>;
type WalletTransactionItems = InferOutput<typeof WalletTransactionItems>;
declare const WalletTransactionItems: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"transaction", undefined>;
readonly send: valibot.ObjectSchema<{
readonly transactionManifest: valibot.StringSchema<undefined>;
readonly version: valibot.NumberSchema<undefined>;
readonly blobs: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly message: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
}, undefined>;
}, undefined>;
type SendTransactionResponseItem = InferOutput<typeof SendTransactionResponseItem>;
declare const SendTransactionResponseItem: valibot.ObjectSchema<{
readonly transactionIntentHash: valibot.StringSchema<undefined>;
}, undefined>;
type WalletTransactionResponseItems = InferOutput<typeof WalletTransactionResponseItems>;
declare const WalletTransactionResponseItems: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"transaction", undefined>;
readonly send: valibot.ObjectSchema<{
readonly transactionIntentHash: valibot.StringSchema<undefined>;
}, undefined>;
}, undefined>;
type CancelRequest = InferOutput<typeof CancelRequest>;
declare const CancelRequest: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"cancelRequest", undefined>;
}, undefined>;
type ExpireAtTime = InferOutput<typeof ExpireAtTime>;
declare const ExpireAtTime: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAtTime", undefined>;
readonly unixTimestampSeconds: valibot.NumberSchema<undefined>;
}, undefined>;
type ExpireAfterDelay = InferOutput<typeof ExpireAfterDelay>;
declare const ExpireAfterDelay: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAfterDelay", undefined>;
readonly expireAfterSeconds: valibot.NumberSchema<undefined>;
}, undefined>;
type SubintentRequestItem = InferOutput<typeof SubintentRequestItem>;
declare const SubintentRequestItem: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"subintent", undefined>;
/**
* Version of the message interface
*/
readonly version: valibot.NumberSchema<undefined>;
/**
* Version of the Transaction Manifest
*/
readonly manifestVersion: valibot.NumberSchema<undefined>;
readonly subintentManifest: valibot.StringSchema<undefined>;
readonly blobs: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly message: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly expiration: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAtTime", undefined>;
readonly unixTimestampSeconds: valibot.NumberSchema<undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAfterDelay", undefined>;
readonly expireAfterSeconds: valibot.NumberSchema<undefined>;
}, undefined>], undefined>;
}, undefined>;
type SubintentResponseItem = InferOutput<typeof SubintentResponseItem>;
declare const SubintentResponseItem: valibot.ObjectSchema<{
readonly expirationTimestamp: valibot.NumberSchema<undefined>;
readonly subintentHash: valibot.StringSchema<undefined>;
readonly signedPartialTransaction: valibot.StringSchema<undefined>;
}, undefined>;
type WalletPreAuthorizationItems = InferOutput<typeof WalletPreAuthorizationItems>;
declare const WalletPreAuthorizationItems: valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"preAuthorizationRequest", undefined>;
readonly request: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"subintent", undefined>;
/**
* Version of the message interface
*/
readonly version: valibot.NumberSchema<undefined>;
/**
* Version of the Transaction Manifest
*/
readonly manifestVersion: valibot.NumberSchema<undefined>;
readonly subintentManifest: valibot.StringSchema<undefined>;
readonly blobs: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly message: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly expiration: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAtTime", undefined>;
readonly unixTimestampSeconds: valibot.NumberSchema<undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAfterDelay", undefined>;
readonly expireAfterSeconds: valibot.NumberSchema<undefined>;
}, undefined>], undefined>;
}, undefined>, never>;
}, undefined>;
type WalletInteractionItems = InferOutput<typeof WalletInteractionItems>;
declare const WalletInteractionItems: valibot.UnionSchema<[valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"unauthorizedRequest", undefined>;
readonly oneTimeAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly oneTimePersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"authorizedRequest", undefined>;
readonly auth: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"usePersona", undefined>;
readonly identityAddress: valibot.StringSchema<undefined>;
}, undefined>, valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithoutChallenge", undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithChallenge", undefined>;
readonly challenge: valibot.StringSchema<undefined>;
}, undefined>], undefined>], undefined>;
readonly reset: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly accounts: valibot.BooleanSchema<undefined>;
readonly personaData: valibot.BooleanSchema<undefined>;
}, undefined>, never>;
readonly proofOfOwnership: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.StringSchema<undefined>;
readonly identityAddress: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly accountAddresses: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
}, undefined>, never>;
readonly oneTimeAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly ongoingAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly oneTimePersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
readonly ongoingPersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
}, undefined>], undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"transaction", undefined>;
readonly send: valibot.ObjectSchema<{
readonly transactionManifest: valibot.StringSchema<undefined>;
readonly version: valibot.NumberSchema<undefined>;
readonly blobs: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly message: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
}, undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"cancelRequest", undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"preAuthorizationRequest", undefined>;
readonly request: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"subintent", undefined>;
/**
* Version of the message interface
*/
readonly version: valibot.NumberSchema<undefined>;
/**
* Version of the Transaction Manifest
*/
readonly manifestVersion: valibot.NumberSchema<undefined>;
readonly subintentManifest: valibot.StringSchema<undefined>;
readonly blobs: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly message: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly expiration: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAtTime", undefined>;
readonly unixTimestampSeconds: valibot.NumberSchema<undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAfterDelay", undefined>;
readonly expireAfterSeconds: valibot.NumberSchema<undefined>;
}, undefined>], undefined>;
}, undefined>, never>;
}, undefined>], undefined>;
type Metadata = InferOutput<typeof Metadata>;
declare const Metadata: valibot.ObjectSchema<{
readonly version: valibot.LiteralSchema<2, undefined>;
readonly networkId: valibot.NumberSchema<undefined>;
readonly dAppDefinitionAddress: valibot.StringSchema<undefined>;
readonly origin: valibot.StringSchema<undefined>;
}, undefined>;
type WalletInteraction = InferOutput<typeof WalletInteraction>;
declare const WalletInteraction: valibot.ObjectSchema<{
readonly interactionId: valibot.StringSchema<undefined>;
readonly metadata: valibot.ObjectSchema<{
readonly version: valibot.LiteralSchema<2, undefined>;
readonly networkId: valibot.NumberSchema<undefined>;
readonly dAppDefinitionAddress: valibot.StringSchema<undefined>;
readonly origin: valibot.StringSchema<undefined>;
}, undefined>;
readonly items: valibot.UnionSchema<[valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"unauthorizedRequest", undefined>;
readonly oneTimeAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly oneTimePersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"authorizedRequest", undefined>;
readonly auth: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"usePersona", undefined>;
readonly identityAddress: valibot.StringSchema<undefined>;
}, undefined>, valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithoutChallenge", undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"loginWithChallenge", undefined>;
readonly challenge: valibot.StringSchema<undefined>;
}, undefined>], undefined>], undefined>;
readonly reset: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly accounts: valibot.BooleanSchema<undefined>;
readonly personaData: valibot.BooleanSchema<undefined>;
}, undefined>, never>;
readonly proofOfOwnership: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.StringSchema<undefined>;
readonly identityAddress: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly accountAddresses: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
}, undefined>, never>;
readonly oneTimeAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly ongoingAccounts: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly challenge: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly numberOfAccounts: valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>;
}, undefined>, never>;
readonly oneTimePersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
readonly ongoingPersonaData: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly isRequestingName: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
readonly numberOfRequestedEmailAddresses: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
readonly numberOfRequestedPhoneNumbers: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly quantifier: valibot.UnionSchema<[valibot.LiteralSchema<"exactly", undefined>, valibot.LiteralSchema<"atLeast", undefined>], undefined>;
readonly quantity: valibot.SchemaWithPipe<[valibot.NumberSchema<undefined>, valibot.MinValueAction<number, 0, "The number must be at least 0.">]>;
}, undefined>, never>;
}, undefined>, never>;
}, undefined>], undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"transaction", undefined>;
readonly send: valibot.ObjectSchema<{
readonly transactionManifest: valibot.StringSchema<undefined>;
readonly version: valibot.NumberSchema<undefined>;
readonly blobs: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly message: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
}, undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"cancelRequest", undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"preAuthorizationRequest", undefined>;
readonly request: valibot.OptionalSchema<valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"subintent", undefined>;
/**
* Version of the message interface
*/
readonly version: valibot.NumberSchema<undefined>;
/**
* Version of the Transaction Manifest
*/
readonly manifestVersion: valibot.NumberSchema<undefined>;
readonly subintentManifest: valibot.StringSchema<undefined>;
readonly blobs: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
readonly message: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
readonly expiration: valibot.UnionSchema<[valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAtTime", undefined>;
readonly unixTimestampSeconds: valibot.NumberSchema<undefined>;
}, undefined>, valibot.ObjectSchema<{
readonly discriminator: valibot.LiteralSchema<"expireAfterDelay", undefined>;
readonly expireAfterSeconds: valibot.NumberSchema<undefined>;
}, undefined>], undefined>;
}, undefined>, never>;
}, undefined>], undefined>;
}, undefined>;
type WalletUnauthorizedRequestR