import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The notional value the order is not reasonably expected to exceed in USD. This value is always positive. */ export type ExpectedNotionalCeilingAmount = { /** * The decimal value, as a string; Refer to [Google’s Decimal type protocol buffer](https://github.com/googleapis/googleapis/blob/40203ca1880849480bbff7b8715491060bbccdf1/google/type/decimal.proto#L33) for details */ value?: string | undefined; }; /** * A summary of an open order. */ export type CalculateCashBalanceResponseOpenOrderSummary = { /** * The asset for the open order. */ asset?: string | undefined; /** * The notional value the order is not reasonably expected to exceed in USD. This value is always positive. */ expectedNotionalCeilingAmount?: ExpectedNotionalCeilingAmount | null | undefined; }; /** @internal */ export declare const ExpectedNotionalCeilingAmount$inboundSchema: z.ZodType; /** @internal */ export type ExpectedNotionalCeilingAmount$Outbound = { value?: string | undefined; }; /** @internal */ export declare const ExpectedNotionalCeilingAmount$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 ExpectedNotionalCeilingAmount$ { /** @deprecated use `ExpectedNotionalCeilingAmount$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExpectedNotionalCeilingAmount$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExpectedNotionalCeilingAmount$Outbound` instead. */ type Outbound = ExpectedNotionalCeilingAmount$Outbound; } export declare function expectedNotionalCeilingAmountToJSON(expectedNotionalCeilingAmount: ExpectedNotionalCeilingAmount): string; export declare function expectedNotionalCeilingAmountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CalculateCashBalanceResponseOpenOrderSummary$inboundSchema: z.ZodType; /** @internal */ export type CalculateCashBalanceResponseOpenOrderSummary$Outbound = { asset?: string | undefined; expected_notional_ceiling_amount?: ExpectedNotionalCeilingAmount$Outbound | null | undefined; }; /** @internal */ export declare const CalculateCashBalanceResponseOpenOrderSummary$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 CalculateCashBalanceResponseOpenOrderSummary$ { /** @deprecated use `CalculateCashBalanceResponseOpenOrderSummary$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CalculateCashBalanceResponseOpenOrderSummary$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CalculateCashBalanceResponseOpenOrderSummary$Outbound` instead. */ type Outbound = CalculateCashBalanceResponseOpenOrderSummary$Outbound; } export declare function calculateCashBalanceResponseOpenOrderSummaryToJSON(calculateCashBalanceResponseOpenOrderSummary: CalculateCashBalanceResponseOpenOrderSummary): string; export declare function calculateCashBalanceResponseOpenOrderSummaryFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=calculatecashbalanceresponseopenordersummary.d.ts.map