import { TypeTag } from "../../bcs/types.mjs"; import "./internal.mjs"; import "@mysten/bcs"; import * as valibot49 from "valibot"; import { GenericSchema, InferOutput } from "valibot"; //#region src/transactions/data/v1.d.ts declare const SerializedTransactionDataV1: valibot49.ObjectSchema<{ readonly version: valibot49.LiteralSchema<1, undefined>; readonly sender: valibot49.OptionalSchema, undefined>; readonly expiration: valibot49.NullishSchema, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly None: valibot49.NullableSchema, undefined>; }, undefined>], undefined>, undefined>; readonly gasConfig: valibot49.ObjectSchema<{ readonly budget: valibot49.OptionalSchema, valibot49.StringSchema, valibot49.BigintSchema], undefined>, valibot49.CheckAction]>, undefined>; readonly price: valibot49.OptionalSchema, valibot49.StringSchema, valibot49.BigintSchema], undefined>, valibot49.CheckAction]>, undefined>; readonly payment: valibot49.OptionalSchema; readonly objectId: valibot49.StringSchema; readonly version: valibot49.UnionSchema<[valibot49.SchemaWithPipe, valibot49.IntegerAction]>, valibot49.StringSchema, valibot49.BigintSchema], undefined>; }, undefined>, undefined>, undefined>; readonly owner: valibot49.OptionalSchema, undefined>; }, undefined>; readonly inputs: valibot49.ArraySchema; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, undefined>; readonly transactions: valibot49.ArraySchema; readonly target: GenericSchema<`${string}::${string}::${string}`>; readonly typeArguments: valibot49.ArraySchema, undefined>; readonly arguments: valibot49.ArraySchema; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"TransferObjects", undefined>; readonly objects: valibot49.ArraySchema; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>, undefined>; readonly address: valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"SplitCoins", undefined>; readonly coin: valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>; readonly amounts: valibot49.ArraySchema; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"MergeCoins", undefined>; readonly destination: valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>; readonly sources: valibot49.ArraySchema; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Publish", undefined>; readonly modules: valibot49.ArraySchema, valibot49.IntegerAction]>, undefined>, undefined>; readonly dependencies: valibot49.ArraySchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Upgrade", undefined>; readonly modules: valibot49.ArraySchema, valibot49.IntegerAction]>, undefined>, undefined>; readonly dependencies: valibot49.ArraySchema, undefined>; readonly packageId: valibot49.StringSchema; readonly ticket: valibot49.UnionSchema<[valibot49.UnionSchema<[valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"MakeMoveVec", undefined>; readonly type: valibot49.UnionSchema<[valibot49.ObjectSchema<{ readonly Some: GenericSchema; }, undefined>, valibot49.ObjectSchema<{ readonly None: valibot49.NullableSchema, undefined>; }, undefined>], undefined>; readonly objects: valibot49.ArraySchema; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.OptionalSchema, undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Input", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly value: valibot49.UnknownSchema; readonly type: valibot49.LiteralSchema<"pure", undefined>; }, undefined>], undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"GasCoin", undefined>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"Result", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>, valibot49.ObjectSchema<{ readonly kind: valibot49.LiteralSchema<"NestedResult", undefined>; readonly index: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; readonly resultIndex: valibot49.SchemaWithPipe, valibot49.IntegerAction]>; }, undefined>], undefined>, undefined>; }, undefined>], undefined>, undefined>; }, undefined>; type SerializedTransactionDataV1 = InferOutput; //#endregion export { SerializedTransactionDataV1 }; //# sourceMappingURL=v1.d.mts.map