@cellaware/utils 8.11.19 → 8.11.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/azure/cosmos.d.ts +112 -0
  2. package/dist/azure/cosmos.js +305 -0
  3. package/dist/azure/email.d.ts +3 -0
  4. package/dist/azure/email.js +20 -0
  5. package/dist/azure/function.d.ts +14 -0
  6. package/dist/azure/function.js +124 -0
  7. package/dist/azure/slot.d.ts +1 -0
  8. package/dist/azure/slot.js +4 -0
  9. package/dist/azure/storage.d.ts +14 -0
  10. package/dist/azure/storage.js +81 -0
  11. package/dist/chatwms/alert.d.ts +97 -0
  12. package/dist/chatwms/alert.js +74 -0
  13. package/dist/chatwms/azure/cosmos.d.ts +25 -0
  14. package/dist/chatwms/azure/cosmos.js +43 -0
  15. package/dist/chatwms/azure/function.d.ts +21 -0
  16. package/dist/chatwms/azure/function.js +29 -0
  17. package/dist/chatwms/azure/storage.d.ts +15 -0
  18. package/dist/chatwms/azure/storage.js +27 -0
  19. package/dist/chatwms/client.d.ts +18 -0
  20. package/dist/chatwms/client.js +48 -0
  21. package/dist/chatwms/cosmos.d.ts +24 -0
  22. package/dist/chatwms/cosmos.js +532 -0
  23. package/dist/chatwms/dashboard.d.ts +80 -0
  24. package/dist/chatwms/dashboard.js +17 -0
  25. package/dist/chatwms/datagrid.d.ts +215 -0
  26. package/dist/chatwms/datagrid.js +1459 -0
  27. package/dist/chatwms/developer.d.ts +27 -0
  28. package/dist/chatwms/developer.js +12 -0
  29. package/dist/chatwms/github/issue.d.ts +1 -0
  30. package/dist/chatwms/github/issue.js +4 -0
  31. package/dist/chatwms/instance.d.ts +16 -0
  32. package/dist/chatwms/instance.js +18 -0
  33. package/dist/chatwms/integration.d.ts +24 -0
  34. package/dist/chatwms/integration.js +19 -0
  35. package/dist/chatwms/pdf.d.ts +95 -0
  36. package/dist/chatwms/pdf.js +147 -0
  37. package/dist/chatwms/report.d.ts +126 -0
  38. package/dist/chatwms/report.js +55 -0
  39. package/dist/chatwms/response.d.ts +18 -0
  40. package/dist/chatwms/response.js +25 -0
  41. package/dist/chatwms/search.d.ts +12 -0
  42. package/dist/chatwms/search.js +9 -0
  43. package/dist/chatwms/teams.d.ts +237 -0
  44. package/dist/chatwms/teams.js +205 -0
  45. package/dist/chatwms/user.d.ts +31 -0
  46. package/dist/chatwms/user.js +42 -0
  47. package/dist/chatwms/warehouse.d.ts +3 -0
  48. package/dist/chatwms/warehouse.js +3 -0
  49. package/dist/github/issue.d.ts +1 -0
  50. package/dist/github/issue.js +23 -0
  51. package/dist/llm/chain-store.d.ts +49 -0
  52. package/dist/llm/chain-store.js +284 -0
  53. package/dist/llm/cost.d.ts +3 -0
  54. package/dist/llm/cost.js +42 -0
  55. package/dist/llm/model.d.ts +12 -0
  56. package/dist/llm/model.js +1 -0
  57. package/dist/stopwatch.d.ts +8 -0
  58. package/dist/stopwatch.js +36 -0
  59. package/dist/util.d.ts +45 -0
  60. package/dist/util.js +288 -0
  61. package/dist/version.d.ts +4 -0
  62. package/dist/version.js +12 -0
  63. package/package.json +1 -1
@@ -0,0 +1,237 @@
1
+ export declare function createTeamsTableItem(rows: any[]): ({
2
+ type: string;
3
+ cells: {
4
+ type: string;
5
+ items: {
6
+ type: string;
7
+ text: any;
8
+ size: string;
9
+ weight: string;
10
+ }[];
11
+ }[];
12
+ } | {
13
+ type: string;
14
+ style: string | undefined;
15
+ cells: {
16
+ type: string;
17
+ style: string | undefined;
18
+ items: {
19
+ type: string;
20
+ text: any;
21
+ size: string;
22
+ color: string | undefined;
23
+ weight: string | undefined;
24
+ isSubtle: true | undefined;
25
+ }[];
26
+ }[];
27
+ })[];
28
+ export declare function createTeamsReportBriefCard(briefMarkdown: string, reportTitle: string): {
29
+ type: string;
30
+ version: string;
31
+ msteams: {
32
+ width: string;
33
+ };
34
+ body: ({
35
+ type: string;
36
+ facts: {
37
+ title: string;
38
+ value: string;
39
+ }[];
40
+ } | {
41
+ type: string;
42
+ text: string;
43
+ size: string;
44
+ isSubtle: boolean;
45
+ wrap: boolean;
46
+ } | {
47
+ type: string;
48
+ separator: boolean;
49
+ items: {
50
+ type: string;
51
+ text: string;
52
+ wrap: boolean;
53
+ }[];
54
+ })[];
55
+ };
56
+ export declare function createTeamsReportTableCard(lineTitle: string, table: any[], summary: string, reportTitle: string): {
57
+ type: string;
58
+ version: string;
59
+ msteams: {
60
+ width: string;
61
+ };
62
+ body: ({
63
+ type: string;
64
+ facts: {
65
+ title: string;
66
+ value: string;
67
+ }[];
68
+ } | {
69
+ type: string;
70
+ separator: boolean;
71
+ text: string;
72
+ size: string;
73
+ } | {
74
+ type: string;
75
+ text: string;
76
+ size: string;
77
+ isSubtle: boolean;
78
+ wrap: boolean;
79
+ } | {
80
+ type: string;
81
+ roundedCorners: boolean;
82
+ firstRowAsHeaders: boolean;
83
+ columns: any;
84
+ rows: any[];
85
+ })[];
86
+ };
87
+ export declare function createTeamsReportValueCard(lineTitle: string, columnName: string, value: any, styles: string[], summary: string, reportTitle: string): {
88
+ type: string;
89
+ version: string;
90
+ msteams: {
91
+ width: string;
92
+ };
93
+ body: ({
94
+ type: string;
95
+ facts: {
96
+ title: string;
97
+ value: string;
98
+ }[];
99
+ } | {
100
+ type: string;
101
+ text: string;
102
+ size: string;
103
+ isSubtle: boolean;
104
+ wrap: boolean;
105
+ } | {
106
+ type: string;
107
+ separator: boolean;
108
+ roundedCorners: boolean;
109
+ style: string | undefined;
110
+ items: {
111
+ type: string;
112
+ text: any;
113
+ wrap: boolean;
114
+ size: string;
115
+ color: string | undefined;
116
+ weight: string | undefined;
117
+ isSubtle: true | undefined;
118
+ }[];
119
+ })[];
120
+ };
121
+ export declare function createTeamsReportRowCard(lineTitle: string, table: any[], summary: string, reportTitle: string): {
122
+ type: string;
123
+ version: string;
124
+ msteams: {
125
+ width: string;
126
+ };
127
+ body: ({
128
+ type: string;
129
+ facts: {
130
+ title: string;
131
+ value: string;
132
+ }[];
133
+ } | {
134
+ type: string;
135
+ text: string;
136
+ size: string;
137
+ isSubtle: boolean;
138
+ wrap: boolean;
139
+ } | {
140
+ type: string;
141
+ roundedCorners: boolean;
142
+ columns: {
143
+ width: number;
144
+ }[];
145
+ rows: any[];
146
+ })[];
147
+ };
148
+ export declare function createTeamsReportChartCard(lineTitle: string, png: string, summary: string, reportTitle: string): {
149
+ type: string;
150
+ version: string;
151
+ msteams: {
152
+ width: string;
153
+ };
154
+ body: ({
155
+ type: string;
156
+ facts: {
157
+ title: string;
158
+ value: string;
159
+ }[];
160
+ } | {
161
+ type: string;
162
+ text: string;
163
+ size: string;
164
+ isSubtle: boolean;
165
+ wrap: boolean;
166
+ } | {
167
+ type: string;
168
+ separator: boolean;
169
+ url: string;
170
+ })[];
171
+ };
172
+ export declare function createTeamsAlertTableCard(condition: string, rows: any[], alertTitle: string): {
173
+ type: string;
174
+ version: string;
175
+ msteams: {
176
+ width: string;
177
+ };
178
+ body: ({
179
+ type: string;
180
+ facts: {
181
+ title: string;
182
+ value: string;
183
+ }[];
184
+ } | {
185
+ type: string;
186
+ separator: boolean;
187
+ text: string;
188
+ size: string;
189
+ } | {
190
+ type: string;
191
+ roundedCorners: boolean;
192
+ firstRowAsHeaders: boolean;
193
+ columns: {
194
+ width: number;
195
+ }[];
196
+ rows: ({
197
+ type: string;
198
+ cells: {
199
+ type: string;
200
+ items: {
201
+ type: string;
202
+ text: any;
203
+ size: string;
204
+ weight: string;
205
+ }[];
206
+ }[];
207
+ } | {
208
+ type: string;
209
+ style: string | undefined;
210
+ cells: {
211
+ type: string;
212
+ style: string | undefined;
213
+ items: {
214
+ type: string;
215
+ text: any;
216
+ size: string;
217
+ color: string | undefined;
218
+ weight: string | undefined;
219
+ isSubtle: true | undefined;
220
+ }[];
221
+ }[];
222
+ })[];
223
+ text?: undefined;
224
+ size?: undefined;
225
+ style?: undefined;
226
+ } | {
227
+ type: string;
228
+ text: string;
229
+ size: string;
230
+ style: string;
231
+ roundedCorners?: undefined;
232
+ firstRowAsHeaders?: undefined;
233
+ columns?: undefined;
234
+ rows?: undefined;
235
+ })[];
236
+ };
237
+ export declare function sendTeamsWebhook(url: string, card: any): Promise<Response>;
@@ -0,0 +1,205 @@
1
+ import { createTeamsTableColumns, createTeamsTableRow, DATAGRID_HTML_COLS, DATAGRID_TEAMS_ROWS, mapTeamsStyles } from "./datagrid.js";
2
+ function createTeamsTitleItem(title, value) {
3
+ return {
4
+ type: "FactSet",
5
+ facts: [
6
+ {
7
+ title: `${title}:`,
8
+ value
9
+ }
10
+ ]
11
+ };
12
+ }
13
+ function createTeamsTableQualifierItem() {
14
+ return {
15
+ type: "TextBlock",
16
+ separator: true,
17
+ text: `Displaying first **${DATAGRID_TEAMS_ROWS} rows** and **${DATAGRID_HTML_COLS} columns**`,
18
+ size: "Small"
19
+ };
20
+ }
21
+ function createTeamsSummaryItem(summary) {
22
+ return {
23
+ type: "TextBlock",
24
+ text: `*${summary}*`,
25
+ size: "Small",
26
+ isSubtle: true,
27
+ wrap: true
28
+ };
29
+ }
30
+ export function createTeamsTableItem(rows) {
31
+ if (rows.length === 0) {
32
+ return [];
33
+ }
34
+ const columnNames = Object.keys(rows[0]);
35
+ const teamsRows = rows.map(row => createTeamsTableRow(columnNames, columnNames.map(col => row[col])));
36
+ return [
37
+ createTeamsTableColumns(columnNames),
38
+ ...teamsRows
39
+ ];
40
+ }
41
+ export function createTeamsReportBriefCard(briefMarkdown, reportTitle) {
42
+ return {
43
+ type: "AdaptiveCard",
44
+ version: "1.5",
45
+ msteams: { width: "Full" },
46
+ body: [
47
+ createTeamsTitleItem(reportTitle, 'Brief'),
48
+ {
49
+ type: "Container",
50
+ separator: true,
51
+ items: [
52
+ {
53
+ type: "TextBlock",
54
+ text: briefMarkdown,
55
+ wrap: true,
56
+ }
57
+ ]
58
+ },
59
+ createTeamsSummaryItem('ChatWMS can make mistakes. [Check important info.](https://chatwms.io/user-manual/chatwms/disclaimer)')
60
+ ]
61
+ };
62
+ }
63
+ export function createTeamsReportTableCard(lineTitle, table, summary, reportTitle) {
64
+ return {
65
+ type: "AdaptiveCard",
66
+ version: "1.5",
67
+ msteams: { width: "Full" },
68
+ body: [
69
+ createTeamsTitleItem(reportTitle, lineTitle),
70
+ createTeamsTableQualifierItem(),
71
+ {
72
+ type: "Table",
73
+ roundedCorners: true,
74
+ firstRowAsHeaders: true,
75
+ columns: table.length === 0 ? [] : table[0].cells.map(() => ({ width: 3 })),
76
+ rows: table
77
+ },
78
+ createTeamsSummaryItem(summary)
79
+ ]
80
+ };
81
+ }
82
+ export function createTeamsReportValueCard(lineTitle, columnName, value, styles, summary, reportTitle) {
83
+ // NOTE: we only care about mapping style string (represented as row styles) to column styles.
84
+ let rowStyles = [];
85
+ let columnStyles = [];
86
+ [rowStyles, columnStyles] = mapTeamsStyles([columnName], styles, [], rowStyles, columnStyles);
87
+ let color = undefined;
88
+ let style = undefined;
89
+ let weight = undefined;
90
+ let isSubtle = undefined;
91
+ let italic = undefined;
92
+ if (columnStyles.length > 0) {
93
+ const columnStyle = columnStyles[0];
94
+ for (const columnStyleAttributes of columnStyle.styles) {
95
+ if (!!columnStyleAttributes.color) {
96
+ color = columnStyleAttributes.color;
97
+ }
98
+ if (!!columnStyleAttributes.style) {
99
+ style = columnStyleAttributes.style;
100
+ }
101
+ if (!!columnStyleAttributes.weight) {
102
+ weight = columnStyleAttributes.weight;
103
+ }
104
+ if (!!columnStyleAttributes.isSubtle) {
105
+ isSubtle = columnStyleAttributes.isSubtle;
106
+ }
107
+ if (!!columnStyleAttributes.italic) {
108
+ italic = columnStyleAttributes.italic;
109
+ }
110
+ }
111
+ }
112
+ return {
113
+ type: "AdaptiveCard",
114
+ version: "1.5",
115
+ msteams: { width: "Full" },
116
+ body: [
117
+ createTeamsTitleItem(reportTitle, lineTitle),
118
+ {
119
+ type: "Container",
120
+ separator: true,
121
+ roundedCorners: true,
122
+ style,
123
+ items: [
124
+ {
125
+ type: "TextBlock",
126
+ text: italic ? `*${value}*` : value,
127
+ wrap: true,
128
+ size: "ExtraLarge",
129
+ color,
130
+ weight,
131
+ isSubtle
132
+ }
133
+ ]
134
+ },
135
+ createTeamsSummaryItem(summary)
136
+ ]
137
+ };
138
+ }
139
+ export function createTeamsReportRowCard(lineTitle, table, summary, reportTitle) {
140
+ return {
141
+ type: "AdaptiveCard",
142
+ version: "1.5",
143
+ msteams: { width: "Full" },
144
+ body: [
145
+ createTeamsTitleItem(reportTitle, lineTitle),
146
+ {
147
+ type: "Table",
148
+ roundedCorners: true,
149
+ columns: [{ width: 1 }, { width: 2 }],
150
+ rows: table
151
+ },
152
+ createTeamsSummaryItem(summary)
153
+ ]
154
+ };
155
+ }
156
+ export function createTeamsReportChartCard(lineTitle, png, summary, reportTitle) {
157
+ return {
158
+ type: "AdaptiveCard",
159
+ version: "1.5",
160
+ msteams: { width: "Full" },
161
+ body: [
162
+ createTeamsTitleItem(reportTitle, lineTitle),
163
+ {
164
+ type: "Image",
165
+ separator: true,
166
+ url: png,
167
+ },
168
+ createTeamsSummaryItem(summary)
169
+ ]
170
+ };
171
+ }
172
+ export function createTeamsAlertTableCard(condition, rows, alertTitle) {
173
+ const table = createTeamsTableItem(rows);
174
+ return {
175
+ type: "AdaptiveCard",
176
+ version: "1.5",
177
+ msteams: { width: "Full" },
178
+ body: [
179
+ createTeamsTitleItem(alertTitle, condition),
180
+ createTeamsTableQualifierItem(),
181
+ {
182
+ type: "Table",
183
+ roundedCorners: true,
184
+ firstRowAsHeaders: true,
185
+ columns: table.length === 0 ? [] : table[0].cells.map(() => ({ width: 3 })),
186
+ rows: table
187
+ },
188
+ {
189
+ type: "Badge",
190
+ text: "Alert",
191
+ size: "Large",
192
+ style: "Attention"
193
+ }
194
+ ]
195
+ };
196
+ }
197
+ export async function sendTeamsWebhook(url, card) {
198
+ return fetch(url, {
199
+ method: "POST",
200
+ headers: {
201
+ "content-type": "application/json"
202
+ },
203
+ body: JSON.stringify(card),
204
+ });
205
+ }
@@ -0,0 +1,31 @@
1
+ import { HttpRequest } from "@azure/functions";
2
+ export interface ChatWMSUserData {
3
+ userId: string;
4
+ userDetails: string;
5
+ identityProvider: string;
6
+ }
7
+ export declare function chatwmsInitUserData(): ChatWMSUserData;
8
+ /**
9
+ * NOTE: will throw error if empty principal or decode issue
10
+ */
11
+ export declare function chatwmsExtractUserDataFromHeaders(request: HttpRequest): ChatWMSUserData;
12
+ export declare const CHATWMS_DEFAULT_LANGUAGE: string;
13
+ export type ChatWMSTheme = 'light' | 'dark';
14
+ export declare const CHATWMS_THEME_LIGHT: ChatWMSTheme;
15
+ export declare const CHATWMS_THEME_DARK: ChatWMSTheme;
16
+ export type ChatWMSAnalystOption = 'conversational' | 'direct';
17
+ export declare const CHATWMS_ANALYST_OPTION_CONVERSATIONAL: ChatWMSAnalystOption;
18
+ export declare const CHATWMS_ANALYST_OPTION_DIRECT: ChatWMSAnalystOption;
19
+ export type ChatWMSDateFormat = 'MMDDYYYY' | 'DDMMYYYY' | 'YYYYMMDD';
20
+ export declare const CHATWMS_DEFAULT_DATE_FORMAT: ChatWMSDateFormat;
21
+ export interface ChatWMSUserSettings {
22
+ userId: string;
23
+ userDetails: string;
24
+ language: string;
25
+ theme: ChatWMSTheme;
26
+ analystOption?: ChatWMSAnalystOption;
27
+ developer?: boolean;
28
+ dateFormat?: ChatWMSDateFormat;
29
+ clientId: string;
30
+ }
31
+ export declare function chatwmsInitUserSettings(): ChatWMSUserSettings;
@@ -0,0 +1,42 @@
1
+ import { AZURE_HEADER_PRINCIPAL } from "../azure/function.js";
2
+ export function chatwmsInitUserData() {
3
+ return {
4
+ userId: '',
5
+ userDetails: '',
6
+ identityProvider: ''
7
+ };
8
+ }
9
+ /**
10
+ * NOTE: will throw error if empty principal or decode issue
11
+ */
12
+ export function chatwmsExtractUserDataFromHeaders(request) {
13
+ // https://learn.microsoft.com/en-us/azure/static-web-apps/user-information
14
+ const principal = request.headers.get(AZURE_HEADER_PRINCIPAL) ?? '';
15
+ if (principal !== '') {
16
+ try {
17
+ const userData = JSON.parse(Buffer.from(principal, 'base64').toString('utf8'));
18
+ return userData;
19
+ }
20
+ catch (err) {
21
+ throw new Error(`Authorization error`);
22
+ }
23
+ }
24
+ else {
25
+ throw new Error(`Authorization header not found`);
26
+ }
27
+ }
28
+ export const CHATWMS_DEFAULT_LANGUAGE = 'English';
29
+ export const CHATWMS_THEME_LIGHT = 'light';
30
+ export const CHATWMS_THEME_DARK = 'dark';
31
+ export const CHATWMS_ANALYST_OPTION_CONVERSATIONAL = 'conversational';
32
+ export const CHATWMS_ANALYST_OPTION_DIRECT = 'direct';
33
+ export const CHATWMS_DEFAULT_DATE_FORMAT = 'MMDDYYYY';
34
+ export function chatwmsInitUserSettings() {
35
+ return {
36
+ userId: '',
37
+ userDetails: '',
38
+ language: CHATWMS_DEFAULT_LANGUAGE,
39
+ theme: CHATWMS_THEME_LIGHT,
40
+ clientId: ''
41
+ };
42
+ }
@@ -0,0 +1,3 @@
1
+ export declare const WAREHOUSE_STATUS_HEALTHY = "healthy";
2
+ export declare const WAREHOUSE_STATUS_INTERRUPTION = "interruption";
3
+ export declare const WAREHOUSE_STATUS_OUTAGE = "outage";
@@ -0,0 +1,3 @@
1
+ export const WAREHOUSE_STATUS_HEALTHY = 'healthy';
2
+ export const WAREHOUSE_STATUS_INTERRUPTION = 'interruption';
3
+ export const WAREHOUSE_STATUS_OUTAGE = 'outage';
@@ -0,0 +1 @@
1
+ export declare function githubCreateIssue(issueUrl: string, issueTitle: string, issueBody: any, issueLabels: string[]): Promise<boolean>;
@@ -0,0 +1,23 @@
1
+ export async function githubCreateIssue(issueUrl, issueTitle, issueBody, issueLabels) {
2
+ const token = process.env.GITHUB_TOKEN ?? '';
3
+ if (token.length === 0) {
4
+ throw new Error('GITHUB: `GITHUB_TOKEN` environment variable is not set');
5
+ }
6
+ const headers = {
7
+ 'Authorization': `token ${token}`,
8
+ 'X-GitHub-Api-Version': '2022-11-28',
9
+ 'Accept': 'application/vnd.github+json'
10
+ };
11
+ const body = {
12
+ title: issueTitle,
13
+ body: issueBody,
14
+ labels: issueLabels
15
+ };
16
+ const req = {
17
+ method: 'POST',
18
+ headers,
19
+ body: JSON.stringify(body)
20
+ };
21
+ let res = await fetch(issueUrl, req);
22
+ return res.ok;
23
+ }
@@ -0,0 +1,49 @@
1
+ import { BaseChain } from 'langchain/chains';
2
+ import { ModelName, ModelOptions } from './model.js';
3
+ /**
4
+ * `SingleActionChain` only supports single interaction with LLM, and only 1
5
+ * output key is allowed. Output key is defaulted to `answer`.
6
+ */
7
+ export declare class SingleActionChain extends BaseChain {
8
+ private _name;
9
+ private llm;
10
+ private _inputKeys;
11
+ private _outputKey;
12
+ private prompt;
13
+ private promptTemplate;
14
+ constructor(fields: any, name: string, inputKeys: string[]);
15
+ _call(values: any, runManager: any): Promise<any>;
16
+ _chainType(): string;
17
+ get inputKeys(): string[];
18
+ get outputKeys(): string[];
19
+ getModelName(): ModelName;
20
+ getPrompt(): string;
21
+ }
22
+ export declare function createSingleActionChain(name: string, modelName: ModelName, inputKeys: string[], prompt: string, temperature?: number, verbose?: boolean): SingleActionChain;
23
+ /**
24
+ * A `ChainStore` is a chain registry and calling interface. The `ChainStore`
25
+ * keeps a map of all registered chains.
26
+ *
27
+ * The following chains are built-in:
28
+ * - `translation_chain`: `translate()`
29
+ *
30
+ */
31
+ export declare class ChainStore {
32
+ private promptsPath;
33
+ private chains;
34
+ constructor(promptsPath: string, defaultModelName?: ModelName);
35
+ private initBuiltinChains;
36
+ private static getTokenUsage;
37
+ private getPrompt;
38
+ /**
39
+ * - `name`: Chain name
40
+ * - `template`: Template chain name to copy prompt from
41
+ * - `options`: LLM options
42
+ * - `verbose`: OpenAI verbose parameter
43
+ */
44
+ addChain(name: string, template: string | null, options: ModelOptions, verbose?: boolean): void;
45
+ addExistingChain(chain: SingleActionChain): void;
46
+ callChain(name: string, args: any, tokenUsages: any[]): Promise<import("@langchain/core/utils/types.js").ChainValues>;
47
+ translate(statement: string, language: string, tokenUsages?: any[]): Promise<string>;
48
+ getPrompts(): string;
49
+ }