import { ForwardedRef, FunctionComponent, ReactElement } from "react"; import { ListViewAttributes, ListViewHook } from "./list-view"; declare type Data = { [key: string]: any; }; declare type AddinHook = { getPageIndex: () => number; getPageNumber: () => number; }; export declare type PageableListViewHook = ListViewHook & AddinHook; export declare type PageableListViewAttributes = Omit, "$hook"> & { $hook?: PageableListViewHook; $pagePosition?: "top" | "bottom" | "both"; $recordsPerPage?: number; $changePage?: (pageIndex: number) => void; $overridePageStatus?: { maxPage: number; pageIndex: number; }; }; interface PageableListViewFC extends FunctionComponent { (attrs: PageableListViewAttributes, ref?: ForwardedRef): ReactElement>; } declare const PageableListView: PageableListViewFC; export declare const usePageableListView: () => PageableListViewHook; export default PageableListView;