import { ExtendedActivityType } from "../types/extended-activity"; import { WxCCTemplatedActivityType } from "../types/wxcc-activity"; export interface IconInfo { iconSrc: string; alt: string; } export interface ActivityDisplayType { activityName: ExtendedActivityType; value: ActivityDisplayTypeValue; label: string; icon: string; group: string; } export interface CreatableActivityDisplayType extends ActivityDisplayType { activityName: WxCCTemplatedActivityType; } export type ActivityDisplayTypeValue = 'condition-activity' | 'queue-contact' | 'ivr-menu' | 'blind-transfer' | 'wait-activity' | 'newphonecontact' | 'disconnect-contact' | 'play-message' | 'play-music' | 'unmapped' | 'business-hours' | 'set-variable' | 'end'; /** * Map of node icons based on display type or label */ export declare const ICON_MAP: { [key in ActivityDisplayTypeValue]: string; }; /** * All available activity display types for node configuration * Values match ICON_MAP keys exactly */ export declare const ACTIVITY_DISPLAY_TYPES: ActivityDisplayType[]; export declare const CREATABLE_ACTIVITY_DISPLAY_TYPES: CreatableActivityDisplayType[]; /** * Get node icon information based on name or display type * @param name - The node name or display type * @returns Icon information with src and alt text */ export declare function getNodeIcon(name: string): IconInfo; /** * Get node color class based on group * @param group - The node group * @returns CSS class name for node coloring */ export declare function getNodeColorClass(group: string): string; /** * Get activity type label based on group * @param group - The node group * @returns Human-readable activity type label */ export declare function getActivityTypeLabel(group: string): string; /** * Find activity display type by value * @param value - The display type value * @returns Display type or unmapped if not found */ export declare function getActivityDisplayTypeByValue(value: string): ActivityDisplayType; export declare function getCreatableActivityDisplayTypeByValue(value: string): CreatableActivityDisplayType;