import { Migration, ResolvedResource, UpgradeData } from '@angular/cdk/schematics'; import * as ts from 'typescript'; /** * Migration that walks through every string literal and template and stylesheet in * order to migrate deprecated icon names and replace them with the new ones. */ export declare class IconMigration extends Migration { enabled: boolean; _deprecatedIconSelector: RegExp; _productRegex: RegExp; _iconRenames: { [key: string]: string; }; _iconNames: string[]; visitNode(node: ts.Node): void; visitTemplate(template: ResolvedResource): void; private _getDeprecatedIconName; private _renameDeprecatedIcon; private _replaceDeprecatedIconName; private _findAllSubstringIndices; }