import * as React from 'react'; import { FormTypes } from '@oneblink/types'; import { FormElementConditionallyShownElement, IsDirtyProps, NestedFormElementValueChangeHandler, UpdateFormElementsHandler } from '../types/form'; import { attachmentsService } from '../apps'; interface Props extends IsDirtyProps { id: string; element: FormTypes.ComplianceElement; value: unknown; onChange: NestedFormElementValueChangeHandler; displayValidationMessage: boolean; validationMessage: string | undefined; conditionallyShownOptionsElement: FormElementConditionallyShownElement | undefined; isEven?: boolean; onUpdateFormElements: UpdateFormElementsHandler; } export interface Value { value?: string; notes?: string; files?: attachmentsService.Attachment[]; } export declare function stringifyComplianceValue(value: unknown): string; declare function FormElementCompliance({ id, element, value, onChange, conditionallyShownOptionsElement, validationMessage, displayValidationMessage, isEven, onUpdateFormElements, isDirty, setIsDirty, }: Props): import("react/jsx-runtime").JSX.Element; declare const _default: React.MemoExoticComponent; export default _default;