import type { DisplayValueType, Mode } from '../interface'; import type React from 'react'; import { type AllowClearConfig } from '@rc-component/util'; interface ClearInfo extends AllowClearConfig { allowClear: boolean; clearIcon: React.ReactNode; label: string; } export declare const useAllowClear: (prefixCls: string, displayValues: DisplayValueType[], allowClear?: boolean | AllowClearConfig, clearIcon?: React.ReactNode, disabled?: boolean, mergedSearchValue?: string, mode?: Mode) => ClearInfo; export {};