import * as React from 'react'; export interface SearchBarProps { prefixCls?: string; className?: string; style?: React.CSSProperties; value: any; type?: string; defaultValue?: string | number; onChange?: (value: any) => void; onSearch?: (value: any) => void; disabled?: boolean; clearable?: boolean; placeholder?: string; readOnly?: boolean; maxLength?: number; } declare class SearchBar extends React.PureComponent { static defaultProps: { prefixCls: string; style: {}; type: string; value: string; readOnly: boolean; }; constructor(props: SearchBarProps); handleClear(): void; handleChange(e: any): void; handleSearchFn(value: any): void; render(): JSX.Element; } export default SearchBar;