import type { ReadingDirection, ViewerState } from "../types"; export type AdjacentDirection = "previous" | "next"; export type PageGroupPlacement = AdjacentDirection | "current"; export type PageGroupSide = "left" | "center" | "right"; export interface PageGroup { indexes: number[]; placement: PageGroupPlacement; offset: number; } export declare function getDisplayedPageIndexes(state: ViewerState, isMobile: boolean): number[]; export declare function getAdjacentPageIndexes(state: ViewerState, direction: AdjacentDirection, isMobile: boolean): number[]; export declare function getPreloadedPageGroups(state: ViewerState, isMobile: boolean): PageGroup[]; export declare function getPageGroupSide(state: ViewerState, placement: PageGroupPlacement): PageGroupSide; export declare function isSwipeToNext(deltaX: number, direction: ReadingDirection): boolean; export declare function getPageIndexesForPageIndex(state: ViewerState, pageIndex: number, isMobile: boolean): number[]; //# sourceMappingURL=page-layout.d.ts.map