import { FC } from 'react'; import { c as LoadableStateScope, L as LoadableState, i as PaginatedStorage } from '../types-5EvFF6wb.cjs'; import 'keyweaver'; type PaginationStateProps = { storage: PaginatedStorage>; /** A function to render the paginated {@link items} and their associated {@link errors}. */ render(items: ReadonlyArray, errors: ReadonlyArray): ReturnType; }; type PaginationScopeProps = { storage: PaginatedStorage; getState(scope: S): T; /** A function to render the paginated {@link items} and their associated {@link errors}. */ render(items: ReadonlyArray ? V | undefined : never>, errors: ReadonlyArray ? E | undefined : never>): ReturnType; }; /** * A controller component for rendering paginated data using the provided {@link PaginationStateProps.storage storage} and {@link PaginationStateProps.count pages count}. */ declare const PaginationController: { (props: PaginationStateProps): ReturnType; (props: PaginationScopeProps): ReturnType; }; export = PaginationController;