import * as React from 'react'; import { submissionService } from '../../apps'; type Attachment = Awaited>[number]; export declare const LoadAndDisplayAttachments: ({ pdfFileNodes, formSubmissionResult, }: { pdfFileNodes?: PDFFileNode[]; formSubmissionResult: submissionService.FormSubmissionResult; }) => import("react/jsx-runtime").JSX.Element; export type PDFFileNode = { key: string; node: React.ReactNode; }; export declare const SingleFileDisplay: ({ attachment, className, retryIfSubmissionNotReady, }: { attachment: Attachment; className?: string; /** * Download the file in the page instead of navigating away. When the * submission PDF is not ready yet, retry with a backoff, then show the error * and a Try again button. */ retryIfSubmissionNotReady?: boolean; }) => import("react/jsx-runtime").JSX.Element; /** Centers the PDF Download button */ export declare const OnlyPDFDisplay: ({ children, className, }: { children: PDFFileNode[]; className?: string; }) => import("react/jsx-runtime").JSX.Element; export {};