/**
 * 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 { FilterableItemModel, FlowModelContext } from '@nocobase/flow-engine';
import React from 'react';
import { FieldModel } from '../../base';
import { FilterFormFieldModel } from './fields';
export declare class FilterFormItemModel extends FilterableItemModel<{
    subModels: {
        field: FilterFormFieldModel & {
            getFilterValue?: () => any;
        };
    };
}> {
    static defineChildren(ctx: FlowModelContext): {
        key: string;
        label: React.JSX.Element;
        children: () => Promise<any[]>;
    }[] | {
        key: string;
        label: React.JSX.Element;
        disabled: boolean;
    }[];
    operator: string;
    mounted: boolean;
    private debouncedDoFilter;
    private lastAutoTriggerValue;
    private autoTriggerInitialized;
    get defaultTargetUid(): string;
    private getCurrentOperatorMeta;
    onInit(options: any): void;
    onMount(): void;
    onUnmount(): void;
    doFilter(): void;
    doReset(): void;
    /**
     * 获取用于显示在筛选条件中的字段值
     * @returns
     */
    getFilterValue(): any;
    normalizeAssociationFilterValue(value: any, fieldModel: FieldModel): any;
    getDefaultValue(): any;
    /**
     * 处理回车事件
     * 当用户在输入框中按下回车键时触发筛选
     */
    handleEnterPress: (event: KeyboardEvent) => void;
    getValueProps(value: any): {
        value: any;
        onKeyDown: any;
        isRange: boolean;
    };
    renderItem(): React.JSX.Element;
}
