/** * Name generation utilities * * Handles: * - Convert display names to valid TypeScript identifiers * - Handle name collisions (HttpRequest1, HttpRequest2, ...) * - Sanitize special characters */ import { PropertyNameContext } from '../types.js'; /** * Create a property name context for tracking used names */ export declare function createPropertyNameContext(): PropertyNameContext; /** * Generate a valid TypeScript property name from a node display name * * Rules: * - Remove emojis and special characters * - Convert to PascalCase * - Handle collisions with numeric suffix (HttpRequest1, HttpRequest2) * - Ensure valid JavaScript identifier * * @example * "🕘 Schedule Trigger" → "ScheduleTrigger" * "HTTP Request" → "HttpRequest" * "HTTP Request" (2nd) → "HttpRequest1" * "⚙️ Configuration" → "Configuration" * "⚙️ Configuration" (2nd) → "Configuration1" */ export declare function generatePropertyName(displayName: string, context: PropertyNameContext): string; /** * Generate a unique class name from workflow name * * @example * "Job Application Assistant" → "JobApplicationAssistantWorkflow" * "My Workflow" → "MyWorkflow" (not doubled — already ends with Workflow) * "Send Slack Message" → "SendSlackMessageWorkflow" */ export declare function generateClassName(workflowName: string): string; //# sourceMappingURL=naming.d.ts.map