/** * @license * Copyright Alibaba.com 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://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { Observable } from 'rxjs'; import { CascaderNzConfig, CascaderConfigKey } from './cascader.config'; export declare class CascaderConfigService { private configUpdated$; /** Global config holding property. */ private config; constructor(defaultConfig?: CascaderNzConfig); getConfigForComponent(componentName: T): CascaderNzConfig[T]; getConfigChangeEventForComponent(componentName: CascaderConfigKey): Observable; set(componentName: T, value: CascaderNzConfig[T]): void; } export declare const trimComponentName: (componentName: string) => "anchor" | "progress" | "message" | "button" | "form" | "table" | "switch" | "descriptions" | "card" | "affix" | "alert" | "avatar" | "backTop" | "badge" | "carousel" | "cascader" | "collapse" | "collapsePanel" | "drawer" | "empty" | "grid" | "icon" | "modal" | "notification" | "rate" | "tabs" | "timePicker" | "tree" | "treeSelect" | "typography"; /** * This decorator is used to decorate properties. If a property is decorated, it would try to load default value from * config. */ export declare function WithConfig(innerDefaultValue?: T): (target: any, propName: any, originalDescriptor?: TypedPropertyDescriptor) => any;