UNPKG

9s-fe-core

Version:

Core functionalities for authentication, configuration, and repository management.

14 lines (13 loc) 400 B
export interface PaginationModel { limit: number; current_page: number; total_entries?: number; total_pages?: number; has_prev_page?: boolean; has_next_pagee?: boolean; } export declare const usePagination: (initial?: Partial<PaginationModel>) => void; export declare const getPaginationFromSearch: (searchParams: URLSearchParams) => { page: number; limit: number; };