import { IRuleParseData, IRuleConfig } from './type';
import { ParseRuleProps } from '../../../../../types/material.type';
/**
 * 获取扫码解析规则的详情
 * @export
 * @param params
 */
export declare function getParseRuleInfo(params: {
    id: string;
}): Promise<any>;
/**
 * 处理老数据
 * @export
 * @param config
 * @return {*}
 */
export declare function handleOldConfig(config: IRuleConfig): IRuleConfig;
/**
 * 解析规则
 * @export
 * @param labelStr
 * @param labelRule
 * @return {*}
 */
export declare function getParseRuleValue(labelStr: string, labelRule: string): IRuleParseData;
/**
 * 请求并解析获得规则配置对象
 * @export
 * @param id
 * @return {*}
 */
export declare function getParseRuleConfig(id: string): Promise<IRuleConfig | undefined>;
/**
 * 计算填充数据
 * @export
 * @param data
 * @param [fillMapArr]
 */
export declare function calcFillData(data: IRuleParseData, fillMapArr?: ParseRuleProps['fillMapArr']): any;
