import React from "react"; import { Image } from "../RotationAwareImageComponent"; import { LocalizeString } from "ez-localize"; import { ImageManager, ImageAcquirer } from "../formContext"; export interface ImagesAnswerComponentProps { /** array of { id: someid, caption: caption, cover: true/false } */ imagelist?: Image[] | null; /** Called when image list changed */ onImagelistChange?: (imagelist: Image[]) => void; consentPrompt?: string; /** Maximum dimension (width or height) for the images in pixels */ maxImageDimension?: number | null; imageManager: ImageManager; imageAcquirer?: ImageAcquirer; T: LocalizeString; } interface ImagesAnswerComponentState { modalImageId: string | null; } export default class ImagesAnswerComponent extends React.Component { constructor(props: ImagesAnswerComponentProps); focus(): null; handleAdd: () => void; handleClickImage: (id: string) => void; renderModal(): import("react/jsx-runtime").JSX.Element | null; render(): import("react/jsx-runtime").JSX.Element; } export {};