import type { MemFsEditorFile } from 'mem-fs-editor';
import type { GetWebappTranslationCallback } from '../../client/translation.ts';
export type ReplacerOptions = {
    jhiPrefix: string;
    enableTranslation: boolean;
};
/**
 * Replace and cleanup translations.
 *
 * @type {import('../generator-base.js').EditFileCallback}
 * @this {import('../generator-base.js')}
 */
export declare const createTranslationReplacer: (getWebappTranslation: GetWebappTranslationCallback, opts: ReplacerOptions | boolean) => (content: string, filePath: string) => string;
export declare const isTranslatedAngularFile: (file: MemFsEditorFile) => boolean;
export declare const translateAngularFilesTransform: (getWebappTranslation: GetWebappTranslationCallback, opts: ReplacerOptions | boolean) => import("stream").Transform;
