import { CSSProperties } from 'react';

export type CodeRenderProps = {
	code?: string | string[];
	className?: string;
	style?: CSSProperties;
	/** 是否换行，默认值：true */
	wrap?: boolean;
	size?: "small" | "default";
};
/**
 * 代码、json格式化渲染
 * ```
 * 1. wrap 是否换行，默认值：true
 * 例如：
 * // json数据渲染
 * <CodeWrapper code={JSON.stringify(data, null, 2)}/>
 *
 * // 代码渲染
 * <CodeWrapper code={`def results=[];
def datas=表单字段.dataList;
for index,data in datas do
	def item = [
		'a':data.DomainName,
		'b':data.Owner,
		'userName': 流程参数.发起人账号
	];
	results = results+item;
end
return results;
`
}/>
 *
 * ```
 *
 */
export declare const CodeRender: (props: CodeRenderProps) => import("react").JSX.Element | null;

export {};
