/**
 * 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 { DragOverlayConfig } from '@nocobase/flow-engine';
import React from 'react';
import { GridModel } from '../../base';
import { FilterFormItemModel } from './FilterFormItemModel';
export declare class FilterFormGridModel extends GridModel {
    private fullLayoutBeforeCollapse?;
    itemSettingsMenuLevel: number;
    itemFlowSettings: {
        showBackground: boolean;
        style: {
            top: number;
            left: number;
            right: number;
            bottom: number;
        };
    };
    dragOverlayConfig: DragOverlayConfig;
    readonly loading: {
        value: boolean;
    };
    private getAssociationFilterTargetKey;
    /**
     * 获取筛选表单当前“完整布局”。
     * 折叠态会临时裁剪 props.rows，因此这里优先选取行数更多的那份布局，
     * 避免拖拽排序或重新挂载后只拿到被裁剪过的运行时 rows。
     */
    private getFullLayout;
    /**
     * 按“可视字段行数”裁剪布局，而不是只按 grid row 数裁剪。
     * 这样即使拖拽后多个字段被排进同一个 cell，也仍然可以正确折叠。
     */
    private limitRowsByVisibleCount;
    toggleFormFieldsCollapse(collapse: boolean, visibleRows: number): void;
    onModelCreated(subModel: FilterFormItemModel): Promise<void>;
    renderAddSubModelButton(): React.JSX.Element;
}
