import { Dispatch, SetStateAction } from 'react'; type Dispatcher = Dispatch>; export interface PolygonPoint { x: number; y: number; } export type CitationHighlightVariant = "default" | "deleted" | "excluded" | "hovered"; export interface Citation { page: number; pageHeight: number; pageWidth: number; polygon: PolygonPoint[]; referenceText: string; statementTransactionId?: string; variant?: CitationHighlightVariant; } interface Props { fileUrl: string; isFullScreen: boolean; setShowFullScreenView: Dispatcher; allowMultiFiles?: boolean; /** Overrides default `delete-attachment` test id when provided */ deleteAttachmentDataTestId?: string; highlightedCitations?: Citation[]; maxHeight?: boolean; pdfTitle?: string; /** Selected transaction — emphasizes its citation and scrolls the PDF to it. */ selectedStatementTransactionId?: string; /** When false with showTitlebarIcon, hides replace upload; delete still shows if onDeleteClick is used. Default true. */ showReplaceIcon?: boolean; showTitlebar?: boolean; showTitlebarIcon?: boolean; /** PDF citation click — selects the matching list row. */ onCitationClick?: (statementTransactionId: string | undefined) => void; /** PDF citation hover — optional parent sync; PDF local hover always runs. */ onCitationHover?: (statementTransactionId: string | undefined) => void; onCrossClick?: () => void; onDeleteClick?: () => void; onReplaceClick?: () => void; onUploadAttachment?: (fileInfo: Blob[], fileName: string[]) => void; openSizeLimitPopup?: (shouldOpen: boolean) => void; } export default function RenderPdf(props: Props): import("react/jsx-runtime").JSX.Element; export {};