import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DecimalCreate, DecimalCreate$Outbound } from "./decimalcreate.js"; /** * The position or amount of the asset */ export type PositionCreate = { /** * A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal][] or Python's [decimal.Decimal][]. * * @remarks * * [BigDecimal]: * https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html * [decimal.Decimal]: https://docs.python.org/3/library/decimal.html */ quantity: DecimalCreate; }; /** @internal */ export declare const PositionCreate$inboundSchema: z.ZodType; /** @internal */ export type PositionCreate$Outbound = { quantity: DecimalCreate$Outbound; }; /** @internal */ export declare const PositionCreate$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PositionCreate$ { /** @deprecated use `PositionCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PositionCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PositionCreate$Outbound` instead. */ type Outbound = PositionCreate$Outbound; } export declare function positionCreateToJSON(positionCreate: PositionCreate): string; export declare function positionCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=positioncreate.d.ts.map