import { IRenderableView } from '../pdfjs';
export type VisibleView = IRenderableView & {
    id: number;
    div: HTMLElement;
};
export type VisibleElement = {
    id: number;
    x: number;
    y: number;
    view: VisibleView;
    percent: number;
    widthPercent: number;
};
export type VisibleElements = {
    first?: VisibleElement;
    last?: VisibleElement;
    views: VisibleElement[];
    ids: Set<number>;
};
export declare function getVisibleElements(scrollEl: HTMLElement, views: VisibleView[], sortByVisibility?: boolean, horizontal?: boolean, rtl?: boolean): VisibleElements;
export declare function onePageRenderedOrForceFetch(container: HTMLElement, visibleElements: VisibleElements, onePageRenderedCapability: Promise<{
    timestamp: number;
}>, signal: AbortSignal): Promise<void>;
