import { LitElement, PropertyValues } from 'lit'; import '../button'; import '../dropdown'; import '../numberInput'; /** * `kyn-pagination-navigation-buttons` Web Component. * * This component provides navigational controls for pagination. * It includes back and next buttons, along with displaying the current page and total pages. * * @fires on-page-number-change - Dispatched when the active page is committed * (prev/next, dropdown selection, or number-input blur/Enter). * `detail.value` is always within `1…numberOfPages`.`detail:{ value: number }` */ export declare class PaginationNavigationButtons extends LitElement { static styles: import("lit").CSSResult; accessor pageNumber: number; accessor numberOfPages: number; /** Customizable text strings. Inherited from parent * @internal */ accessor textStrings: any; /** Controls direction that dropdown opens. */ accessor openDirection: 'auto' | 'up' | 'down'; /** Available options for the page number. */ accessor pageNumberOptions: Array; /** Draft page value while the free-text input is being edited. * @internal */ accessor _draftPageNumber: number | null; /** * When true, the next page-input commit (blur) is ignored. * Set on prev/next pointerdown so button navigation is relative to the * committed page, not an in-progress draft. */ private _suppressPageInputCommit; private readonly SMALLEST_PAGE_NUMBER; /** Label for the page size dropdown. Required for accessibility. * @internal */ accessor pageNumberLabel: string; /** * Discards an in-progress page draft before the input blurs into a nav button. * Runs on pointerdown so it precedes the input's change/commit. */ private _onNavButtonPointerDown; /** * Handles the button click event, either moving to the next page or previous page * @param {boolean} next - If true, will move to the next page, otherwise to the previous page */ private handleButtonClick; /** * Handles the dropdown change event. * @param {CustomEvent} event */ private handleDropdownChange; /** * Tracks typed page values without navigating. * @param {CustomEvent} event */ private _handlePageInputDraft; /** * Commits the free-text page input on blur/Enter. * @param {CustomEvent} event */ private _handlePageInputCommit; /** * Clamps and emits a committed page number. * @param {number} raw */ private _commitPageNumber; /** * Updates the current page and notifies listeners. * @param {number} value */ private _emitPageNumberChange; render(): import("lit-html").TemplateResult<1>; willUpdate(changedProps: PropertyValues): void; } declare global { interface HTMLElementTagNameMap { 'kyn-pagination-navigation-buttons': PaginationNavigationButtons; } } //# sourceMappingURL=pagination-navigation-buttons.d.ts.map