export declare const escapeHtmlTranslationValue: (translation: string) => string;
export declare const escapeTsTranslationValue: (translation: string) => string;
export type TranslationReplaceOptions = {
    keyPattern?: string;
    interpolatePattern?: string;
    wrapTranslation?: string | string[];
    escapeHtml?: boolean;
    stringify?: boolean;
};
export declare const replaceTranslationKeysWithText: (getWebappTranslation: any, body: string, regexp: string, { keyPattern, interpolatePattern, wrapTranslation, escapeHtml, stringify }?: TranslationReplaceOptions) => string;
export declare const createJhiTransformTranslateReplacer: (getWebappTranslation: any, translateOptions?: TranslationReplaceOptions) => (body: string) => string;
export declare const createJhiTransformTranslateStringifyReplacer: (getWebappTranslation: any) => (body: string) => string;
export type JHITranslateConverterOptions = {
    filePath: string;
    type: string;
    key: string;
    interpolate: string;
    parsedInterpolate: Record<string, string> | undefined;
    prefix: string;
    suffix: string;
};
export type JHITranslateConverter = (opts: JHITranslateConverterOptions) => string;
export declare const replaceTranslateContents: (body: string, filePath: string, regexp: string, converter: JHITranslateConverter) => string;
export type JHITranslateReplacerOptions = {
    prefixPattern?: string;
    suffixPattern?: string;
};
export declare const createJhiTranslateReplacer: (converter: JHITranslateConverter, { prefixPattern, suffixPattern }?: JHITranslateReplacerOptions) => (body: string, filePath: string) => string;
