import { MutableRefObject } from 'react';
export interface PaginationContextValue {
    pageCount: number;
    currentPage: number;
    onPageChange: (page: number, previous: number, direction: -1 | 1) => void;
    onKeyDown: (event: React.KeyboardEvent) => void;
    a11yIds: Record<string, string>;
    pageRefs: MutableRefObject<Map<number, HTMLElement | null>>;
}
export declare const PaginationContext: import('react').Context<PaginationContextValue | null>;
export declare const usePaginationContext: () => PaginationContextValue;
