/** * Identifier + RPC-name helpers. n8n node names are free text (spaces, quotes, * emoji, punctuation), so everything that becomes a TS identifier or graph node * id is sanitized here. */ export declare function toCamelCase(input: string): string; export declare function toPascalCase(input: string): string; /** A safe kebab-case token, e.g. "Slack — Marketing" -> "slack-marketing". */ export declare function toKebabCase(input: string): string; /** A safe camelCase identifier that never starts with a digit or a reserved word. */ export declare function sanitizeIdentifier(input: string): string; /** * Make a human-readable name safe to emit as a JS string literal / object key. * A workflow's `name` becomes a key in Pikku's generated workflow map (emitted * single-quoted), so quote characters (`'` `"` `` ` ``), backslashes, and * control characters would break the generated code — strip them. Unicode * (accents, emoji) is valid in a string and kept; whitespace is collapsed. */ export declare function sanitizeDisplayName(input: string): string; /** Last dotted segment of an n8n type, e.g. "n8n-nodes-base.gmailTool" -> "gmailTool". */ export declare function typeShort(type: string): string; /** RPC name for an integration node: `__`. */ export declare function integrationRpcName(type: string, nodeName: string): string; /** RPC name for a Code node: `codeStub`. */ export declare function codeRpcName(nodeName: string): string; /** RPC name for a vector-store retrieval node: `vectorStub__`. */ export declare function vectorRpcName(nodeName: string): string; /** Ensure names are unique by suffixing collisions with an incrementing index. */ export declare function dedupe(name: string, seen: Set): string;