/** * @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 { Migration } from '../update-tool/migration'; import { ValueOfChanges, VersionChanges } from '../update-tool/version-changes'; import { AttributeSelectorUpgradeData, ClassNameUpgradeData, ConstructorChecksUpgradeData, CssSelectorUpgradeData, ElementSelectorUpgradeData, InputNameUpgradeData, MethodCallUpgradeData, OutputNameUpgradeData, PropertyNameUpgradeData } from './data'; /** Upgrade data for the Angular CDK. */ export declare const cdkUpgradeData: UpgradeData; /** * Interface that describes the upgrade data that needs to be defined when using the CDK * upgrade rules. */ export interface UpgradeData { attributeSelectors: VersionChanges; classNames: VersionChanges; constructorChecks: VersionChanges; cssSelectors: VersionChanges; elementSelectors: VersionChanges; inputNames: VersionChanges; methodCallChecks: VersionChanges; outputNames: VersionChanges; propertyNames: VersionChanges; } /** * Gets the reduced upgrade data for the specified data key. The function reads out the * target version and upgrade data object from the migration and resolves the specified * data portion that is specifically tied to the target version. */ export declare function getVersionUpgradeData>(migration: Migration, dataName: T): U[];