import Component from '@glimmer/component'; /** * You can find more typing on the template */ declare type EuiFieldSearchArgs = { value?: string; defaultValue?: string; /** * When `true` the search will be executed (that is, the `onSearch` will be called) as the * user types. */ incremental?: boolean; /** * Optional callback method called on open and close with a single `isOpen` parameter */ onKeyUp?: (e: KeyboardEvent) => void; onSearch?: (value: string) => void; }; export default class EuiFieldSearch extends Component { inputElement: HTMLInputElement | null; value: string | null; incremental: boolean; setValue(e: InputEvent): void; onKeyUp(incremental: boolean, onSearch: (value: string) => void, e: KeyboardEvent): void; onClear(): void; didInsertInput(inputRef: HTMLInputElement): void; } export {};