/**
 * 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 { FilterOperator, FilterOption } from '../../../flow/components/filter/useFilterOptions';
type ComponentRegistryApp = {
    getComponent?: (name: string) => React.ComponentType<any> | undefined;
};
export interface FilterValueInputProps {
    /** The currently selected leaf field option from the field picker. */
    field?: FilterOption;
    /** The currently selected operator (full object, not just `.value`). */
    operator?: FilterOperator;
    /** Current value. Shape depends on operator/field. */
    value: any;
    /** Notify the parent when the user edits the value. */
    onChange: (value: any) => void;
    /** Translator used by sub-renderers. */
    t?: (key: string) => string;
    /** Optional placeholder for the fallback `Input`. */
    placeholder?: string;
    /** Optional v2 app registry used to resolve plugin-provided operator components. */
    app?: ComponentRegistryApp;
}
/**
 * Interface-aware value renderer for filter rows. Returns `null` for `noValue` operators (`$empty`, `$notEmpty`). Otherwise dispatches the effective `x-component` (operator schema > field uiSchema > Input) to a small registry of antd controls.
 */
export declare const FilterValueInput: React.FC<FilterValueInputProps>;
export default FilterValueInput;
