import { Map as IMap } from 'immutable'; import { CardTypeRecord, TagTypeRecord, RuleRecord } from 'pmpos-models'; export declare class ConfigManager { private setConfig; private cardTypes; private tagTypes; private rules; constructor(); readonly protocolIntegrated: boolean; readonly tagTypeValues: TagTypeRecord[]; readonly cardTypeValues: CardTypeRecord[]; integrateProtocol(setConfig: (name: string, data: IMap) => void): any; saveCardTypes(cardTypes: IMap): void; saveTagTypes(tagTypes: IMap): void; saveRules(rules: IMap): void; setCardTypes(cardTypes: IMap): void; setTagTypes(tagTypes: IMap): void; setRules(rules: IMap): void; setApplicationParameter(name: string, value: string): void; updateConfig(config: Map): void; hasCardType(id: string): boolean; getCardTypes(): IMap; getTagTypes(): IMap; getRules(): IMap; getCardTypeIdByRef(ref: string): string; getCardTypeByRef(ref: string): CardTypeRecord | undefined; getCardTypeById(id: string): CardTypeRecord | undefined; hasTagType(id: string): boolean; getTagTypeById(id: string): TagTypeRecord | undefined; findTagType(predictor: (tagType: TagTypeRecord) => boolean): TagTypeRecord | undefined; getRootCardTypes(): string[]; replaceParameters(sourceValue: string): string; getSubNetworksFromCardTypes(mainNetwork: string): string[]; private getSubCardTypes(); private pushSubCardTypes(cardType, result); } declare const _default: ConfigManager; export default _default;