import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Deduction = { /** * The name of the deduction. */ name?: string | null | undefined; /** * The amount deducted. */ amount?: number | null | undefined; }; /** @internal */ export declare const Deduction$inboundSchema: z.ZodType; /** @internal */ export type Deduction$Outbound = { name?: string | null | undefined; amount?: number | null | undefined; }; /** @internal */ export declare const Deduction$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 Deduction$ { /** @deprecated use `Deduction$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Deduction$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Deduction$Outbound` instead. */ type Outbound = Deduction$Outbound; } export declare function deductionToJSON(deduction: Deduction): string; export declare function deductionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deduction.d.ts.map