import { ParseRuleProps } from '../../../../../types/material.type';
/**
 * 物料消耗表渲染工具类
 * @export
 * @class MCRender
 */
export declare class MCRender {
    /**
     * 提示信息
     * @param opts
     */
    message(opts: {
        type: 'error' | 'warning';
        content: string;
    }): void;
    /**
     * 已经打开的bom的modal的参数对象
     * @static
     */
    static bomModalProps: any;
    openScanModal(opts: {
        title: string;
        onScan: (str: string) => void;
    }): Promise<void>;
    /**
     * 实际打开UIModal的函数
     */
    protected _openBomModal(reactiveOpts: {
        bomList: any[];
        onSubstitute: Function;
    }): Promise<void>;
    openBomModal(opts: {
        bomList: any[];
        onSubstitute: Function;
    }): Promise<void>;
    /**
     * 打开修改条码解析规则的modal
     * 返回空或者修改后的规则字段id
     * @param opts \
     * - config 回显用的配置对象
     * @return {*}
     */
    openChangeRuleModal(opts: {
        config: ParseRuleProps;
        subModelKey?: string;
    }): Promise<ParseRuleProps | undefined>;
}
