import { HawkSearchComponents, SearchResultsComponentConfig } from '../../../configuration'; import { SearchResponse, SearchResultsComponentModel, SearchResultsMode } from '../../../models'; import { BaseComponent } from '../../base.component'; /** * The Search Results component encapsulates all components relating to search-results. * * ## Tag * The tag for this component is ``. * * ## 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 ./search-results.component.hbs} * * @category Search */ export declare class SearchResultsComponent extends BaseComponent { protected componentName: keyof HawkSearchComponents; protected defaultHtml: string; protected bindFromEvent: boolean; /** * Speficies the context that the component is being used. This is determined by the `mode` attribute on the HTML element. * * @defaultValue `'search-results'` */ protected get mode(): SearchResultsMode; /** * If {@link mode} is set to `'landing-page'`, this specifies the URL sent to retrieve content from HawkSearch. This can be customized by setting the `url` attribute on the HTML element. * * @defaultValue `window.location.pathname` */ protected get url(): string; constructor(); protected getContentModel(): SearchResultsComponentModel; }