import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const IconType: { readonly Collection: "COLLECTION"; readonly Custom: "CUSTOM"; readonly Datasource: "DATASOURCE"; readonly DatasourceInstance: "DATASOURCE_INSTANCE"; readonly Favicon: "FAVICON"; readonly FileType: "FILE_TYPE"; readonly GeneratedBackground: "GENERATED_BACKGROUND"; readonly Glyph: "GLYPH"; readonly MimeType: "MIME_TYPE"; readonly NoIcon: "NO_ICON"; readonly Person: "PERSON"; readonly Reactions: "REACTIONS"; readonly Url: "URL"; }; export type IconType = OpenEnum; /** * Defines how to render an icon */ export type IconConfig = { generatedBackgroundColorKey?: string | undefined; backgroundColor?: string | undefined; color?: string | undefined; key?: string | undefined; iconType?: IconType | undefined; /** * Whether the icon should be masked based on current theme. */ masked?: boolean | undefined; /** * The name of the icon if applicable, e.g. the glyph name for `IconType.GLYPH` icons. */ name?: string | undefined; /** * The URL to an image to be displayed if applicable, e.g. the URL for `iconType.URL` icons. */ url?: string | undefined; }; /** @internal */ export declare const IconType$inboundSchema: z.ZodType; /** @internal */ export declare const IconType$outboundSchema: z.ZodType; /** @internal */ export declare const IconConfig$inboundSchema: z.ZodType; /** @internal */ export type IconConfig$Outbound = { generatedBackgroundColorKey?: string | undefined; backgroundColor?: string | undefined; color?: string | undefined; key?: string | undefined; iconType?: string | undefined; masked?: boolean | undefined; name?: string | undefined; url?: string | undefined; }; /** @internal */ export declare const IconConfig$outboundSchema: z.ZodType; export declare function iconConfigToJSON(iconConfig: IconConfig): string; export declare function iconConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=iconconfig.d.ts.map