import type { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common'; import type { Observable } from 'rxjs'; import { TranslationService } from '../shared/services/translation.service'; /** * 翻译拦截器 * 自动翻译响应数据中标记为需要翻译的字段 */ export declare class TranslationInterceptor implements NestInterceptor { private readonly translationService?; constructor(translationService?: TranslationService); intercept(context: ExecutionContext, next: CallHandler): Observable; }