/// <reference types="react" />
import { type PdfViewerOnLoadSuccessProps, type PdfViewerProps } from '../types';
export declare const useLogic: ({ file, scrollRef, paginationRef, isFullHeight, isCentered, 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<import("react").SetStateAction<number>>;
    };
    pageProps: {
        scrollRef: import("react").RefObject<HTMLElement | null>;
        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<HTMLDivElement | null> | 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<HTMLDivElement | null>;
    shouldAnimateZoom: boolean;
    loadingPlaceholderTitle: string | undefined;
    enabledZoom: boolean;
    isCentered: boolean | undefined;
};
