import { SdkScales } from "../../shared/decimal-surface.js"; import { U128Value } from "../../utils/u128.js"; import * as v from "valibot"; //#region src/services/internal-transfers/internal-transfers.schemas.d.ts declare const InternalTransferDestinationInputSchema: v.SchemaWithPipe; readonly accountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; }, undefined>, v.StrictObjectSchema<{ readonly type: v.LiteralSchema<"subaccount", undefined>; readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; }, undefined>, v.StrictObjectSchema<{ readonly type: v.LiteralSchema<"smartAccountAddress", undefined>; readonly address: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>], undefined>, v.TransformAction<{ type: "account"; accountId: bigint; } | { type: "subaccount"; subaccountId: bigint; } | { type: "smartAccountAddress"; address: string; }, { readonly case: "destinationAccountId"; readonly value: bigint; } | { readonly case: "destinationSubaccountId"; readonly value: bigint; } | { readonly case: "destinationSmartAccountAddress"; readonly value: string; }>]>; type InternalTransferDestination = v.InferInput; declare function createCreateInternalTransferInputSchema(scales: SdkScales): v.SchemaWithPipe; readonly accountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; }, undefined>, v.StrictObjectSchema<{ readonly type: v.LiteralSchema<"subaccount", undefined>; readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; }, undefined>, v.StrictObjectSchema<{ readonly type: v.LiteralSchema<"smartAccountAddress", undefined>; readonly address: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>], undefined>, v.TransformAction<{ type: "account"; accountId: bigint; } | { type: "subaccount"; subaccountId: bigint; } | { type: "smartAccountAddress"; address: string; }, { readonly case: "destinationAccountId"; readonly value: bigint; } | { readonly case: "destinationSubaccountId"; readonly value: bigint; } | { readonly case: "destinationSmartAccountAddress"; readonly value: string; }>]>; readonly assetId: v.SchemaWithPipe, v.IntegerAction, v.GtValueAction, v.MaxValueAction]>; readonly quantity: v.StringSchema; readonly idempotencyKey: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly account: v.OptionalSchema, v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>], undefined>, undefined>; }, undefined>, v.TransformAction<{ destination: { readonly case: "destinationAccountId"; readonly value: bigint; } | { readonly case: "destinationSubaccountId"; readonly value: bigint; } | { readonly case: "destinationSmartAccountAddress"; readonly value: string; }; assetId: number; quantity: string; idempotencyKey: string; account?: "active" | "main" | { subaccountId: string; } | undefined; }, { amountE18: U128Value; subaccountId: bigint | undefined; destination: { readonly case: "destinationAccountId"; readonly value: bigint; } | { readonly case: "destinationSubaccountId"; readonly value: bigint; } | { readonly case: "destinationSmartAccountAddress"; readonly value: string; }; assetId: number; idempotencyKey: string; }>]>; type CreateInternalTransferInput = v.InferInput>; declare const ResolvedInternalTransferDestinationSchema: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>; readonly subaccountPublicId: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>; readonly smartAccountAddress: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>; }, undefined>, v.TransformAction<{ rootAccountPublicId?: string | undefined; subaccountPublicId?: string | undefined; smartAccountAddress?: string | undefined; }, { rootAccountId: string | undefined; subaccountId: string | undefined; smartAccountAddress: string | undefined; }>]>; type ResolvedInternalTransferDestination = v.InferOutput; declare function createCreateInternalTransferResultSchema(): v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly transferId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly acceptedAtTsNs: v.BigintSchema; readonly assetId: v.NumberSchema; readonly assetCode: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly uAssetId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly amountE18: v.ObjectSchema<{ readonly hi: v.BigintSchema; readonly lo: v.BigintSchema; }, undefined>; readonly destination: v.OptionalSchema, v.TrimAction]>, undefined>, v.TransformAction]>; readonly subaccountPublicId: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>; readonly smartAccountAddress: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>; }, undefined>, v.TransformAction<{ rootAccountPublicId?: string | undefined; subaccountPublicId?: string | undefined; smartAccountAddress?: string | undefined; }, { rootAccountId: string | undefined; subaccountId: string | undefined; smartAccountAddress: string | undefined; }>]>, undefined>; }, undefined>, v.TransformAction<{ requestId: string; transferId: string; acceptedAtTsNs: bigint; assetId: number; assetCode: string; uAssetId: string; amountE18: { hi: bigint; lo: bigint; }; destination?: { rootAccountId: string | undefined; subaccountId: string | undefined; smartAccountAddress: string | undefined; } | undefined; }, { acceptedAtUnixMs: number; quantity: string; requestId: string; transferId: string; assetId: number; assetCode: string; uAssetId: string; destination?: { rootAccountId: string | undefined; subaccountId: string | undefined; smartAccountAddress: string | undefined; } | undefined; }>]>; type CreateInternalTransferResult = v.InferOutput>; //#endregion export { CreateInternalTransferInput, CreateInternalTransferResult, InternalTransferDestination, InternalTransferDestinationInputSchema, ResolvedInternalTransferDestination, ResolvedInternalTransferDestinationSchema, createCreateInternalTransferInputSchema, createCreateInternalTransferResultSchema }; //# sourceMappingURL=internal-transfers.schemas.d.ts.map