import { ReactNode } from "react"; import { FileManager } from "./formContext"; export interface FileLinkComponentProps { fileManager: FileManager; fileId: string; /** MIME type of the file, used to render supported inline previews. */ mimetype?: string; children: ReactNode; } /** Renders a download link for a file whose URL is resolved asynchronously via FileManager.getFileUrl. * Local (pending) files are shown as plain text since they don't need to be downloadable. * Video files are previewed inline with native browser controls. * Remote URLs use InAppBrowser on Cordova to open in the system browser. */ export default function FileLinkComponent(props: FileLinkComponentProps): import("react/jsx-runtime").JSX.Element;