import PropTypes from 'prop-types'; import { Component } from 'react'; import { CommonThemeProps } from '../types'; import { SearchProps as NextSearchProps } from '@alifd/next/types/search'; interface SearchProps extends Omit, CommonThemeProps { size?: 'large' | 'medium' | 'small' | 'xs'; type?: 'normal' | 'primary' | 'secondary' | 'dark' | 'brand'; } interface ISearchState { focus?: boolean; } declare class Search extends Component { constructor(props: any); onFocus: (e: any) => void; onBlur: (e: any) => void; static contextTypes: { theme: PropTypes.Requireable; }; render(): JSX.Element; } declare const _default: typeof Search; export default _default;