import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { IconConfig, IconConfig$Outbound } from "./iconconfig.js"; /** * Displays a user's accomplishment or milestone */ export type Badge = { /** * An auto generated unique identifier. */ key?: string | undefined; /** * The badge name displayed to users */ displayName?: string | undefined; /** * Defines how to render an icon */ iconConfig?: IconConfig | undefined; /** * The badge should be shown on the PersonAttribution */ pinned?: boolean | undefined; }; /** @internal */ export declare const Badge$inboundSchema: z.ZodType; /** @internal */ export type Badge$Outbound = { key?: string | undefined; displayName?: string | undefined; iconConfig?: IconConfig$Outbound | undefined; pinned?: boolean | undefined; }; /** @internal */ export declare const Badge$outboundSchema: z.ZodType; export declare function badgeToJSON(badge: Badge): string; export declare function badgeFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=badge.d.ts.map