1 |
|
2 |
|
3 |
|
4 |
|
5 | import * as BB from 'botbuilder';
|
6 | import * as CLM from '@conversationlearner/models';
|
7 | export declare class Utils {
|
8 | static SendTyping(adapter: BB.BotAdapter, address: any): void;
|
9 |
|
10 | private static ReplaceErrors;
|
11 |
|
12 | static ErrorString(error: any, context?: string): string;
|
13 | static ReadFromFile(url: string): Promise<string>;
|
14 | }
|
15 | export declare const addEntitiesById: (valuesByName: CLM.FilledEntityMap) => CLM.FilledEntityMap;
|
16 | export declare function replace<T>(xs: T[], updatedX: T, getId: (x: T) => any): T[];
|
17 | export declare function botChecksum(callbacks: CLM.Callback[], templates: CLM.Template[]): string;
|
18 | export declare function isSDKOld(curVersion: string): Promise<boolean>;
|
19 | export declare function IsCardValid(card: string | Partial<BB.Activity>): boolean;
|
20 | export declare function GetLogicAPIError(logicResult: CLM.LogicResult | undefined): CLM.LogicAPIError | null;
|
21 | export declare function InputToActivity(userText: string, roundNum: number): Partial<BB.Activity>;
|
22 | export declare const CL_DEVELOPER = "ConversationLearnerDeveloper";
|
23 | export declare const UI_RUNNER_APPID = "UIRunner_AppId";
|
24 | export declare const DEFAULT_MAX_SESSION_LENGTH: number;
|