import { BaseWidget } from '../base-widget'; import { NgAisInstantSearch } from '../instantsearch/instantsearch'; import { NgAisIndex } from '../index-widget/index-widget'; export declare type HitsPerPageState = { items: HitsPerPageRenderingItem[]; refine: (value: number) => void; }; export declare type HitsPerPageInstanceItem = { value: number; label: string; default?: boolean; }; export declare type HitsPerPageRenderingItem = { value: number; label: string; isRefined: boolean; }; export declare class NgAisHitsPerPage extends BaseWidget { parentIndex: NgAisIndex; instantSearchInstance: NgAisInstantSearch; items: HitsPerPageInstanceItem[]; transformItems?: (items: HitsPerPageRenderingItem[]) => U[]; state: HitsPerPageState; get isHidden(): boolean; constructor(parentIndex: NgAisIndex, instantSearchInstance: NgAisInstantSearch); ngOnInit(): void; }