import { FC } from 'react'; import * as AdaptiveCards from 'adaptivecards'; type AdaptiveCardViewerProps = { /** The hostConfig object that is passed along to the native AdaptiveCards. [More Info](https://docs.microsoft.com/en-us/adaptive-cards/display/hostconfig) */ hostConfig?: object; /** The card schema. It must comply with the card schema. [More Info](https://docs.microsoft.com/en-us/adaptive-cards/create/cardschema) */ payload: object; /** Method that will be invoked anytime a card action is executed. [More Info](https://docs.microsoft.com/en-us/adaptive-cards/display/implementingrenderer#actions) */ onExecuteAction?: (action: AdaptiveCards.Action) => void; /** Method that will be invoked when a Submit action is executed. [More Info](https://docs.microsoft.com/en-us/adaptive-cards/display/implementingrenderer#actionsubmit) */ onActionSubmit?: (action: AdaptiveCards.Action) => void; /** Method that will be invoked when an Open Url action is executed. [More Info](https://docs.microsoft.com/en-us/adaptive-cards/display/implementingrenderer#actionopenurl) */ onActionOpenUrl?: (action: AdaptiveCards.Action) => void; /** Method that will be invoked when a Show Card action is executed. [More Info](https://docs.microsoft.com/en-us/adaptive-cards/display/implementingrenderer#actionshowcard) */ onActionShowCard?: (action: AdaptiveCards.Action) => void; /** CSS classes that will bew applied to the card container */ className?: string; }; declare const AdaptiveCardViewer: FC; export default AdaptiveCardViewer;