import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; type PaginationSize = 'small' | 'large'; export interface IPaginationEvent { pageIndex: number; previousPageIndex: number; } export interface IPaginationI18n { paginationLabel: string; nextPageLabel: string; previousPageLabel: string; firstPageLabel: string; lastPageLabel: string; jumpToPageLabel: string; getPageLabel: (index: number) => string; } export declare class NggPaginationComponent implements OnChanges { /** Internationalization labels */ i18n: IPaginationI18n; /** Rendered size */ size: PaginationSize; /** Amount of pages to be displayed between the first and last */ displayPages: number; /** Total amount of items to be paginated */ length: number; /** Displayed items per page */ pageSize: number; /** The zero-based page index of the displayed list of pages. Defaulted to 0. */ get pageIndex(): number; set pageIndex(value: number); private _pageIndex; /** All centric page indicies to be displayed. */ get pageIndicies(): number[]; private _pageIndicies; get totalPages(): number; /** Event emitted when a new page index is selected */ page: EventEmitter; ngOnChanges(changes: SimpleChanges): void; hasPrevious(): boolean; hasNext(): boolean; gotoFirst(): void; gotoLast(): void; gotoPrevious(): void; gotoNext(): void; goto(index: number): void; private emit; private getDisplayedPageIndicies; /** * Find X (displayPages) amount of page indicies that are centered from the currently selected page index, * but exclude the first and last indicies if they are within the range. */ private getCenteredPageIndicies; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};