import { IInteraction } from '../models/Interactions'; /** * Apps that want to communicate updated interaction details back to the interaction provider apps can use this API. * * Apps that register using the registerUpdateInteractionToProvider will receive the data. * * - See [[registerUpdateInteractionToProvider]] * * @param interaction This is the interaction which should contain the interaction ID, scenario ID and * * the data to be updated to provider in the details of the interaction. */ export declare function updateInteractionToProvider(interaction: IInteraction): Promise; /** * This registers the apps to handle the interaction updates events * * which are triggered each time updateInteractionToProvider is called. * * - See [[updateInteractionToProvider]] * * @param callback This will be triggered whenever updateInteractionToProvider is called. */ export declare function registerUpdateInteractionToProvider(callback: (interaction: IInteraction) => Promise): Promise;