import { HawkSearchComponents, ModifiedQueryComponentConfig } from '../../../configuration'; import { ModifiedQueryComponentModel, ModifiedQueryData } from '../../../models'; import { BaseComponent } from '../../base.component'; /** * The Modified Query component is rendered when the spellchecker detects a spelling error and searches for the correctly-spelled query instead. * * *Note: This component is only visible for new searches. If the spellchecker revises a query and the user then performs an action such as applying facet or moving to another page of results, it is implied that the user accepts the correction.* * * ## Tag * The tag for this component is ``. * * ## Event-Binding Attributes * | Name | Value | * | :- | :- | * | hawksearch-query | `string` | * * When an element with this attribute is clicked, a new search will be executed with the specified query and spellcheck functionality disabled. This is useful when the spellchecker mistakes a valid entry for another term. * * ## Default Template * The following is the default Handlebars template for this component. To create a custom template, it is recommended to use this as a starting point. * {@embed ./modified-query.component.hbs} * * @category Search */ export declare class ModifiedQueryComponent extends BaseComponent { protected componentName: keyof HawkSearchComponents; protected defaultHtml: string; protected bindFromEvent: boolean; protected renderContent(): boolean; protected getContentModel(): ModifiedQueryComponentModel; protected onRender(): void; }