import * as i0 from '@angular/core'; import { OnChanges, EventEmitter } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from '@angular/router'; import { Params } from '@angular/router'; import * as i3 from '@fortawesome/angular-fontawesome'; import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types'; declare class DaffPaginatorComponent implements OnChanges { /** * @docs-private */ faChevronRight: _fortawesome_fontawesome_common_types.IconDefinition; /** * @docs-private */ faChevronLeft: _fortawesome_fontawesome_common_types.IconDefinition; /** * The total number of pages the paginator tracks. This number can change dynamically, but the end user is responsible for keeping numberOfPages * and currentPage in sync. For example, if the numberOfPages is dynamically changed to a value less than the currentPage, the paginator will break. */ numberOfPages: number; /** * The currently selected page. */ currentPage: number; /** * Replace the paginator buttons with links. `url` is required if using this mode. */ linkMode: boolean; /** * The url to which to navigate if the paginator is in link mode. * This paginator component will set the page query param. */ url?: string; /** * The query param to which the paginator component will set the current page value in link mode. */ queryParam: string; /** * @docs-private */ _numberOfPagesArray: number[]; /** * Emits when the current page changes with the new current page. */ notifyPageChange: EventEmitter; /** * Determines when ellipsis after the first page number should show. * * @docs-private */ get _showFirstEllipsis(): boolean; /** * Determines when ellipsis before the final page number should show. * * @docs-private */ get _showLastEllipsis(): boolean; /** * Determines when the Previous button should be disabled. * * @docs-private */ get _disablePrev(): boolean; /** * Determines when the Next button should be disabled. * * @docs-private */ get _disableNext(): boolean; /** * @docs-private */ ngOnChanges(): void; /** * Emits the previous page number through notifyPageChange Output. * * @docs-private */ _onNotifyPrevPageChange(): void; /** * Emits the next page number through notifyPageChange Output. * * @docs-private */ _onNotifyNextPageChange(): void; /** * Emits a pageNumber to notifyPageChange Output. * * @docs-private */ _onNotifyPageChange(pageNumber: number): void; /** * A simple function that determines if the given page number is the current page number. * * @docs-private */ _isSelected(page: number): boolean; /** * Determines if the given page number should be shown. The two additional 'or' conditionals are needed * so the paginator retains the same total width at the extreme page numbers (1 and numberOfPages). * * @docs-private */ _showNumber(pageNumber: number): boolean; /** * @docs-private */ _buildPageQueryParams(page: number): Params; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated in favor of {@link DAFF_PAGINATOR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0. */ declare class DaffPaginatorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @docs-private */ declare const DAFF_PAGINATOR_COMPONENTS: readonly [typeof DaffPaginatorComponent]; export { DAFF_PAGINATOR_COMPONENTS, DaffPaginatorComponent, DaffPaginatorModule };