import * as i0 from "@angular/core"; import { EventEmitter, OnChanges } from "@angular/core"; export declare class GovukPaginationComponent implements OnChanges { currentPage: number; total: number; limit: number; changePage: EventEmitter; pages: import("@angular/core").WritableSignal; elipsedPages: import("@angular/core").WritableSignal<(string | number)[]>; ELIPSIS: string; /** * Calculates the number of pages based on the total number of items and the limit per page. * Updates the `pages` and `elipsedPages` properties accordingly. */ private calculatePages; /** * Generates an array of numbers within a specified range. * @param start The starting number of the range. * @param end The ending number of the range. * @returns An array of numbers within the specified range. */ private range; /** * Inserts ellipses into the given array of pages based on the current page number. * @param pages - The array of pages. * @param currentPage - The current page number. * @returns The modified array of pages with ellipses inserted. */ private elipseSkippedPages; /** * Handles the page change event. * * @param $event - The click event that triggered the page change. * @param page - The new page number. */ onPageChanged($event: MouseEvent, page: number): void; /** * Lifecycle hook that is called when any data-bound property of the component changes. * It recalculates the pages for pagination. */ ngOnChanges(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }