/** * C# identifier escaping utilities * * C# reserved keywords must be prefixed with @ when used as identifiers. * This module provides utilities to safely emit identifiers that may * conflict with C# keywords. */ /** * Escape a C# identifier if it's a reserved keyword. * * In C#, the @ prefix allows using keywords as identifiers: * - `@class` is a valid identifier meaning "class" * - `@int` is a valid identifier meaning "int" * * @param name The identifier name to potentially escape * @returns The escaped identifier (prefixed with @ if keyword) or original name */ export declare const escapeCSharpIdentifier: (name: string) => string; /** * Check if a name is a C# keyword */ export declare const isCSharpKeyword: (name: string) => boolean; //# sourceMappingURL=identifiers.d.ts.map