blob: 7a97d946406373f90be1c34e3e01c2fda87b58cd [file] [log] [blame]
/**
* @license
* Copyright Google LLC 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 { MigrationRule } from '@angular/cdk/schematics';
import * as ts from 'typescript';
/**
* Rule that detects import declarations that refer to outdated identifiers from
* Angular Material which cannot be updated automatically.
*/
export declare class MiscImportsRule extends MigrationRule<null> {
ruleEnabled: boolean;
visitNode(node: ts.Node): void;
private _visitImportDeclaration;
/**
* Checks for named imports that refer to the deleted animation constants.
* https://github.com/angular/components/commit/9f3bf274c4f15f0b0fbd8ab7dbf1a453076e66d9
*/
private _checkAnimationConstants;
}