import type { Questionnaire, QuestionnaireResponse } from 'fhir/r4'; import type Client from 'fhirclient/lib/Client'; /** * SmartFormsRenderer properties * * @property questionnaire - Input FHIR R4 Questionnaire to be rendered * @property questionnaireResponse - Pre-populated QuestionnaireResponse to be rendered (optional) * @property additionalVariables - Additional key-value pair of SDC variables `Record` for testing (optional) * @property terminologyServerUrl - Terminology server url to fetch terminology. If not provided, the default terminology server will be used. (optional) * @property fhirClient - FHIRClient object to perform further FHIR calls. At the moment it's only used in answerExpressions (optional) * @property readOnly - Applies read-only mode to all items in the form * * @author Sean Fong */ export interface SmartFormsRendererProps { questionnaire: Questionnaire; questionnaireResponse?: QuestionnaireResponse; additionalVariables?: Record; terminologyServerUrl?: string; fhirClient?: Client; readOnly?: boolean; } /** * A self-initialising wrapper around the BaseRenderer rendering engine. * * This component is now deprecated. You can still use it, but it might not be compatible with renderer appearance and behaviour customisation via via {@link rendererConfigStore}. * For alternative usage, see: * - https://github.com/aehrc/smart-forms/blob/main/packages/smart-forms-renderer/src/stories/storybookWrappers/InitialiseFormWrapperForStorybook.tsx#L40-L57 * * @see {@link SmartFormsRendererProps} for props. * * @author Sean Fong */ declare function SmartFormsRenderer(props: SmartFormsRendererProps): import("react/jsx-runtime").JSX.Element; export default SmartFormsRenderer;