/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import React from 'react';
import { CommonItemModel } from '../base/CommonItemModel';
/**
 * JSItemModel：表单里的自定义项（非字段绑定），可执行 JS 并渲染到容器中
 * - 行为与 JSBlockModel 类似，但用于表单网格中的“其他”项
 * - 默认提供 jsSettings.runJs 自动执行的步骤
 */
export declare class JSItemModel extends CommonItemModel {
    private _offResourceRefresh?;
    private _mountedOnce;
    getInputArgs(): {};
    render(): React.JSX.Element;
    /**
     * 组件挂载后，如果容器引用已就绪，强制重跑一次 beforeRender 以把 HTML 写入当前 DOM。
     * 解决某些情况下命中旧缓存导致新节点未写入而显示空白的问题。
     */
    protected onMount(): void;
    protected onUnmount(): void;
}
