import * as React from 'react'; import AssistedSearchStore from './stores/AssistedSearchStore'; import { Entry } from './stores/ComponentStores'; import { SyntheticEvent } from 'react'; export interface VisualEntryProps { entry: Entry; store: AssistedSearchStore; onRemove: (e: Entry) => any; [key: string]: any; } /** * Represents an entered filter in the visual search bar */ export default class VisualEntry extends React.Component { private _focusEntry; componentWillReceiveProps(props: VisualEntryProps): void; componentDidMount(): void; _input: any; _setRef: (ref: any) => any; /** * Handler to remove entry from the store * @returns {*} * @private */ _remove: () => any; /** * Change the value in the store * @param e * @private */ _change: (e: SyntheticEvent) => void; /** * Set the current active entry * @private */ _focus: () => void; _isFixed(): boolean; /** * Syncs focus of input and state with DOM input * @private */ _checkFocus(props: VisualEntryProps): void; render(): JSX.Element | null; }