/**
 * 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 { type MetaTreeNode, FlowModel } from '@nocobase/flow-engine';
export interface VariableFilterItemValue {
    path: string;
    operator: string;
    value: string | number | boolean | null | Array<string | number> | Record<string, unknown>;
    /** 操作符是否无右值（用于透传到 transformFilter 等） */
    noValue?: boolean;
}
export interface VariableFilterItemProps {
    /** 筛选条件值对象 */
    value: VariableFilterItemValue;
    model: FlowModel;
    /**
     * 是否启用右侧 VariableInput（变量或静态值二合一）。
     * 默认 false：保持原有行为，右侧仅静态输入组件。
     */
    rightAsVariable?: boolean;
    /**
     * 右侧 VariableInput 的 metaTree 提供器；
     * 默认使用整棵 ctx 的 metaTree：model.context.getPropertyMetaTree()
     */
    rightMetaTree?: MetaTreeNode[] | (() => MetaTreeNode[] | Promise<MetaTreeNode[]>);
    ignoreFieldNames?: string[];
}
/**
 * 上下文筛选项组件
 */
export declare const VariableFilterItem: React.FC<VariableFilterItemProps>;
