import React from 'react'; import { LowCodeSchema } from '../types'; export * from './templateEngine'; export interface SchemaRendererProps { schema: LowCodeSchema; values: Record; config?: { ALLOWED_TAGS?: string[]; ALLOWED_ATTR?: string[]; }; fallbackContent?: React.ReactNode; useDefaultValues?: boolean; debug?: boolean; onRenderSuccess?: (html: string) => void; /** 沙箱配置 */ sandboxConfig?: { /** 是否启用沙箱模式 */ enabled?: boolean; /** 允许的全局对象列表 */ allowedGlobals?: string[]; /** 禁止的全局对象列表 */ forbiddenGlobals?: string[]; /** 是否允许访问 DOM */ allowDOM?: boolean; /** 执行超时时间(毫秒) */ timeout?: number; /** 是否启用严格模式 */ strictMode?: boolean; }; } export declare const SchemaRenderer: React.NamedExoticComponent;