import React from 'react'; import { Override } from '../../type'; import LOCALE from './locale/zh_CN'; export interface SearchProps { /** 搜索后数量,null 不展示 */ count?: number | null | void; /** 为空 */ empty?: boolean; /** 展示 loading */ loading?: boolean; /** 触发搜索回调 */ onSearch: ((value: string) => Promise) | ((value: string) => void); /** 触发搜索回调的防抖间隔 */ wait?: number; /** @ignore */ locale?: typeof LOCALE; } declare const _default: React.MemoExoticComponent<({ count, empty, loading, onSearch, children, wait }: Override, SearchProps>) => JSX.Element>; export default _default;