import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Monetary amount associated with the commission */ export type CommissionAmount1 = { /** * 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; }; export type Commission = { /** * Monetary amount associated with the commission */ amount?: CommissionAmount1 | null | undefined; }; /** @internal */ export declare const CommissionAmount1$inboundSchema: z.ZodType; /** @internal */ export type CommissionAmount1$Outbound = { value?: string | undefined; }; /** @internal */ export declare const CommissionAmount1$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 CommissionAmount1$ { /** @deprecated use `CommissionAmount1$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CommissionAmount1$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CommissionAmount1$Outbound` instead. */ type Outbound = CommissionAmount1$Outbound; } export declare function commissionAmount1ToJSON(commissionAmount1: CommissionAmount1): string; export declare function commissionAmount1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Commission$inboundSchema: z.ZodType; /** @internal */ export type Commission$Outbound = { amount?: CommissionAmount1$Outbound | null | undefined; }; /** @internal */ export declare const Commission$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 Commission$ { /** @deprecated use `Commission$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Commission$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Commission$Outbound` instead. */ type Outbound = Commission$Outbound; } export declare function commissionToJSON(commission: Commission): string; export declare function commissionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=commission.d.ts.map