import React from 'react'; import { SearchBarProps } from './PropsType'; import { ConfigConsumerProps } from '../config-provider'; declare class SearchBar extends React.Component { static defaultProps: { defaultValue: string; placeholder: string; maxLength: number; disabled: boolean; showActionButton: boolean; actionName: string; clear: boolean; }; static getDerivedStateFromProps(nextProps: SearchBarProps, prevState: any): { value: string | undefined; } | null; actionBtnInitMarginLeft: string | null; actionBtnRef: HTMLDivElement | null; syntheticPhContainerRef: HTMLSpanElement | null; syntheticPhRef: HTMLDivElement | null; inputRef: HTMLInputElement | null; inputContainerRef: HTMLDivElement | null; private debounceTimeout; constructor(props: SearchBarProps); componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; handleChange: (e: React.ChangeEvent) => void; handleFocus: () => void; handleBlur: () => void; handleClear: () => void; handleSubmit: () => void; handleKeyUp: (e: React.KeyboardEvent) => void; focus: () => void; renderSearchBar: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; } export { SearchBarProps }; export default SearchBar;