import * as i0 from '@angular/core'; import { OnInit, OnChanges, ChangeDetectorRef, QueryList, EventEmitter, Renderer2, SimpleChanges } from '@angular/core'; import { ButtonComponent, ButtonOptions } from '@usitsdasdesign/dds-ng/button'; import { DestroyCtor, I18nCtor, FormAccessorCtor, ResponsivenessCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { Size, Themes } from '@usitsdasdesign/dds-ng/shared'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; import { I18nService, ITranslation } from '@usitsdasdesign/dds-ng/shared/i18n'; import { ResizeHandlerService } from '@usitsdasdesign/dds-ng/shared/resize-handler'; declare enum PaginationState { prev = "prev", next = "next" } declare enum Mode { icon = "icon", text = "text" } interface PaginationOptions { pageLength?: number; mode?: Mode | string; size?: Size | string; theme?: Themes | string; isInverse?: boolean; ariaLabel?: string; nextBtnIcon?: string; prevBtnIcon?: string; prevBtnText?: string; nextBtnText?: string; prevBtnAriaLabel?: string; nextBtnAriaLabel?: string; customClass?: string; pageNumberInSection?: number; disabled?: boolean; isResponsive?: boolean; isIndefinitePageLength?: boolean; } declare const PaginationBase: DestroyCtor & I18nCtor & FormAccessorCtor & ResponsivenessCtor; declare class PaginationComponent extends PaginationBase implements OnInit, OnChanges { cdr: ChangeDetectorRef; i18n: I18nService; private ddsConfig; resizeService: ResizeHandlerService; private renderer; paginationItems: QueryList; disabled: boolean | undefined; ariaLabel: string | undefined; mode: Mode | string | undefined; size: Size | string | undefined; theme: Themes | string | undefined; nextBtnIcon: string | undefined; prevBtnIcon: string | undefined; prevBtnText: string | undefined; nextBtnText: string | undefined; prevBtnAriaLabel: string | undefined; nextBtnAriaLabel: string | undefined; customClass: string | undefined; pageLength: number | undefined; value: number | undefined; isInverse: boolean | undefined; isResponsive: boolean | undefined; pageNumberInSection: number | undefined; isIndefinitePageLength: boolean | undefined; pageChanged: EventEmitter; partStatus: boolean; lastSection: boolean; currentValue: number; partArray: number[]; firstSection: boolean; btnSize: Size | string; isSmSize: boolean; isTextMode: boolean; btnAriaLabel: string; ellipsisAriaLabel: string; pagesText: string[]; get btnActiveOptions(): ButtonOptions; get btnOptions(): ButtonOptions; get dotsBtnOptions(): ButtonOptions; get prevBtnOptions(): ButtonOptions; get nextBtnOptions(): ButtonOptions; get isFirstBtnActive(): ButtonOptions; get isLastBtnActive(): ButtonOptions; constructor(cdr: ChangeDetectorRef, i18n: I18nService, ddsConfig: DdsConfigService, resizeService: ResizeHandlerService, renderer: Renderer2); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; getAriaCurrent(value: number, item?: number): string | boolean; getAriaLabelPage(value: any): string; changePage(page: number, isModelChange?: boolean): void; writeValue(value: number): void; isMiddleBtnActive(item: number): ButtonOptions; focusEl(event: Event, button: ButtonComponent): void; private changeValue; private checkSize; private changePaginationState; private findCurrentSection; protected setI18nTexts(translation: ITranslation): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PaginationModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { Mode, PaginationComponent, PaginationModule, PaginationState }; export type { PaginationOptions };