import { TFileAndTransfer, TFileId } from '../types';
export declare const useImagePreview: (previewableImages: TFileAndTransfer[]) => {
    isOpen: boolean;
    currentIndex: number;
    modalRef: import('react').RefObject<HTMLDialogElement | null>;
    open: (fileId: TFileId) => void;
    close: () => void;
    navigate: (direction: "prev" | "next") => void;
};
