/**
 * 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 { CollectionField, FlowModelContext } from '@nocobase/flow-engine';
import { FilterFormCustomItemModel } from '../FilterFormCustomItemModel';
export declare class FilterFormCustomFieldModel extends FilterFormCustomItemModel {
    customFieldModelInstance: any;
    customFieldProps: any;
    operator: string;
    private debouncedDoFilter;
    private lastAutoTriggerValue;
    private autoTriggerInitialized;
    /**
     * Resolve or build collection field context for RecordSelect custom fields.
     *
     * When user creates a custom RecordSelect field, there is no real collection field.
     * We build a lightweight CollectionField with target metadata so downstream
     * flows can render select settings and load remote options.
     *
     * @param ctx - Flow context for current model
     * @param props - Field model props from settings
     * @returns CollectionField instance or undefined when not applicable
     */
    buildRecordSelectCollectionField(ctx: FlowModelContext, props: Record<string, any>): CollectionField;
    get defaultTargetUid(): string;
    onInit(options: any): void;
    onUnmount(): void;
    doFilter(): void;
    doReset(): void;
    /**
     * 获取用于显示在筛选条件中的字段值
     * @returns
     */
    getFilterValue(): any;
    private getCurrentOperatorMeta;
    /**
     * 处理回车事件
     * 当用户在输入框中按下回车键时触发筛选
     */
    handleEnterPress: (event: KeyboardEvent) => void;
    getValueProps(value: any): {
        value: any;
        onKeyDown: any;
    };
    render(): React.JSX.Element;
}
