import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DangerousGoodsBiologicalMaterial, DangerousGoodsBiologicalMaterial$Outbound } from "./dangerousgoodsbiologicalmaterial.js"; import { DangerousGoodsLithiumBatteries, DangerousGoodsLithiumBatteries$Outbound } from "./dangerousgoodslithiumbatteries.js"; /** * Container for specifying the presence of dangerous materials. This is specific to USPS, and if any contents * * @remarks * are provided, only certain USPS service levels will be eligible. For more information, see our * guide on hazardous or dangerous materials shipping. */ export type DangerousGoodsObject = { /** * Indicates if the shipment contains dangerous goods. */ contains?: boolean | undefined; /** * Container for specifying the presence of biological material. */ biologicalMaterial?: DangerousGoodsBiologicalMaterial | undefined; /** * Container for specifying the presence of lithium batteries. */ lithiumBatteries?: DangerousGoodsLithiumBatteries | undefined; }; /** @internal */ export declare const DangerousGoodsObject$inboundSchema: z.ZodMiniType; /** @internal */ export type DangerousGoodsObject$Outbound = { contains?: boolean | undefined; biological_material?: DangerousGoodsBiologicalMaterial$Outbound | undefined; lithium_batteries?: DangerousGoodsLithiumBatteries$Outbound | undefined; }; /** @internal */ export declare const DangerousGoodsObject$outboundSchema: z.ZodMiniType; export declare function dangerousGoodsObjectToJSON(dangerousGoodsObject: DangerousGoodsObject): string; export declare function dangerousGoodsObjectFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=dangerousgoodsobject.d.ts.map