/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { MagCodeCacheService } from 'ng-stalk/core/service'; import { Subscription } from 'rxjs'; import * as i0 from "@angular/core"; export declare class CodeNamePipe implements PipeTransform, OnDestroy { private magCodeCacheService; private translate; private _ref; value: string; lastKey?: string | null; lastParams?: string; onTranslationChange?: Subscription; onLangChange?: Subscription; onDefaultLangChange?: Subscription; constructor(magCodeCacheService: MagCodeCacheService, translate: TranslateService, _ref: ChangeDetectorRef); private getResult; updateValue(key: string, group: string): void; transform(query: string, group: string): any; /** * Clean any existing subscription to change events */ private _dispose; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }