import type { WorkDocumentSectionLayout } from '../work-types'; import { type DocumentNavigationWindowRange } from './document-navigation-window'; import { type WorkDocumentPageThumbnailSource } from './document-page-thumbnail'; export declare const DOCUMENT_PAGE_WINDOW_LIMIT = 24; export interface DocumentNavigationPage { backgroundColor?: string; physicalPage: number; pageNumber: number; orientation: WorkDocumentSectionLayout['orientation']; previewText: string; selectionPosition: number; } export declare function DocumentPageNavigation({ currentPage, pages, thumbnailSource, onSelectPage, }: { currentPage: number; pages: readonly DocumentNavigationPage[]; thumbnailSource?: WorkDocumentPageThumbnailSource; onSelectPage: (page: DocumentNavigationPage) => void | Promise; }): import("react").JSX.Element; export declare function calculateDocumentPageRange({ anchorIndex, averageItemHeight, pageCount, viewportHeight, }: { anchorIndex: number; averageItemHeight: number; pageCount: number; viewportHeight: number; }): DocumentNavigationWindowRange;