import { FileValue } from "@mwater/expressions"; import { FileManager } from "../formContext"; /** Convert an array of preset category IDs to an HTML accept attribute string */ export declare function buildAcceptString(acceptedFileTypes?: string[]): string | undefined; export interface FileAnswerComponentProps { file?: FileValue | null; onFileChange?: (file: FileValue | null) => void; fileManager?: FileManager; /** Preset category IDs from the question design */ acceptedFileTypes?: string[]; /** Maximum file size in MB (from question design). Defaults to 10. */ maxFileSizeMB?: number; } /** Answer component for a single file attachment question */ export default function FileAnswerComponent(props: FileAnswerComponentProps): import("react/jsx-runtime").JSX.Element;