/** * @module botbuilder-dialogs-adaptive-teams */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { Converter, ConverterFactory, Dialog, DialogContext } from 'botbuilder-dialogs'; import { BoolExpression, Expression, IntExpression, StringExpression } from 'adaptive-expressions'; import { Activity, CacheInfo, MessagingExtensionResponse, MessagingExtensionResult, StatusCodes, TabResponse } from 'botbuilder'; export interface BaseTeamsCacheInfoResponseDialogConfiguration { disabled?: boolean | string | BoolExpression; cacheType?: string | Expression | StringExpression; cacheDuration?: number | Expression | IntExpression; } export declare abstract class BaseTeamsCacheInfoResponseDialog extends Dialog implements BaseTeamsCacheInfoResponseDialogConfiguration { /** * Gets or sets an optional expression which if is true will disable this action. */ disabled?: BoolExpression; /** * Gets or sets config CacheType. * * @example * "cache" or "no_cache". */ cacheType?: StringExpression; /** * Gets or sets cache duration in seconds for which the cached object should remain in the cache. */ cacheDuration?: IntExpression; getConverter(property: keyof BaseTeamsCacheInfoResponseDialogConfiguration | string): Converter | ConverterFactory; protected static createInvokeResponseActivity(body: MessagingExtensionResponse | TabResponse, statusCode?: StatusCodes): Partial; protected createMessagingExtensionInvokeResponseActivity(dc: DialogContext, result: MessagingExtensionResult): Partial; protected getCacheInfo(dc: DialogContext): CacheInfo | undefined; } //# sourceMappingURL=baseTeamsCacheInfoResponseDialog.d.ts.map