import { NzSafeAny } from '../types/any'; import { Observable } from 'rxjs'; import { NzConfig, NzConfigKey } from './config'; export declare class NzConfigService { private configUpdated$; /** Global config holding property. */ private config; constructor(defaultConfig?: NzConfig); getConfigForComponent(componentName: T): NzConfig[T]; getConfigChangeEventForComponent(componentName: NzConfigKey): Observable; set(componentName: T, value: NzConfig[T]): void; } /** * 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(): (target: NzSafeAny, propName: NzSafeAny, originalDescriptor?: TypedPropertyDescriptor) => NzSafeAny;