/** @hidden */ /** */
import { PageInfo } from '../DocumentViewer/types';
export type ThumbnailLocation = {
    top: number;
    bottom: number;
};
export type Size = {
    width: string;
    height: string;
};
export type Thumbnail = {
    content: string;
    size: Size;
    originalSize: Size;
    scaleFactor: number;
};
export type Model = {
    pageIndex: number;
    pageCount: number;
    thumbnails: Thumbnail[];
    viewportHeight: number;
    scrollTopPosition: number;
};
export type Command = {
    type: 'ProcessViewerState';
    payload: {
        pageBuffer: PageInfo[];
        pageCount: number;
        pageIndex: number;
    };
} | {
    type: 'ProcessScrollInfo';
    payload: {
        scrollTopPosition?: number;
        viewportHeight?: number;
    };
};
