import * as React from 'react'; import type { FieldDataNode } from 'rc-tree'; import type { FilterState } from '.'; import type { ColumnFilterItem, ColumnType, FilterSearchType, FilterValue, GetPopupContainer, Key, TableLocale } from '../../interface'; type FilterTreeDataNode = FieldDataNode<{ title: React.ReactNode; key: string; }>; export declare function flattenKeys(filters?: ColumnFilterItem[]): FilterValue; export type TreeColumnFilterItem = ColumnFilterItem & FilterTreeDataNode; export interface FilterDropdownProps { tablePrefixCls: string; prefixCls: string; dropdownPrefixCls: string; column: ColumnType; filterState?: FilterState; filterOnClose: boolean; filterMultiple: boolean; filterMode?: 'menu' | 'tree'; filterSearch?: FilterSearchType; columnKey: Key; children: React.ReactNode; triggerFilter: (filterState: FilterState) => void; locale: TableLocale; getPopupContainer?: GetPopupContainer; filterResetToDefaultFilteredValue?: boolean; rootClassName?: string; } declare function FilterDropdown(props: FilterDropdownProps): React.JSX.Element; export default FilterDropdown;