import { CascadingRefAnswerValue, CascadingRefsAnswerValue } from "../response"; import { CascadingRefQuestion } from "../formDesign"; import { Row, Schema } from "@mwater/expressions"; /** Displays a cascading reference question answer. Handles both a single row _id and, * for multiSelectLast questions, an array of row _ids */ export declare const CascadingRefDisplayComponent: (props: { question: CascadingRefQuestion; value: CascadingRefAnswerValue | CascadingRefsAnswerValue; locale?: string; schema: Schema; /** Get a specific row of a custom table */ getCustomTableRow: (tableId: string, rowId: string) => Promise; /** * entityType: e.g. "water_point" * entityId: _id of entity * callback: called with an entity e.g. { _id: some id, a: "abc", b: 123 } or callback null if entity not found */ getEntityById: (entityType: string, entityId: string, callback: (entity: any) => void) => void; }) => import("react/jsx-runtime").JSX.Element | null;