import { EventEmitter } from '../../stencil-public-runtime';
import type { IndexResult } from './algolia-interface';
/**
 * Displays results from Algolia searches.
 * TODO / WIP */
export declare class AlgoliaPagination {
    el: HTMLNanoAlgoliaPaginationElement;
    private outputEle;
    private outputSlot;
    private outputTo;
    private templateStr;
    private templateSlot;
    currentPage: number;
    canGoPrev: boolean;
    canGoNext: boolean;
    show: boolean;
    tplRenderFn: (...args: any[]) => any;
    indexResults: IndexResult;
    infiniteScroll: boolean;
    /** Max number of page numbers to show */
    maxToShow: number;
    /**
     * Emitted when the page number changes
     */
    nanoPageChanged: EventEmitter<{
        page: number;
    }>;
    currentPageChange(): void;
    infiniteScrollChange(): void;
    /** Go to next page from current */
    nextPage(): Promise<void>;
    /** Go to previous page from current */
    prevPage(): Promise<void>;
    /** Go to a particular page */
    goToPage(page: number): Promise<void>;
    private updateContent;
    componentWillLoad(): void;
    componentDidLoad(): void;
    render(): any;
}
