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