import { InteractConfig } from 'rh-base/model'; /** 交互配置 * @description `warn`/`error`/`log`默认只能在控制台打印日志,要进行页面交互需要先注册`interactConfig` * 请不要重复初始化该配置 */ export declare const RH_INTERACT_CONFIG: InteractConfig; export type RhInteractType = 'msg' | 'modal'; /** 控制台打印`warn`信息 * @param msg 要打印的信息 * @param enableInteraction 是否启用ui交互 * @param type ui交互类型:`msg`|`modal` */ export declare const warn: (msg: string, enableInteraction?: boolean, type?: RhInteractType) => void; /** 控制台打印`error`信息 */ export declare const error: (msg: string, enableInteraction?: boolean, type?: RhInteractType) => void; /** 控制台打印`log`信息 */ export declare const log: (msg: string, enableInteraction?: boolean, type?: RhInteractType) => void; export declare const success: (msg: string, type?: RhInteractType) => void;