import { HawkSearchComponents, QuerySuggestionsComponentConfig } from '../../../configuration'; import { QuerySuggestionsComponentModel, QuerySuggestionsData } from '../../../models'; import { BaseComponent } from '../../base.component'; /** * The Query Suggestions component displays a list of possible queries that the search engine detects the user may be looking for. * * ## 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 formed for the specified query. * * ## Handlebars Helpers * | Name | Parameter | * | :- | :- | * | query-suggestions | `Array` | * * This helper function creates a comma-separated list of links with the `hawksearch-query` attribute, using the word “or” before the last link. * * ## 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 ./query-suggestions.component.hbs} * * @category Search */ export declare class QuerySuggestionsComponent extends BaseComponent { protected componentName: keyof HawkSearchComponents; protected defaultHtml: string; protected bindFromEvent: boolean; protected registerHelpers(): void; protected renderContent(): boolean; protected getContentModel(): QuerySuggestionsComponentModel; protected onRender(): void; }