import { TextMatch, TextReplacement } from '../types'; export interface CodeTransformationOptions { preserveFormatting: boolean; useAlias: boolean; } export interface CodeTransformationResult { transformedCode: string; replacements: TextReplacement[]; hasChanges: boolean; } /** * Transforms JavaScript/TypeScript code by replacing hardcoded Persian/Arabic strings with $t() calls */ export declare class CodeTransformer { private options; constructor(options?: Partial); /** * Transform code by replacing matched text strings with i18n function calls */ transformCode(code: string, matches: TextMatch[], keyMap: Map): Promise; /** * Transform object properties that contain Persian/Arabic text */ private transformObjectProperty; /** * Check if a string contains Persian or Arabic characters */ private containsPersianArabic; } //# sourceMappingURL=code-transformer.d.ts.map