import React from "react"; import { Expr, Schema } from "@mwater/expressions"; import { LocalizedString } from "ez-localize"; import ResponseRow from "./ResponseRow"; export interface TextExprsComponentProps { /** String to render (localized) */ localizedStr?: LocalizedString; /** Array of mwater-expressions to insert at {0}, {1}, etc. */ exprs?: Expr[]; /** Schema that includes the current form */ schema: Schema; /** response row to use */ responseRow: ResponseRow; /** locale (e.g. "en") to use */ locale?: string; /** True to render as markdown text */ markdown?: boolean; /** Formats to be used by d3 formatter for numbers. Should match exprs */ exprFormats?: (string | undefined)[]; } /** Displays a text string with optional expressions embedded in it that are computed */ declare const TextExprsComponent: React.FC; export default TextExprsComponent;