/*!
 * @license
 * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
import { PaginatedComponent } from './paginated-component.interface';
import { PaginationComponentInterface } from './pagination-component.interface';
import { RequestPaginationModel } from '../models/request-pagination.model';
import { UserPreferencesService } from '../common/services/user-preferences.service';
import { PaginationModel } from '../models/pagination.model';
import * as i0 from "@angular/core";
export declare class InfinitePaginationComponent implements OnInit, PaginationComponentInterface {
    private cdr;
    private userPreferencesService;
    static DEFAULT_PAGINATION: PaginationModel;
    _target: PaginatedComponent;
    /** Component that provides custom pagination support. */
    set target(target: PaginatedComponent);
    get target(): PaginatedComponent;
    /** Number of items that are added with each "load more" event. */
    pageSize: number;
    /** Is a new page loading? */
    isLoading: boolean;
    /** Emitted when the "Load More" button is clicked. */
    loadMore: EventEmitter<RequestPaginationModel>;
    pagination: PaginationModel;
    requestPaginationModel: RequestPaginationModel;
    private readonly destroyRef;
    constructor(cdr: ChangeDetectorRef, userPreferencesService: UserPreferencesService);
    ngOnInit(): void;
    onLoadMore(): void;
    reset(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<InfinitePaginationComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<InfinitePaginationComponent, "adf-infinite-pagination", never, { "target": { "alias": "target"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "isLoading": { "alias": "loading"; "required": false; }; }, { "loadMore": "loadMore"; }, never, ["*"], true, never>;
}
