import { SuiClientTypes } from "../../client/types.mjs"; import { EnumInputShape, EnumOutputShape } from "@mysten/bcs"; import { Simplify } from "@mysten/utils"; import * as valibot481 from "valibot"; import { GenericSchema, InferInput, InferOutput, ObjectSchema } from "valibot"; //#region src/transactions/data/internal.d.ts type EnumSchemaInput>> = EnumInputShape }>>; type EnumSchemaOutput>> = EnumOutputShape }>>; type EnumSchema>> = GenericSchema, EnumSchemaOutput>; declare const ObjectRefSchema: ObjectSchema<{ readonly objectId: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly digest: valibot481.StringSchema; }, undefined>; type ObjectRef = InferOutput; declare const ArgumentSchema: valibot481.UnionSchema<[GenericSchema<{ GasCoin: true; $kind?: "GasCoin" | undefined; }, { GasCoin: true; $kind: "GasCoin"; }>, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>; type Argument = InferOutput; declare const GasDataSchema: ObjectSchema<{ readonly budget: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly price: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly owner: valibot481.NullableSchema, valibot481.TransformAction, valibot481.CheckAction]>, undefined>; readonly payment: valibot481.NullableSchema, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly digest: valibot481.StringSchema; }, undefined>, undefined>, undefined>; }, undefined>; type GasData = InferOutput; type Command = EnumOutputShape<{ MoveCall: { package: string; module: string; function: string; typeArguments: string[]; arguments: Arg[]; _argumentTypes?: SuiClientTypes.OpenSignature[] | null; }; TransferObjects: { objects: Arg[]; address: Arg; }; SplitCoins: { coin: Arg; amounts: Arg[]; }; MergeCoins: { destination: Arg; sources: Arg[]; }; Publish: { modules: string[]; dependencies: string[]; }; MakeMoveVec: { type: string | null; elements: Arg[]; }; Upgrade: { modules: string[]; dependencies: string[]; package: string; ticket: Arg; }; $Intent: { name: string; inputs: Record; data: Record; }; }>; declare const ReservationSchema: EnumSchema<{ MaxAmountU64: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; }>; type Reservation = InferOutput; declare const WithdrawalTypeArgSchema: EnumSchema<{ Balance: valibot481.StringSchema; }>; type WithdrawalTypeArg = InferOutput; declare const WithdrawFromSchema: EnumSchema<{ Sender: valibot481.LiteralSchema; Sponsor: valibot481.LiteralSchema; }>; type WithdrawFrom = InferOutput; declare const CallArgSchema: EnumSchema<{ Object: EnumSchema<{ ImmOrOwnedObject: ObjectSchema<{ readonly objectId: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly digest: valibot481.StringSchema; }, undefined>; SharedObject: ObjectSchema<{ readonly objectId: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly initialSharedVersion: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly mutable: valibot481.BooleanSchema; }, undefined>; Receiving: ObjectSchema<{ readonly objectId: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly digest: valibot481.StringSchema; }, undefined>; }>; Pure: ObjectSchema<{ readonly bytes: valibot481.StringSchema; }, undefined>; UnresolvedPure: ObjectSchema<{ readonly value: valibot481.UnknownSchema; }, undefined>; UnresolvedObject: ObjectSchema<{ readonly objectId: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.OptionalSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>, undefined>; readonly digest: valibot481.OptionalSchema, undefined>, undefined>; readonly initialSharedVersion: valibot481.OptionalSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>, undefined>; readonly mutable: valibot481.OptionalSchema, undefined>, undefined>; }, undefined>; FundsWithdrawal: ObjectSchema<{ readonly reservation: EnumSchema<{ MaxAmountU64: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; }>; readonly typeArg: EnumSchema<{ Balance: valibot481.StringSchema; }>; readonly withdrawFrom: EnumSchema<{ Sender: valibot481.LiteralSchema; Sponsor: valibot481.LiteralSchema; }>; }, undefined>; }>; type CallArg = InferOutput; declare const TransactionExpiration: EnumSchema<{ None: valibot481.LiteralSchema; Epoch: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; ValidDuring: ObjectSchema<{ readonly minEpoch: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly maxEpoch: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly minTimestamp: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly maxTimestamp: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly chain: valibot481.StringSchema; readonly nonce: valibot481.SchemaWithPipe, valibot481.IntegerAction, valibot481.CheckAction]>; }, undefined>; }>; type TransactionExpiration = InferOutput; declare const TransactionDataSchema: ObjectSchema<{ readonly version: valibot481.LiteralSchema<2, undefined>; readonly sender: valibot481.NullishSchema, valibot481.TransformAction, valibot481.CheckAction]>, undefined>; readonly expiration: valibot481.NullishSchema; Epoch: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; ValidDuring: ObjectSchema<{ readonly minEpoch: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly maxEpoch: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly minTimestamp: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly maxTimestamp: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly chain: valibot481.StringSchema; readonly nonce: valibot481.SchemaWithPipe, valibot481.IntegerAction, valibot481.CheckAction]>; }, undefined>; }>, undefined>; readonly gasData: ObjectSchema<{ readonly budget: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly price: valibot481.NullableSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>; readonly owner: valibot481.NullableSchema, valibot481.TransformAction, valibot481.CheckAction]>, undefined>; readonly payment: valibot481.NullableSchema, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly digest: valibot481.StringSchema; }, undefined>, undefined>, undefined>; }, undefined>; readonly inputs: valibot481.ArraySchema, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly digest: valibot481.StringSchema; }, undefined>; SharedObject: ObjectSchema<{ readonly objectId: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly initialSharedVersion: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly mutable: valibot481.BooleanSchema; }, undefined>; Receiving: ObjectSchema<{ readonly objectId: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; readonly digest: valibot481.StringSchema; }, undefined>; }>; Pure: ObjectSchema<{ readonly bytes: valibot481.StringSchema; }, undefined>; UnresolvedPure: ObjectSchema<{ readonly value: valibot481.UnknownSchema; }, undefined>; UnresolvedObject: ObjectSchema<{ readonly objectId: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly version: valibot481.OptionalSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>, undefined>; readonly digest: valibot481.OptionalSchema, undefined>, undefined>; readonly initialSharedVersion: valibot481.OptionalSchema, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>, undefined>, undefined>; readonly mutable: valibot481.OptionalSchema, undefined>, undefined>; }, undefined>; FundsWithdrawal: ObjectSchema<{ readonly reservation: EnumSchema<{ MaxAmountU64: valibot481.SchemaWithPipe, valibot481.SchemaWithPipe, valibot481.IntegerAction]>], undefined>, valibot481.CheckAction]>; }>; readonly typeArg: EnumSchema<{ Balance: valibot481.StringSchema; }>; readonly withdrawFrom: EnumSchema<{ Sender: valibot481.LiteralSchema; Sponsor: valibot481.LiteralSchema; }>; }, undefined>; }>, undefined>; readonly commands: valibot481.ArraySchema, valibot481.TransformAction, valibot481.CheckAction]>; readonly module: valibot481.StringSchema; readonly function: valibot481.StringSchema; readonly typeArguments: valibot481.ArraySchema, undefined>; readonly arguments: valibot481.ArraySchema, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>, undefined>; readonly _argumentTypes: valibot481.OptionalSchema, valibot481.LiteralSchema<"immutable", undefined>, valibot481.LiteralSchema<"unknown", undefined>], undefined>, undefined>; readonly body: GenericSchema; }, undefined>, undefined>, undefined>, undefined>; }, undefined>; TransferObjects: ObjectSchema<{ readonly objects: valibot481.ArraySchema, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>, undefined>; readonly address: valibot481.UnionSchema<[GenericSchema<{ GasCoin: true; $kind?: "GasCoin" | undefined; }, { GasCoin: true; $kind: "GasCoin"; }>, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>; }, undefined>; SplitCoins: ObjectSchema<{ readonly coin: valibot481.UnionSchema<[GenericSchema<{ GasCoin: true; $kind?: "GasCoin" | undefined; }, { GasCoin: true; $kind: "GasCoin"; }>, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>; readonly amounts: valibot481.ArraySchema, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>, undefined>; }, undefined>; MergeCoins: ObjectSchema<{ readonly destination: valibot481.UnionSchema<[GenericSchema<{ GasCoin: true; $kind?: "GasCoin" | undefined; }, { GasCoin: true; $kind: "GasCoin"; }>, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>; readonly sources: valibot481.ArraySchema, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>, undefined>; }, undefined>; Publish: ObjectSchema<{ readonly modules: valibot481.ArraySchema, undefined>; readonly dependencies: valibot481.ArraySchema, valibot481.TransformAction, valibot481.CheckAction]>, undefined>; }, undefined>; MakeMoveVec: ObjectSchema<{ readonly type: valibot481.NullableSchema, undefined>; readonly elements: valibot481.ArraySchema, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>, undefined>; }, undefined>; Upgrade: ObjectSchema<{ readonly modules: valibot481.ArraySchema, undefined>; readonly dependencies: valibot481.ArraySchema, valibot481.TransformAction, valibot481.CheckAction]>, undefined>; readonly package: valibot481.SchemaWithPipe, valibot481.TransformAction, valibot481.CheckAction]>; readonly ticket: valibot481.UnionSchema<[GenericSchema<{ GasCoin: true; $kind?: "GasCoin" | undefined; }, { GasCoin: true; $kind: "GasCoin"; }>, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>; }, undefined>; $Intent: ObjectSchema<{ readonly name: valibot481.StringSchema; readonly inputs: valibot481.RecordSchema, valibot481.UnionSchema<[valibot481.UnionSchema<[GenericSchema<{ GasCoin: true; $kind?: "GasCoin" | undefined; }, { GasCoin: true; $kind: "GasCoin"; }>, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>, valibot481.ArraySchema, GenericSchema<{ Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind?: "Input" | undefined; }, { Input: number; type?: "object" | "pure" | "withdrawal" | undefined; $kind: "Input"; }>, GenericSchema<{ Result: number; $kind?: "Result" | undefined; }, { Result: number; $kind: "Result"; }>, GenericSchema<{ NestedResult: [number, number]; $kind?: "NestedResult" | undefined; }, { NestedResult: [number, number]; $kind: "NestedResult"; }>], undefined>, undefined>], undefined>, undefined>; readonly data: valibot481.RecordSchema, valibot481.UnknownSchema, undefined>; }, undefined>; }>, undefined>; }, undefined>; type TransactionData = InferOutput; //#endregion export { Argument, ArgumentSchema, CallArg, Command, GasData, ObjectRef, Reservation, TransactionData, TransactionExpiration, WithdrawFrom, WithdrawalTypeArg }; //# sourceMappingURL=internal.d.mts.map