///
import { type PdfViewerOnLoadSuccessProps, type PdfViewerProps } from '../types';
export declare const useLogic: ({ file, scrollRef, paginationRef, isFullHeight, renderPageRange, isHidePersonalData, isViewerLite, enabledZoom, options, ...props }: PdfViewerProps) => {
documentProps: {
file: string | Blob | null | undefined;
options: {
withCredentials: boolean;
};
onLoadSuccess: (pdf: PdfViewerOnLoadSuccessProps) => void;
onLoadError: (error: Error) => void;
setContainerWidth: import("react").Dispatch>;
};
pageProps: {
scrollRef: import("react").RefObject;
onChangePage: (newPage: number) => void;
isHidePersonalData: boolean | undefined;
currentPage: number;
};
pageCount: number;
pageHeightList: number[] | null;
isError: boolean;
errorState: {
imgSrc: string;
imgAlt: string;
actions: boolean | null | undefined;
onRetry: () => void;
title: string;
errorList: string[];
} | undefined;
onRetry: () => void;
paginationRef: import("react").RefObject | undefined;
isLoading: boolean;
initialIndex: number | null;
isRenderList: boolean;
isViewerLite: boolean | undefined;
scale: number;
zoomIn: () => void;
zoomOut: () => void;
isDisabledZoomOutButton: boolean;
isDisabledZoomInButton: boolean;
scrollContainerRef: import("react").RefObject;
shouldAnimateZoom: boolean;
loadingPlaceholderTitle: string | undefined;
enabledZoom: boolean;
};