/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import * as BB from 'botbuilder'; import * as CLM from '@conversationlearner/models'; export declare class Utils { static SendTyping(adapter: BB.BotAdapter, address: any): void; /** Trick to get errors to render on Azure */ private static ReplaceErrors; /** Handle that catch clauses can be any type */ static ErrorString(error: any, context?: string): string; static ReadFromFile(url: string): Promise; } export declare const addEntitiesById: (valuesByName: CLM.FilledEntityMap) => CLM.FilledEntityMap; export declare function replace(xs: T[], updatedX: T, getId: (x: T) => any): T[]; export declare function botChecksum(callbacks: CLM.Callback[], templates: CLM.Template[]): string; export declare function isSDKOld(curVersion: string): Promise; export declare function IsCardValid(card: string | Partial): boolean; export declare function GetLogicAPIError(logicResult: CLM.LogicResult | undefined): CLM.LogicAPIError | null; export declare const CL_DEVELOPER = "ConversationLearnerDeveloper"; export declare const UI_RUNNER_APPID = "UIRunner_AppId"; export declare const DEFAULT_MAX_SESSION_LENGTH: number;