import { FixedDocument, FixedPageInfo } from './fixed-document'; import { Book, RelocateEvent, TOCItem } from './types'; export interface FixedPageSequenceConfig { readonly book: Book; readonly document: FixedDocument; readonly pages: readonly FixedPageInfo[]; readonly pageIndex?: number; } export declare class FixedPageSequence { readonly book: Book; readonly document: FixedDocument; readonly pages: readonly FixedPageInfo[]; private index; constructor(config: FixedPageSequenceConfig); static fromBook(book: Book): Promise; get pageIndex(): number; get currentPage(): FixedPageInfo | null; get pageCount(): number; goTo(target: number | string): boolean; next(): boolean; prev(): boolean; goToFraction(fraction: number): boolean; getFraction(): number; getSectionFractions(): number[]; getLocation(reason: string): RelocateEvent; getCurrentTOCItem(): TOCItem | null; private setPageIndex; private resolveTarget; } export declare function readFixedDocumentPages(document: FixedDocument): Promise; export declare function clampFixedPageIndex(index: number, pageCount: number): number; export declare function parseFixedPageHref(href: string): number | null; //# sourceMappingURL=fixed-page-sequence.d.ts.map