/**
 * 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, { FC } from 'react';
/**
 * 筛选项组件的属性接口
 */
interface FilterItemProps {
    value: {
        path: string;
        operator: string;
        value: string;
    };
}
/**
 * FilterContent 组件的属性接口
 */
interface FilterContentProps {
    /** 响应式的过滤条件对象 */
    value: Record<string, any>;
    /** 自定义筛选项组件 */
    FilterItem?: React.FC<FilterItemProps>;
    /** 上下文对象，用于获取字段列表等元信息 */
    ctx: any;
}
/**
 * 筛选内容组件
 *
 * 支持新的数据结构格式：
 * ```typescript
 * {
 *   "logic": "$or",
 *   "items": [
 *     {
 *       "path": "isAdmin",
 *       "operator": "$eq",
 *       "value": true
 *     },
 *     {
 *       "logic": "$and",
 *       "items": [...]
 *     }
 *   ]
 * }
 * ```
 *
 * @example
 * ```typescript
 * const filterValue = observable({
 *   logic: '$and',
 *   items: []
 * });
 *
 * <FilterContent
 *   value={filterValue}
 *   ctx={contextObject}
 *   FilterItem={CustomFilterItem}
 * />
 * ```
 */
export declare const FilterContainer: FC<FilterContentProps>;
export {};
