import React from 'react'; import { FilterCellProps, SearchInputOption } from '@pitrix/portal-ui'; import { DescribeTagsResponse } from '../../service'; export interface LabelFilterProps { value: FilterCellProps['value']; onChange?: (val?: FilterCellProps['value']) => void; onRemote: (val: { keyword: string; offset?: number; opts?: SearchInputOption[]; }) => Promise<{ total: number; data: SearchInputOption[]; }>; tagResourceType: string; item: any; } export declare function filterLabelData(data: DescribeTagsResponse['tag_set'], tagType: string): any[]; export declare function fetchLabel(params: { keyword?: string; offset?: number; opts?: SearchInputOption[]; limit?: number; tagType: string; }): Promise<{ data: SearchInputOption[]; total: number; }>; export declare function renderLabel(item: any, resourceKey?: string): React.JSX.Element; export declare function LabelFilter({ value, onChange, tagResourceType, onRemote, item }: LabelFilterProps): React.JSX.Element; export default LabelFilter;