/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /// import { StaticReflector, StaticSymbol } from '@angular/compiler'; import * as ts from 'typescript'; import { MetadataTransformer, ValueTransform } from './metadata_cache'; export declare type Transformer = (sourceFile: ts.SourceFile) => ts.SourceFile; export declare type TransformerFactory = (context: ts.TransformationContext) => Transformer; export declare function getDecoratorStripTransformerFactory(coreDecorators: Set, reflector: StaticReflector, checker: ts.TypeChecker): TransformerFactory; export declare class StripDecoratorsMetadataTransformer implements MetadataTransformer { private coreDecorators; private reflector; constructor(coreDecorators: Set, reflector: StaticReflector); start(sourceFile: ts.SourceFile): ValueTransform | undefined; }