import { LocalizeString } from "ez-localize"; import { ReactNode } from "react"; import { AssetQuestion } from "../formDesign"; import { AssetAnswerValue } from "../response"; /** Answer component that allows selecting an asset */ export declare function AssetAnswerComponent(props: { question: AssetQuestion; answer: AssetAnswerValue | null | undefined; onValueChange: (answer: AssetAnswerValue | null) => void; T: LocalizeString; /** Select an asset with optional filter * @param assetSystemId id of the asset system * @param assetId currently selected asset * @param filter MongoDB-style filter on assets * @param callback called with _id of asset selected or null. Never called if cancelled */ selectAsset: (assetSystemId: number, assetId: string | null, filter: any, callback: (assetId: string | null) => void) => void; /** Renders an asset as a React element for summary (small box) */ renderAssetSummaryView: (assetSystemId: number, assetId: string) => ReactNode; }): import("react/jsx-runtime").JSX.Element;