import type { FC, MouseEventHandler } from "react"; type Props = { /** * The actual location of the file. Make sure this is an unauthenticated URL, otherwise the download may fail. * * @example "https://luscii-tst-user-uploaded-files.s3.eu-central-1.amazonaws.com//.?X-Amz-Expires=60&x-amz-security-token=&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=&X-Amz-Date=20250402T075801Z&X-Amz-SignedHeaders=host;x-amz-security-token&X-Amz-Signature=" */ fileUrl: string; /** * Download URL, if it is different from the fileUrl for previewing. * This can be because the fileUrl needs the content-disposition header to be set to attachment for downloading, but * this would cause an immediate download instead of a preview for some files, which we don't want. * * @param fileUrl */ downloadUrl?: string; localization: { closeButtonLabel: string; downloadButtonLabel: string; }; onClose: MouseEventHandler; onDownload?: MouseEventHandler; }; export declare const FilePreview: FC; export {};