///
import { ComponentInterface, EventEmitter, FunctionalComponent } from "../../stencil-public-runtime";
export declare class Pagination implements ComponentInterface {
virtualScrollEl: HTMLIonVirtualScrollElement;
infiniteScrollEl: HTMLIonInfiniteScrollElement;
resizeInterval: NodeJS.Timeout;
initailizedOnPath: string;
fireenjinFetch: EventEmitter;
gridEl: FunctionalComponent;
listEl: FunctionalComponent;
disablePageCheck: boolean;
disableFetch: boolean;
approxItemHeight: number;
endpoint?: string;
query?: string;
fetchData?: any;
limit?: number;
orderBy?: string;
orderDirection?: string;
dataPropsMap: any;
display: "list" | "grid";
page?: number;
results: any[];
groupBy: string;
loadingSpinner: string;
loadingText: string;
resultsKey: string;
pageKey: string;
pageCountKey: string;
resultCountKey: string;
name: string;
collection: string;
renderItem: (item: any, i: number) => any;
disableVirtualScroll: boolean;
removeDuplicates: boolean;
fetchParams: any;
paramData: {
query?: string;
limit?: number;
orderBy?: string;
orderDirection?: "asc" | "desc";
whereEqual?: string;
whereLessThan?: string;
whereLessThanOrEqual?: string;
whereGreaterThan?: string;
whereGreaterThanOrEqual?: string;
whereArrayContains?: string;
whereArrayContainsAny?: string;
whereIn?: string;
next?: string;
back?: string;
};
onQuery(): void;
onOrderBy(): void;
onDisplay(): void;
onSuccess(event: any): Promise;
onInfiniteScroll(): void;
onResize(): void;
clearParamData(key?: string): Promise<{
query?: string;
limit?: number;
orderBy?: string;
orderDirection?: "desc" | "asc";
whereEqual?: string;
whereLessThan?: string;
whereLessThanOrEqual?: string;
whereGreaterThan?: string;
whereGreaterThanOrEqual?: string;
whereArrayContains?: string;
whereArrayContainsAny?: string;
whereIn?: string;
next?: string;
back?: string;
}>;
addResults(results?: any[]): Promise;
clearResults(): Promise;
getResults(options?: {
page?: number;
next?: boolean;
limit?: number;
paramData?: any;
}): Promise;
componentWillLoad(): void;
componentDidLoad(): void;
disconnectedCallback(): void;
renderResults(): any;
render(): any;
}