import { HawkSearchComponents, PaginationComponentConfig } from '../../../configuration'; import { Pagination, PaginationComponentModel } from '../../../models'; import { BaseComponent } from '../../base.component'; /** * The Pagination component is used to navigate between different pages of a search results set. * * *Note: If no maximum number of page links to display is configured in the HawkSearch admin, a default value of `9` will be used.* * * ## Tag * The tag for this component is ``. * * ## Event-Binding Attributes * | Name | Value | * | :- | :- | * | hawksearch-page | `number` | * * When an element with this attribute is clicked, the current search will be updated to display the results from the specified page. * * ## Handlebars Helpers * | Name | Parameter | * | :- | :- | * | pageUrl | `number` | * * This helper function returns the URL for the specified page to enable crawling. * * ## 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 ./pagination.component.hbs} * * @category Search */ export declare class PaginationComponent extends BaseComponent { protected componentName: keyof HawkSearchComponents; protected defaultHtml: string; protected bindFromEvent: boolean; private defaultMaxPageLinks; protected registerHelpers(): void; protected renderContent(): boolean; protected getContentModel(): PaginationComponentModel; protected onRender(): void; protected setPage(page: number): Promise; private getPages; }