@agentforge/tools 0.12.4 → 0.12.6

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.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _agentforge_core from '@agentforge/core';
2
2
  import { LogLevel, HumanRequestPriority } from '@agentforge/core';
3
3
  import { z } from 'zod';
4
+ import { Session } from 'neo4j-driver';
4
5
 
5
6
  /**
6
7
  * HTTP Tools Types
@@ -1096,10 +1097,68 @@ interface SlackClientConfig {
1096
1097
  /**
1097
1098
  * Default Slack tools using environment variables
1098
1099
  */
1099
- declare const sendSlackMessage: _agentforge_core.Tool<unknown, unknown>;
1100
- declare const notifySlack: _agentforge_core.Tool<unknown, unknown>;
1101
- declare const getSlackChannels: _agentforge_core.Tool<unknown, unknown>;
1102
- declare const getSlackMessages: _agentforge_core.Tool<unknown, unknown>;
1100
+ declare const sendSlackMessage: _agentforge_core.Tool<{
1101
+ message: string;
1102
+ channel: string;
1103
+ }, {
1104
+ success: boolean;
1105
+ data?: {
1106
+ channel: string | undefined;
1107
+ message: string;
1108
+ timestamp: string | undefined;
1109
+ message_id: string | undefined;
1110
+ } | undefined;
1111
+ error?: string;
1112
+ }>;
1113
+ declare const notifySlack: _agentforge_core.Tool<{
1114
+ message: string;
1115
+ channel: string;
1116
+ mentions?: string[] | undefined;
1117
+ }, {
1118
+ success: boolean;
1119
+ data?: {
1120
+ channel: string | undefined;
1121
+ message: string;
1122
+ mentions: string[];
1123
+ timestamp: string | undefined;
1124
+ notification_id: string | undefined;
1125
+ } | undefined;
1126
+ error?: string;
1127
+ }>;
1128
+ declare const getSlackChannels: _agentforge_core.Tool<{
1129
+ include_private?: boolean | undefined;
1130
+ }, {
1131
+ success: boolean;
1132
+ data?: {
1133
+ count: number;
1134
+ channels: {
1135
+ id: string | undefined;
1136
+ name: string | undefined;
1137
+ is_private: boolean;
1138
+ num_members: number;
1139
+ }[];
1140
+ } | undefined;
1141
+ error?: string;
1142
+ }>;
1143
+ declare const getSlackMessages: _agentforge_core.Tool<{
1144
+ channel: string;
1145
+ limit?: number | undefined;
1146
+ }, {
1147
+ success: boolean;
1148
+ data?: {
1149
+ channel: string;
1150
+ count: number;
1151
+ messages: {
1152
+ user: string;
1153
+ text: string;
1154
+ timestamp: string | undefined;
1155
+ thread_ts: string | undefined;
1156
+ type: string | undefined;
1157
+ subtype: string | undefined;
1158
+ }[];
1159
+ } | undefined;
1160
+ error?: string;
1161
+ }>;
1103
1162
  /**
1104
1163
  * Export all Slack tools
1105
1164
  *
@@ -1107,7 +1166,65 @@ declare const getSlackMessages: _agentforge_core.Tool<unknown, unknown>;
1107
1166
  * - 2 write tools: send-slack-message, notify-slack
1108
1167
  * - 2 read tools: get-slack-channels, get-slack-messages
1109
1168
  */
1110
- declare const slackTools: _agentforge_core.Tool<unknown, unknown>[];
1169
+ declare const slackTools: (_agentforge_core.Tool<{
1170
+ message: string;
1171
+ channel: string;
1172
+ }, {
1173
+ success: boolean;
1174
+ data?: {
1175
+ channel: string | undefined;
1176
+ message: string;
1177
+ timestamp: string | undefined;
1178
+ message_id: string | undefined;
1179
+ } | undefined;
1180
+ error?: string;
1181
+ }> | _agentforge_core.Tool<{
1182
+ message: string;
1183
+ channel: string;
1184
+ mentions?: string[] | undefined;
1185
+ }, {
1186
+ success: boolean;
1187
+ data?: {
1188
+ channel: string | undefined;
1189
+ message: string;
1190
+ mentions: string[];
1191
+ timestamp: string | undefined;
1192
+ notification_id: string | undefined;
1193
+ } | undefined;
1194
+ error?: string;
1195
+ }> | _agentforge_core.Tool<{
1196
+ include_private?: boolean | undefined;
1197
+ }, {
1198
+ success: boolean;
1199
+ data?: {
1200
+ count: number;
1201
+ channels: {
1202
+ id: string | undefined;
1203
+ name: string | undefined;
1204
+ is_private: boolean;
1205
+ num_members: number;
1206
+ }[];
1207
+ } | undefined;
1208
+ error?: string;
1209
+ }> | _agentforge_core.Tool<{
1210
+ channel: string;
1211
+ limit?: number | undefined;
1212
+ }, {
1213
+ success: boolean;
1214
+ data?: {
1215
+ channel: string;
1216
+ count: number;
1217
+ messages: {
1218
+ user: string;
1219
+ text: string;
1220
+ timestamp: string | undefined;
1221
+ thread_ts: string | undefined;
1222
+ type: string | undefined;
1223
+ subtype: string | undefined;
1224
+ }[];
1225
+ } | undefined;
1226
+ error?: string;
1227
+ }>)[];
1111
1228
  /**
1112
1229
  * Create Slack tools with custom configuration
1113
1230
  *
@@ -1145,10 +1262,68 @@ declare const slackTools: _agentforge_core.Tool<unknown, unknown>[];
1145
1262
  * ```
1146
1263
  */
1147
1264
  declare function createSlackTools(config?: SlackToolsConfig): {
1148
- sendMessage: _agentforge_core.Tool<unknown, unknown>;
1149
- notify: _agentforge_core.Tool<unknown, unknown>;
1150
- getChannels: _agentforge_core.Tool<unknown, unknown>;
1151
- getMessages: _agentforge_core.Tool<unknown, unknown>;
1265
+ sendMessage: _agentforge_core.Tool<{
1266
+ message: string;
1267
+ channel: string;
1268
+ }, {
1269
+ success: boolean;
1270
+ data?: {
1271
+ channel: string | undefined;
1272
+ message: string;
1273
+ timestamp: string | undefined;
1274
+ message_id: string | undefined;
1275
+ } | undefined;
1276
+ error?: string;
1277
+ }>;
1278
+ notify: _agentforge_core.Tool<{
1279
+ message: string;
1280
+ channel: string;
1281
+ mentions?: string[] | undefined;
1282
+ }, {
1283
+ success: boolean;
1284
+ data?: {
1285
+ channel: string | undefined;
1286
+ message: string;
1287
+ mentions: string[];
1288
+ timestamp: string | undefined;
1289
+ notification_id: string | undefined;
1290
+ } | undefined;
1291
+ error?: string;
1292
+ }>;
1293
+ getChannels: _agentforge_core.Tool<{
1294
+ include_private?: boolean | undefined;
1295
+ }, {
1296
+ success: boolean;
1297
+ data?: {
1298
+ count: number;
1299
+ channels: {
1300
+ id: string | undefined;
1301
+ name: string | undefined;
1302
+ is_private: boolean;
1303
+ num_members: number;
1304
+ }[];
1305
+ } | undefined;
1306
+ error?: string;
1307
+ }>;
1308
+ getMessages: _agentforge_core.Tool<{
1309
+ channel: string;
1310
+ limit?: number | undefined;
1311
+ }, {
1312
+ success: boolean;
1313
+ data?: {
1314
+ channel: string;
1315
+ count: number;
1316
+ messages: {
1317
+ user: string;
1318
+ text: string;
1319
+ timestamp: string | undefined;
1320
+ thread_ts: string | undefined;
1321
+ type: string | undefined;
1322
+ subtype: string | undefined;
1323
+ }[];
1324
+ } | undefined;
1325
+ error?: string;
1326
+ }>;
1152
1327
  };
1153
1328
 
1154
1329
  /**
@@ -1192,13 +1367,35 @@ interface ConfluenceAuth {
1192
1367
  /**
1193
1368
  * Default Confluence tools using environment variables
1194
1369
  */
1195
- declare const searchConfluence: _agentforge_core.Tool<unknown, unknown>;
1196
- declare const getConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1197
- declare const listConfluenceSpaces: _agentforge_core.Tool<unknown, unknown>;
1198
- declare const getSpacePages: _agentforge_core.Tool<unknown, unknown>;
1199
- declare const createConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1200
- declare const updateConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1201
- declare const archiveConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1370
+ declare const searchConfluence: _agentforge_core.Tool<{
1371
+ query: string;
1372
+ limit?: number | undefined;
1373
+ }, string>;
1374
+ declare const getConfluencePage: _agentforge_core.Tool<{
1375
+ page_id: string;
1376
+ }, string>;
1377
+ declare const listConfluenceSpaces: _agentforge_core.Tool<{
1378
+ limit?: number | undefined;
1379
+ }, string>;
1380
+ declare const getSpacePages: _agentforge_core.Tool<{
1381
+ space_key: string;
1382
+ limit?: number | undefined;
1383
+ }, string>;
1384
+ declare const createConfluencePage: _agentforge_core.Tool<{
1385
+ title: string;
1386
+ content: string;
1387
+ space_key: string;
1388
+ parent_page_id?: string | undefined;
1389
+ }, string>;
1390
+ declare const updateConfluencePage: _agentforge_core.Tool<{
1391
+ title: string;
1392
+ content: string;
1393
+ page_id: string;
1394
+ }, string>;
1395
+ declare const archiveConfluencePage: _agentforge_core.Tool<{
1396
+ page_id: string;
1397
+ reason?: string | undefined;
1398
+ }, string>;
1202
1399
  /**
1203
1400
  * Export all Confluence tools
1204
1401
  *
@@ -1206,7 +1403,29 @@ declare const archiveConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1206
1403
  * - 4 read tools: search, get-page, list-spaces, get-space-pages
1207
1404
  * - 3 write tools: create-page, update-page, archive-page
1208
1405
  */
1209
- declare const confluenceTools: _agentforge_core.Tool<unknown, unknown>[];
1406
+ declare const confluenceTools: (_agentforge_core.Tool<{
1407
+ query: string;
1408
+ limit?: number | undefined;
1409
+ }, string> | _agentforge_core.Tool<{
1410
+ page_id: string;
1411
+ }, string> | _agentforge_core.Tool<{
1412
+ limit?: number | undefined;
1413
+ }, string> | _agentforge_core.Tool<{
1414
+ space_key: string;
1415
+ limit?: number | undefined;
1416
+ }, string> | _agentforge_core.Tool<{
1417
+ title: string;
1418
+ content: string;
1419
+ space_key: string;
1420
+ parent_page_id?: string | undefined;
1421
+ }, string> | _agentforge_core.Tool<{
1422
+ title: string;
1423
+ content: string;
1424
+ page_id: string;
1425
+ }, string> | _agentforge_core.Tool<{
1426
+ page_id: string;
1427
+ reason?: string | undefined;
1428
+ }, string>)[];
1210
1429
  /**
1211
1430
  * Create Confluence tools with custom configuration
1212
1431
  *
@@ -1240,13 +1459,35 @@ declare const confluenceTools: _agentforge_core.Tool<unknown, unknown>[];
1240
1459
  * ```
1241
1460
  */
1242
1461
  declare function createConfluenceTools(config?: ConfluenceToolsConfig): {
1243
- searchConfluence: _agentforge_core.Tool<unknown, unknown>;
1244
- getConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1245
- listConfluenceSpaces: _agentforge_core.Tool<unknown, unknown>;
1246
- getSpacePages: _agentforge_core.Tool<unknown, unknown>;
1247
- createConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1248
- updateConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1249
- archiveConfluencePage: _agentforge_core.Tool<unknown, unknown>;
1462
+ searchConfluence: _agentforge_core.Tool<{
1463
+ query: string;
1464
+ limit?: number | undefined;
1465
+ }, string>;
1466
+ getConfluencePage: _agentforge_core.Tool<{
1467
+ page_id: string;
1468
+ }, string>;
1469
+ listConfluenceSpaces: _agentforge_core.Tool<{
1470
+ limit?: number | undefined;
1471
+ }, string>;
1472
+ getSpacePages: _agentforge_core.Tool<{
1473
+ space_key: string;
1474
+ limit?: number | undefined;
1475
+ }, string>;
1476
+ createConfluencePage: _agentforge_core.Tool<{
1477
+ title: string;
1478
+ content: string;
1479
+ space_key: string;
1480
+ parent_page_id?: string | undefined;
1481
+ }, string>;
1482
+ updateConfluencePage: _agentforge_core.Tool<{
1483
+ title: string;
1484
+ content: string;
1485
+ page_id: string;
1486
+ }, string>;
1487
+ archiveConfluencePage: _agentforge_core.Tool<{
1488
+ page_id: string;
1489
+ reason?: string | undefined;
1490
+ }, string>;
1250
1491
  };
1251
1492
 
1252
1493
  /**
@@ -2608,6 +2849,1831 @@ declare function createTransformerTools(config?: TransformerToolsConfig): (_agen
2608
2849
  properties: string[];
2609
2850
  }, Record<string, any>>)[];
2610
2851
 
2852
+ /**
2853
+ * Neo4j Tools Types
2854
+ *
2855
+ * Type definitions and schemas for Neo4j graph database tools.
2856
+ */
2857
+
2858
+ /**
2859
+ * Neo4j connection configuration
2860
+ */
2861
+ interface Neo4jConfig {
2862
+ uri: string;
2863
+ username: string;
2864
+ password: string;
2865
+ database?: string;
2866
+ maxConnectionPoolSize?: number;
2867
+ connectionTimeout?: number;
2868
+ }
2869
+ /**
2870
+ * Neo4j query schema
2871
+ */
2872
+ declare const neo4jQuerySchema: z.ZodObject<{
2873
+ cypher: z.ZodString;
2874
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2875
+ database: z.ZodOptional<z.ZodString>;
2876
+ }, "strip", z.ZodTypeAny, {
2877
+ cypher: string;
2878
+ parameters?: Record<string, any> | undefined;
2879
+ database?: string | undefined;
2880
+ }, {
2881
+ cypher: string;
2882
+ parameters?: Record<string, any> | undefined;
2883
+ database?: string | undefined;
2884
+ }>;
2885
+ /**
2886
+ * Neo4j get schema input schema
2887
+ */
2888
+ declare const neo4jGetSchemaSchema: z.ZodObject<{
2889
+ database: z.ZodOptional<z.ZodString>;
2890
+ }, "strip", z.ZodTypeAny, {
2891
+ database?: string | undefined;
2892
+ }, {
2893
+ database?: string | undefined;
2894
+ }>;
2895
+ /**
2896
+ * Neo4j find nodes schema
2897
+ */
2898
+ declare const neo4jFindNodesSchema: z.ZodObject<{
2899
+ label: z.ZodString;
2900
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2901
+ limit: z.ZodDefault<z.ZodNumber>;
2902
+ database: z.ZodOptional<z.ZodString>;
2903
+ }, "strip", z.ZodTypeAny, {
2904
+ limit: number;
2905
+ label: string;
2906
+ properties?: Record<string, any> | undefined;
2907
+ database?: string | undefined;
2908
+ }, {
2909
+ label: string;
2910
+ limit?: number | undefined;
2911
+ properties?: Record<string, any> | undefined;
2912
+ database?: string | undefined;
2913
+ }>;
2914
+ /**
2915
+ * Neo4j traverse schema
2916
+ */
2917
+ declare const neo4jTraverseSchema: z.ZodObject<{
2918
+ startNodeId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
2919
+ relationshipType: z.ZodOptional<z.ZodString>;
2920
+ direction: z.ZodDefault<z.ZodEnum<["outgoing", "incoming", "both"]>>;
2921
+ maxDepth: z.ZodDefault<z.ZodNumber>;
2922
+ limit: z.ZodDefault<z.ZodNumber>;
2923
+ database: z.ZodOptional<z.ZodString>;
2924
+ }, "strip", z.ZodTypeAny, {
2925
+ limit: number;
2926
+ startNodeId: string | number;
2927
+ direction: "outgoing" | "incoming" | "both";
2928
+ maxDepth: number;
2929
+ database?: string | undefined;
2930
+ relationshipType?: string | undefined;
2931
+ }, {
2932
+ startNodeId: string | number;
2933
+ limit?: number | undefined;
2934
+ database?: string | undefined;
2935
+ relationshipType?: string | undefined;
2936
+ direction?: "outgoing" | "incoming" | "both" | undefined;
2937
+ maxDepth?: number | undefined;
2938
+ }>;
2939
+ /**
2940
+ * Neo4j vector search schema
2941
+ */
2942
+ declare const neo4jVectorSearchSchema: z.ZodObject<{
2943
+ indexName: z.ZodString;
2944
+ queryVector: z.ZodArray<z.ZodNumber, "many">;
2945
+ limit: z.ZodDefault<z.ZodNumber>;
2946
+ database: z.ZodOptional<z.ZodString>;
2947
+ }, "strip", z.ZodTypeAny, {
2948
+ limit: number;
2949
+ indexName: string;
2950
+ queryVector: number[];
2951
+ database?: string | undefined;
2952
+ }, {
2953
+ indexName: string;
2954
+ queryVector: number[];
2955
+ limit?: number | undefined;
2956
+ database?: string | undefined;
2957
+ }>;
2958
+ /**
2959
+ * Neo4j vector search with embedding schema
2960
+ */
2961
+ declare const neo4jVectorSearchWithEmbeddingSchema: z.ZodObject<{
2962
+ indexName: z.ZodString;
2963
+ queryText: z.ZodString;
2964
+ limit: z.ZodDefault<z.ZodNumber>;
2965
+ model: z.ZodOptional<z.ZodString>;
2966
+ database: z.ZodOptional<z.ZodString>;
2967
+ }, "strip", z.ZodTypeAny, {
2968
+ limit: number;
2969
+ indexName: string;
2970
+ queryText: string;
2971
+ database?: string | undefined;
2972
+ model?: string | undefined;
2973
+ }, {
2974
+ indexName: string;
2975
+ queryText: string;
2976
+ limit?: number | undefined;
2977
+ database?: string | undefined;
2978
+ model?: string | undefined;
2979
+ }>;
2980
+ /**
2981
+ * Neo4j create node with embedding schema
2982
+ */
2983
+ declare const neo4jCreateNodeWithEmbeddingSchema: z.ZodObject<{
2984
+ label: z.ZodString;
2985
+ properties: z.ZodRecord<z.ZodString, z.ZodAny>;
2986
+ textProperty: z.ZodString;
2987
+ embeddingProperty: z.ZodDefault<z.ZodString>;
2988
+ model: z.ZodOptional<z.ZodString>;
2989
+ database: z.ZodOptional<z.ZodString>;
2990
+ }, "strip", z.ZodTypeAny, {
2991
+ properties: Record<string, any>;
2992
+ label: string;
2993
+ textProperty: string;
2994
+ embeddingProperty: string;
2995
+ database?: string | undefined;
2996
+ model?: string | undefined;
2997
+ }, {
2998
+ properties: Record<string, any>;
2999
+ label: string;
3000
+ textProperty: string;
3001
+ database?: string | undefined;
3002
+ model?: string | undefined;
3003
+ embeddingProperty?: string | undefined;
3004
+ }>;
3005
+ /**
3006
+ * Neo4j node result
3007
+ */
3008
+ interface Neo4jNode {
3009
+ identity: string | number;
3010
+ labels: string[];
3011
+ properties: Record<string, any>;
3012
+ }
3013
+ /**
3014
+ * Neo4j relationship result
3015
+ */
3016
+ interface Neo4jRelationship {
3017
+ identity: string | number;
3018
+ type: string;
3019
+ start: string | number;
3020
+ end: string | number;
3021
+ properties: Record<string, any>;
3022
+ }
3023
+ /**
3024
+ * Neo4j path result
3025
+ */
3026
+ interface Neo4jPath {
3027
+ start: Neo4jNode;
3028
+ end: Neo4jNode;
3029
+ segments: Array<{
3030
+ start: Neo4jNode;
3031
+ relationship: Neo4jRelationship;
3032
+ end: Neo4jNode;
3033
+ }>;
3034
+ length: number;
3035
+ }
3036
+ /**
3037
+ * Neo4j schema information
3038
+ */
3039
+ interface Neo4jSchema {
3040
+ nodeLabels: string[];
3041
+ relationshipTypes: string[];
3042
+ propertyKeys: string[];
3043
+ constraints: Array<{
3044
+ label?: string;
3045
+ type: string;
3046
+ properties: string[];
3047
+ }>;
3048
+ indexes: Array<{
3049
+ label?: string;
3050
+ type: string;
3051
+ properties: string[];
3052
+ }>;
3053
+ }
3054
+ /**
3055
+ * Neo4j tools configuration
3056
+ */
3057
+ interface Neo4jToolsConfig {
3058
+ uri?: string;
3059
+ username?: string;
3060
+ password?: string;
3061
+ database?: string;
3062
+ maxConnectionPoolSize?: number;
3063
+ connectionTimeout?: number;
3064
+ }
3065
+
3066
+ /**
3067
+ * Neo4j Connection Pool Management
3068
+ *
3069
+ * Manages Neo4j driver connections with pooling and health checks.
3070
+ */
3071
+
3072
+ /**
3073
+ * Neo4j connection pool singleton
3074
+ */
3075
+ declare class Neo4jConnectionPool {
3076
+ private driver;
3077
+ private config;
3078
+ /**
3079
+ * Initialize the connection pool
3080
+ */
3081
+ initialize(config: Neo4jConfig): Promise<void>;
3082
+ /**
3083
+ * Verify connectivity to Neo4j
3084
+ */
3085
+ verifyConnectivity(): Promise<void>;
3086
+ /**
3087
+ * Get a session for executing queries
3088
+ */
3089
+ getSession(database?: string): Session;
3090
+ /**
3091
+ * Execute a query with automatic session management
3092
+ */
3093
+ executeQuery<T = any>(cypher: string, parameters?: Record<string, any>, database?: string): Promise<T[]>;
3094
+ /**
3095
+ * Execute a read query
3096
+ */
3097
+ executeReadQuery<T = any>(cypher: string, parameters?: Record<string, any>, database?: string): Promise<T[]>;
3098
+ /**
3099
+ * Execute a write query
3100
+ */
3101
+ executeWriteQuery<T = any>(cypher: string, parameters?: Record<string, any>, database?: string): Promise<T[]>;
3102
+ /**
3103
+ * Check if driver is initialized
3104
+ */
3105
+ isInitialized(): boolean;
3106
+ /**
3107
+ * Get current configuration
3108
+ */
3109
+ getConfig(): Neo4jConfig | null;
3110
+ /**
3111
+ * Close the connection pool
3112
+ */
3113
+ close(): Promise<void>;
3114
+ }
3115
+ /**
3116
+ * Global connection pool instance
3117
+ */
3118
+ declare const neo4jPool: Neo4jConnectionPool;
3119
+ /**
3120
+ * Initialize Neo4j connection from environment variables
3121
+ */
3122
+ declare function initializeFromEnv(): Promise<void>;
3123
+
3124
+ /**
3125
+ * Embedding Generation Types
3126
+ *
3127
+ * Types and interfaces for embedding generation providers
3128
+ */
3129
+ /**
3130
+ * Supported embedding providers
3131
+ */
3132
+ type EmbeddingProvider = 'openai' | 'cohere' | 'huggingface' | 'voyage' | 'ollama';
3133
+ /**
3134
+ * Configuration for embedding generation
3135
+ */
3136
+ interface EmbeddingConfig {
3137
+ provider: EmbeddingProvider;
3138
+ model: string;
3139
+ apiKey: string;
3140
+ dimensions?: number;
3141
+ }
3142
+ /**
3143
+ * Result from embedding generation
3144
+ */
3145
+ interface EmbeddingResult {
3146
+ embedding: number[];
3147
+ model: string;
3148
+ dimensions: number;
3149
+ usage?: {
3150
+ promptTokens: number;
3151
+ totalTokens: number;
3152
+ };
3153
+ }
3154
+ /**
3155
+ * Batch embedding result
3156
+ */
3157
+ interface BatchEmbeddingResult {
3158
+ embeddings: number[][];
3159
+ model: string;
3160
+ dimensions: number;
3161
+ usage?: {
3162
+ promptTokens: number;
3163
+ totalTokens: number;
3164
+ };
3165
+ }
3166
+ /**
3167
+ * Base interface for embedding providers
3168
+ */
3169
+ interface IEmbeddingProvider {
3170
+ readonly name: EmbeddingProvider;
3171
+ readonly defaultModel: string;
3172
+ /**
3173
+ * Check if provider is available (API key configured)
3174
+ */
3175
+ isAvailable(): boolean;
3176
+ /**
3177
+ * Generate embedding for a single text
3178
+ */
3179
+ generateEmbedding(text: string, model?: string): Promise<EmbeddingResult>;
3180
+ /**
3181
+ * Generate embeddings for multiple texts (batch)
3182
+ */
3183
+ generateBatchEmbeddings(texts: string[], model?: string): Promise<BatchEmbeddingResult>;
3184
+ }
3185
+ /**
3186
+ * Retry configuration for embedding API calls
3187
+ */
3188
+ interface EmbeddingRetryConfig {
3189
+ maxRetries: number;
3190
+ initialDelay: number;
3191
+ maxDelay: number;
3192
+ backoffMultiplier: number;
3193
+ }
3194
+
3195
+ /**
3196
+ * Embedding Utilities
3197
+ *
3198
+ * Utility functions for embedding generation
3199
+ */
3200
+
3201
+ /**
3202
+ * Default retry configuration for embedding API calls
3203
+ */
3204
+ declare const DEFAULT_RETRY_CONFIG: EmbeddingRetryConfig;
3205
+ /**
3206
+ * Check if error is retryable (network errors, timeouts, 5xx errors, rate limits)
3207
+ */
3208
+ declare function isRetryableError(error: any): boolean;
3209
+ /**
3210
+ * Retry an async function with exponential backoff
3211
+ */
3212
+ declare function retryWithBackoff<T>(fn: () => Promise<T>, config?: EmbeddingRetryConfig): Promise<T>;
3213
+ /**
3214
+ * Get OpenAI API key from environment
3215
+ */
3216
+ declare function getOpenAIApiKey(): string | undefined;
3217
+ /**
3218
+ * Get Cohere API key from environment
3219
+ */
3220
+ declare function getCohereApiKey(): string | undefined;
3221
+ /**
3222
+ * Get HuggingFace API key from environment
3223
+ */
3224
+ declare function getHuggingFaceApiKey(): string | undefined;
3225
+ /**
3226
+ * Get Voyage AI API key from environment
3227
+ */
3228
+ declare function getVoyageApiKey(): string | undefined;
3229
+ /**
3230
+ * Get Ollama base URL from environment (defaults to localhost)
3231
+ */
3232
+ declare function getOllamaBaseUrl(): string;
3233
+ /**
3234
+ * Get embedding provider from environment (defaults to 'openai')
3235
+ */
3236
+ declare function getEmbeddingProvider(): string;
3237
+ /**
3238
+ * Get embedding model from environment
3239
+ */
3240
+ declare function getEmbeddingModel(): string | undefined;
3241
+ /**
3242
+ * Validate text for embedding generation
3243
+ */
3244
+ declare function validateText(text: string): void;
3245
+ /**
3246
+ * Validate batch of texts
3247
+ */
3248
+ declare function validateBatch(texts: string[]): void;
3249
+
3250
+ /**
3251
+ * Embedding Manager
3252
+ *
3253
+ * Manages embedding generation across different providers
3254
+ */
3255
+
3256
+ /**
3257
+ * Singleton embedding manager
3258
+ */
3259
+ declare class EmbeddingManager {
3260
+ private provider;
3261
+ private config;
3262
+ /**
3263
+ * Initialize with configuration
3264
+ */
3265
+ initialize(config: EmbeddingConfig): void;
3266
+ /**
3267
+ * Initialize from environment variables
3268
+ */
3269
+ initializeFromEnv(): void;
3270
+ /**
3271
+ * Check if manager is initialized
3272
+ */
3273
+ isInitialized(): boolean;
3274
+ /**
3275
+ * Get current provider
3276
+ */
3277
+ getProvider(): IEmbeddingProvider;
3278
+ /**
3279
+ * Get current configuration
3280
+ */
3281
+ getConfig(): EmbeddingConfig;
3282
+ /**
3283
+ * Generate embedding for a single text
3284
+ */
3285
+ generateEmbedding(text: string, model?: string): Promise<EmbeddingResult>;
3286
+ /**
3287
+ * Generate embeddings for multiple texts (batch)
3288
+ */
3289
+ generateBatchEmbeddings(texts: string[], model?: string): Promise<BatchEmbeddingResult>;
3290
+ /**
3291
+ * Get default model for a provider
3292
+ */
3293
+ private getDefaultModel;
3294
+ /**
3295
+ * Create a provider instance
3296
+ */
3297
+ private createProvider;
3298
+ /**
3299
+ * Reset the manager (for testing)
3300
+ */
3301
+ reset(): void;
3302
+ }
3303
+ /**
3304
+ * Singleton instance
3305
+ */
3306
+ declare const embeddingManager: EmbeddingManager;
3307
+ /**
3308
+ * Initialize embedding manager from environment variables
3309
+ */
3310
+ declare function initializeEmbeddings(): void;
3311
+ /**
3312
+ * Initialize embedding manager with custom configuration
3313
+ */
3314
+ declare function initializeEmbeddingsWithConfig(config: EmbeddingConfig): void;
3315
+ /**
3316
+ * Generate embedding for a single text
3317
+ */
3318
+ declare function generateEmbedding(text: string, model?: string): Promise<EmbeddingResult>;
3319
+ /**
3320
+ * Generate embeddings for multiple texts (batch)
3321
+ */
3322
+ declare function generateBatchEmbeddings(texts: string[], model?: string): Promise<BatchEmbeddingResult>;
3323
+
3324
+ /**
3325
+ * OpenAI Embedding Provider
3326
+ *
3327
+ * Generate embeddings using OpenAI's embedding models.
3328
+ * Requires OPENAI_API_KEY environment variable.
3329
+ * Get your API key at: https://platform.openai.com/api-keys
3330
+ */
3331
+
3332
+ /**
3333
+ * OpenAI embedding provider implementation
3334
+ */
3335
+ declare class OpenAIEmbeddingProvider implements IEmbeddingProvider {
3336
+ readonly name: "openai";
3337
+ readonly defaultModel = "text-embedding-3-small";
3338
+ private apiKey;
3339
+ private readonly baseURL;
3340
+ constructor(apiKey?: string);
3341
+ /**
3342
+ * Check if OpenAI is available (API key is set)
3343
+ */
3344
+ isAvailable(): boolean;
3345
+ /**
3346
+ * Generate embedding for a single text
3347
+ */
3348
+ generateEmbedding(text: string, model?: string): Promise<EmbeddingResult>;
3349
+ /**
3350
+ * Generate embeddings for multiple texts (batch)
3351
+ */
3352
+ generateBatchEmbeddings(texts: string[], model?: string): Promise<BatchEmbeddingResult>;
3353
+ }
3354
+
3355
+ /**
3356
+ * Neo4j Query Tool
3357
+ *
3358
+ * Execute arbitrary Cypher queries against Neo4j database.
3359
+ */
3360
+ /**
3361
+ * Create Neo4j query tool
3362
+ */
3363
+ declare function createNeo4jQueryTool(): _agentforge_core.Tool<{
3364
+ cypher: string;
3365
+ parameters?: Record<string, any> | undefined;
3366
+ database?: string | undefined;
3367
+ }, {
3368
+ success: boolean;
3369
+ error: string;
3370
+ data?: undefined;
3371
+ recordCount?: undefined;
3372
+ summary?: undefined;
3373
+ query?: undefined;
3374
+ } | {
3375
+ success: boolean;
3376
+ data: any[];
3377
+ recordCount: number;
3378
+ summary: {
3379
+ query: string;
3380
+ parameters: Record<string, any> | undefined;
3381
+ counters: {
3382
+ nodesCreated: number;
3383
+ nodesDeleted: number;
3384
+ relationshipsCreated: number;
3385
+ relationshipsDeleted: number;
3386
+ propertiesSet: number;
3387
+ };
3388
+ };
3389
+ error?: undefined;
3390
+ query?: undefined;
3391
+ } | {
3392
+ success: boolean;
3393
+ error: string;
3394
+ query: string;
3395
+ data?: undefined;
3396
+ recordCount?: undefined;
3397
+ summary?: undefined;
3398
+ }>;
3399
+
3400
+ /**
3401
+ * Neo4j Get Schema Tool
3402
+ *
3403
+ * Introspect the Neo4j graph schema to understand structure.
3404
+ */
3405
+ /**
3406
+ * Create Neo4j get schema tool
3407
+ */
3408
+ declare function createNeo4jGetSchemaTool(): _agentforge_core.Tool<{
3409
+ database?: string | undefined;
3410
+ }, {
3411
+ success: boolean;
3412
+ error: string;
3413
+ schema?: undefined;
3414
+ summary?: undefined;
3415
+ } | {
3416
+ success: boolean;
3417
+ schema: {
3418
+ nodeLabels: any[];
3419
+ relationshipTypes: any[];
3420
+ propertyKeys: any[];
3421
+ constraints: {
3422
+ name: any;
3423
+ type: any;
3424
+ entityType: any;
3425
+ labelsOrTypes: any;
3426
+ properties: any;
3427
+ }[];
3428
+ indexes: {
3429
+ name: any;
3430
+ type: any;
3431
+ entityType: any;
3432
+ labelsOrTypes: any;
3433
+ properties: any;
3434
+ }[];
3435
+ };
3436
+ summary: {
3437
+ totalLabels: number;
3438
+ totalRelationshipTypes: number;
3439
+ totalPropertyKeys: number;
3440
+ totalConstraints: number;
3441
+ totalIndexes: number;
3442
+ };
3443
+ error?: undefined;
3444
+ }>;
3445
+
3446
+ /**
3447
+ * Neo4j Find Nodes Tool
3448
+ *
3449
+ * Find nodes by label and properties.
3450
+ */
3451
+ /**
3452
+ * Create Neo4j find nodes tool
3453
+ */
3454
+ declare function createNeo4jFindNodesTool(): _agentforge_core.Tool<{
3455
+ label: string;
3456
+ limit?: number | undefined;
3457
+ properties?: Record<string, any> | undefined;
3458
+ database?: string | undefined;
3459
+ }, {
3460
+ success: boolean;
3461
+ error: string;
3462
+ nodes?: undefined;
3463
+ count?: undefined;
3464
+ query?: undefined;
3465
+ } | {
3466
+ success: boolean;
3467
+ nodes: any[];
3468
+ count: number;
3469
+ query: {
3470
+ label: string;
3471
+ properties: Record<string, any> | undefined;
3472
+ limit: number | undefined;
3473
+ };
3474
+ error?: undefined;
3475
+ } | {
3476
+ success: boolean;
3477
+ error: string;
3478
+ query: {
3479
+ label: string;
3480
+ properties: Record<string, any> | undefined;
3481
+ limit?: undefined;
3482
+ };
3483
+ nodes?: undefined;
3484
+ count?: undefined;
3485
+ }>;
3486
+
3487
+ /**
3488
+ * Neo4j Traverse Tool
3489
+ *
3490
+ * Traverse the graph from a starting node following relationships.
3491
+ */
3492
+ /**
3493
+ * Create Neo4j traverse tool
3494
+ */
3495
+ declare function createNeo4jTraverseTool(): _agentforge_core.Tool<{
3496
+ startNodeId: string | number;
3497
+ limit?: number | undefined;
3498
+ database?: string | undefined;
3499
+ relationshipType?: string | undefined;
3500
+ direction?: "outgoing" | "incoming" | "both" | undefined;
3501
+ maxDepth?: number | undefined;
3502
+ }, {
3503
+ success: boolean;
3504
+ error: string;
3505
+ paths?: undefined;
3506
+ count?: undefined;
3507
+ query?: undefined;
3508
+ } | {
3509
+ success: boolean;
3510
+ paths: {
3511
+ start: any;
3512
+ end: any;
3513
+ relationships: any;
3514
+ depth: any;
3515
+ }[];
3516
+ count: number;
3517
+ query: {
3518
+ startNodeId: string | number;
3519
+ relationshipType: string | undefined;
3520
+ direction: "outgoing" | "incoming" | "both" | undefined;
3521
+ maxDepth: number | undefined;
3522
+ };
3523
+ error?: undefined;
3524
+ } | {
3525
+ success: boolean;
3526
+ error: string;
3527
+ query: {
3528
+ startNodeId: string | number;
3529
+ relationshipType: string | undefined;
3530
+ direction: "outgoing" | "incoming" | "both" | undefined;
3531
+ maxDepth?: undefined;
3532
+ };
3533
+ paths?: undefined;
3534
+ count?: undefined;
3535
+ }>;
3536
+
3537
+ /**
3538
+ * Neo4j Vector Search Tool
3539
+ *
3540
+ * Perform semantic search using vector indexes for GraphRAG applications.
3541
+ */
3542
+ /**
3543
+ * Create Neo4j vector search tool
3544
+ */
3545
+ declare function createNeo4jVectorSearchTool(): _agentforge_core.Tool<{
3546
+ indexName: string;
3547
+ queryVector: number[];
3548
+ limit?: number | undefined;
3549
+ database?: string | undefined;
3550
+ }, {
3551
+ success: boolean;
3552
+ error: string;
3553
+ results?: undefined;
3554
+ count?: undefined;
3555
+ query?: undefined;
3556
+ } | {
3557
+ success: boolean;
3558
+ results: {
3559
+ node: any;
3560
+ score: any;
3561
+ }[];
3562
+ count: number;
3563
+ query: {
3564
+ indexName: string;
3565
+ vectorDimension: number;
3566
+ limit: number | undefined;
3567
+ };
3568
+ error?: undefined;
3569
+ } | {
3570
+ success: boolean;
3571
+ error: string;
3572
+ query: {
3573
+ indexName: string;
3574
+ vectorDimension: number;
3575
+ limit?: undefined;
3576
+ };
3577
+ results?: undefined;
3578
+ count?: undefined;
3579
+ }>;
3580
+
3581
+ /**
3582
+ * Neo4j Vector Search with Embedding Tool
3583
+ *
3584
+ * Perform semantic search by automatically generating embeddings from text.
3585
+ * This tool combines embedding generation with vector search for easier GraphRAG.
3586
+ */
3587
+ /**
3588
+ * Create Neo4j vector search with embedding tool
3589
+ */
3590
+ declare function createNeo4jVectorSearchWithEmbeddingTool(): _agentforge_core.Tool<{
3591
+ indexName: string;
3592
+ queryText: string;
3593
+ limit?: number | undefined;
3594
+ database?: string | undefined;
3595
+ model?: string | undefined;
3596
+ }, {
3597
+ success: boolean;
3598
+ error: string;
3599
+ results?: undefined;
3600
+ count?: undefined;
3601
+ query?: undefined;
3602
+ embedding?: undefined;
3603
+ } | {
3604
+ success: boolean;
3605
+ results: {
3606
+ node: any;
3607
+ score: any;
3608
+ }[];
3609
+ count: number;
3610
+ query: {
3611
+ text: string;
3612
+ indexName: string;
3613
+ embeddingModel: string;
3614
+ vectorDimension: number;
3615
+ limit: number | undefined;
3616
+ };
3617
+ embedding: {
3618
+ model: string;
3619
+ dimensions: number;
3620
+ usage: {
3621
+ promptTokens: number;
3622
+ totalTokens: number;
3623
+ } | undefined;
3624
+ };
3625
+ error?: undefined;
3626
+ } | {
3627
+ success: boolean;
3628
+ error: string;
3629
+ query: {
3630
+ text: string;
3631
+ indexName: string;
3632
+ embeddingModel?: undefined;
3633
+ vectorDimension?: undefined;
3634
+ limit?: undefined;
3635
+ };
3636
+ results?: undefined;
3637
+ count?: undefined;
3638
+ embedding?: undefined;
3639
+ }>;
3640
+
3641
+ /**
3642
+ * Neo4j Create Node with Embedding Tool
3643
+ *
3644
+ * Create a node with automatic embedding generation from text content.
3645
+ * This tool simplifies GraphRAG setup by handling embedding generation automatically.
3646
+ */
3647
+ /**
3648
+ * Create Neo4j create node with embedding tool
3649
+ */
3650
+ declare function createNeo4jCreateNodeWithEmbeddingTool(): _agentforge_core.Tool<{
3651
+ properties: Record<string, any>;
3652
+ label: string;
3653
+ textProperty: string;
3654
+ database?: string | undefined;
3655
+ model?: string | undefined;
3656
+ embeddingProperty?: string | undefined;
3657
+ }, {
3658
+ success: boolean;
3659
+ error: string;
3660
+ node?: undefined;
3661
+ nodeId?: undefined;
3662
+ embedding?: undefined;
3663
+ message?: undefined;
3664
+ } | {
3665
+ success: boolean;
3666
+ node: any;
3667
+ nodeId: any;
3668
+ embedding: {
3669
+ model: string;
3670
+ dimensions: number;
3671
+ property: string;
3672
+ usage: {
3673
+ promptTokens: number;
3674
+ totalTokens: number;
3675
+ } | undefined;
3676
+ };
3677
+ message: string;
3678
+ error?: undefined;
3679
+ }>;
3680
+
3681
+ /**
3682
+ * Default Neo4j query tool instance
3683
+ */
3684
+ declare const neo4jQuery: _agentforge_core.Tool<{
3685
+ cypher: string;
3686
+ parameters?: Record<string, any> | undefined;
3687
+ database?: string | undefined;
3688
+ }, {
3689
+ success: boolean;
3690
+ error: string;
3691
+ data?: undefined;
3692
+ recordCount?: undefined;
3693
+ summary?: undefined;
3694
+ query?: undefined;
3695
+ } | {
3696
+ success: boolean;
3697
+ data: any[];
3698
+ recordCount: number;
3699
+ summary: {
3700
+ query: string;
3701
+ parameters: Record<string, any> | undefined;
3702
+ counters: {
3703
+ nodesCreated: number;
3704
+ nodesDeleted: number;
3705
+ relationshipsCreated: number;
3706
+ relationshipsDeleted: number;
3707
+ propertiesSet: number;
3708
+ };
3709
+ };
3710
+ error?: undefined;
3711
+ query?: undefined;
3712
+ } | {
3713
+ success: boolean;
3714
+ error: string;
3715
+ query: string;
3716
+ data?: undefined;
3717
+ recordCount?: undefined;
3718
+ summary?: undefined;
3719
+ }>;
3720
+ /**
3721
+ * Default Neo4j get schema tool instance
3722
+ */
3723
+ declare const neo4jGetSchema: _agentforge_core.Tool<{
3724
+ database?: string | undefined;
3725
+ }, {
3726
+ success: boolean;
3727
+ error: string;
3728
+ schema?: undefined;
3729
+ summary?: undefined;
3730
+ } | {
3731
+ success: boolean;
3732
+ schema: {
3733
+ nodeLabels: any[];
3734
+ relationshipTypes: any[];
3735
+ propertyKeys: any[];
3736
+ constraints: {
3737
+ name: any;
3738
+ type: any;
3739
+ entityType: any;
3740
+ labelsOrTypes: any;
3741
+ properties: any;
3742
+ }[];
3743
+ indexes: {
3744
+ name: any;
3745
+ type: any;
3746
+ entityType: any;
3747
+ labelsOrTypes: any;
3748
+ properties: any;
3749
+ }[];
3750
+ };
3751
+ summary: {
3752
+ totalLabels: number;
3753
+ totalRelationshipTypes: number;
3754
+ totalPropertyKeys: number;
3755
+ totalConstraints: number;
3756
+ totalIndexes: number;
3757
+ };
3758
+ error?: undefined;
3759
+ }>;
3760
+ /**
3761
+ * Default Neo4j find nodes tool instance
3762
+ */
3763
+ declare const neo4jFindNodes: _agentforge_core.Tool<{
3764
+ label: string;
3765
+ limit?: number | undefined;
3766
+ properties?: Record<string, any> | undefined;
3767
+ database?: string | undefined;
3768
+ }, {
3769
+ success: boolean;
3770
+ error: string;
3771
+ nodes?: undefined;
3772
+ count?: undefined;
3773
+ query?: undefined;
3774
+ } | {
3775
+ success: boolean;
3776
+ nodes: any[];
3777
+ count: number;
3778
+ query: {
3779
+ label: string;
3780
+ properties: Record<string, any> | undefined;
3781
+ limit: number | undefined;
3782
+ };
3783
+ error?: undefined;
3784
+ } | {
3785
+ success: boolean;
3786
+ error: string;
3787
+ query: {
3788
+ label: string;
3789
+ properties: Record<string, any> | undefined;
3790
+ limit?: undefined;
3791
+ };
3792
+ nodes?: undefined;
3793
+ count?: undefined;
3794
+ }>;
3795
+ /**
3796
+ * Default Neo4j traverse tool instance
3797
+ */
3798
+ declare const neo4jTraverse: _agentforge_core.Tool<{
3799
+ startNodeId: string | number;
3800
+ limit?: number | undefined;
3801
+ database?: string | undefined;
3802
+ relationshipType?: string | undefined;
3803
+ direction?: "outgoing" | "incoming" | "both" | undefined;
3804
+ maxDepth?: number | undefined;
3805
+ }, {
3806
+ success: boolean;
3807
+ error: string;
3808
+ paths?: undefined;
3809
+ count?: undefined;
3810
+ query?: undefined;
3811
+ } | {
3812
+ success: boolean;
3813
+ paths: {
3814
+ start: any;
3815
+ end: any;
3816
+ relationships: any;
3817
+ depth: any;
3818
+ }[];
3819
+ count: number;
3820
+ query: {
3821
+ startNodeId: string | number;
3822
+ relationshipType: string | undefined;
3823
+ direction: "outgoing" | "incoming" | "both" | undefined;
3824
+ maxDepth: number | undefined;
3825
+ };
3826
+ error?: undefined;
3827
+ } | {
3828
+ success: boolean;
3829
+ error: string;
3830
+ query: {
3831
+ startNodeId: string | number;
3832
+ relationshipType: string | undefined;
3833
+ direction: "outgoing" | "incoming" | "both" | undefined;
3834
+ maxDepth?: undefined;
3835
+ };
3836
+ paths?: undefined;
3837
+ count?: undefined;
3838
+ }>;
3839
+ /**
3840
+ * Default Neo4j vector search tool instance
3841
+ */
3842
+ declare const neo4jVectorSearch: _agentforge_core.Tool<{
3843
+ indexName: string;
3844
+ queryVector: number[];
3845
+ limit?: number | undefined;
3846
+ database?: string | undefined;
3847
+ }, {
3848
+ success: boolean;
3849
+ error: string;
3850
+ results?: undefined;
3851
+ count?: undefined;
3852
+ query?: undefined;
3853
+ } | {
3854
+ success: boolean;
3855
+ results: {
3856
+ node: any;
3857
+ score: any;
3858
+ }[];
3859
+ count: number;
3860
+ query: {
3861
+ indexName: string;
3862
+ vectorDimension: number;
3863
+ limit: number | undefined;
3864
+ };
3865
+ error?: undefined;
3866
+ } | {
3867
+ success: boolean;
3868
+ error: string;
3869
+ query: {
3870
+ indexName: string;
3871
+ vectorDimension: number;
3872
+ limit?: undefined;
3873
+ };
3874
+ results?: undefined;
3875
+ count?: undefined;
3876
+ }>;
3877
+ /**
3878
+ * Default Neo4j vector search with embedding tool instance
3879
+ */
3880
+ declare const neo4jVectorSearchWithEmbedding: _agentforge_core.Tool<{
3881
+ indexName: string;
3882
+ queryText: string;
3883
+ limit?: number | undefined;
3884
+ database?: string | undefined;
3885
+ model?: string | undefined;
3886
+ }, {
3887
+ success: boolean;
3888
+ error: string;
3889
+ results?: undefined;
3890
+ count?: undefined;
3891
+ query?: undefined;
3892
+ embedding?: undefined;
3893
+ } | {
3894
+ success: boolean;
3895
+ results: {
3896
+ node: any;
3897
+ score: any;
3898
+ }[];
3899
+ count: number;
3900
+ query: {
3901
+ text: string;
3902
+ indexName: string;
3903
+ embeddingModel: string;
3904
+ vectorDimension: number;
3905
+ limit: number | undefined;
3906
+ };
3907
+ embedding: {
3908
+ model: string;
3909
+ dimensions: number;
3910
+ usage: {
3911
+ promptTokens: number;
3912
+ totalTokens: number;
3913
+ } | undefined;
3914
+ };
3915
+ error?: undefined;
3916
+ } | {
3917
+ success: boolean;
3918
+ error: string;
3919
+ query: {
3920
+ text: string;
3921
+ indexName: string;
3922
+ embeddingModel?: undefined;
3923
+ vectorDimension?: undefined;
3924
+ limit?: undefined;
3925
+ };
3926
+ results?: undefined;
3927
+ count?: undefined;
3928
+ embedding?: undefined;
3929
+ }>;
3930
+ /**
3931
+ * Default Neo4j create node with embedding tool instance
3932
+ */
3933
+ declare const neo4jCreateNodeWithEmbedding: _agentforge_core.Tool<{
3934
+ properties: Record<string, any>;
3935
+ label: string;
3936
+ textProperty: string;
3937
+ database?: string | undefined;
3938
+ model?: string | undefined;
3939
+ embeddingProperty?: string | undefined;
3940
+ }, {
3941
+ success: boolean;
3942
+ error: string;
3943
+ node?: undefined;
3944
+ nodeId?: undefined;
3945
+ embedding?: undefined;
3946
+ message?: undefined;
3947
+ } | {
3948
+ success: boolean;
3949
+ node: any;
3950
+ nodeId: any;
3951
+ embedding: {
3952
+ model: string;
3953
+ dimensions: number;
3954
+ property: string;
3955
+ usage: {
3956
+ promptTokens: number;
3957
+ totalTokens: number;
3958
+ } | undefined;
3959
+ };
3960
+ message: string;
3961
+ error?: undefined;
3962
+ }>;
3963
+ /**
3964
+ * All Neo4j tools (including embedding-enabled tools)
3965
+ */
3966
+ declare const neo4jTools: (_agentforge_core.Tool<{
3967
+ cypher: string;
3968
+ parameters?: Record<string, any> | undefined;
3969
+ database?: string | undefined;
3970
+ }, {
3971
+ success: boolean;
3972
+ error: string;
3973
+ data?: undefined;
3974
+ recordCount?: undefined;
3975
+ summary?: undefined;
3976
+ query?: undefined;
3977
+ } | {
3978
+ success: boolean;
3979
+ data: any[];
3980
+ recordCount: number;
3981
+ summary: {
3982
+ query: string;
3983
+ parameters: Record<string, any> | undefined;
3984
+ counters: {
3985
+ nodesCreated: number;
3986
+ nodesDeleted: number;
3987
+ relationshipsCreated: number;
3988
+ relationshipsDeleted: number;
3989
+ propertiesSet: number;
3990
+ };
3991
+ };
3992
+ error?: undefined;
3993
+ query?: undefined;
3994
+ } | {
3995
+ success: boolean;
3996
+ error: string;
3997
+ query: string;
3998
+ data?: undefined;
3999
+ recordCount?: undefined;
4000
+ summary?: undefined;
4001
+ }> | _agentforge_core.Tool<{
4002
+ database?: string | undefined;
4003
+ }, {
4004
+ success: boolean;
4005
+ error: string;
4006
+ schema?: undefined;
4007
+ summary?: undefined;
4008
+ } | {
4009
+ success: boolean;
4010
+ schema: {
4011
+ nodeLabels: any[];
4012
+ relationshipTypes: any[];
4013
+ propertyKeys: any[];
4014
+ constraints: {
4015
+ name: any;
4016
+ type: any;
4017
+ entityType: any;
4018
+ labelsOrTypes: any;
4019
+ properties: any;
4020
+ }[];
4021
+ indexes: {
4022
+ name: any;
4023
+ type: any;
4024
+ entityType: any;
4025
+ labelsOrTypes: any;
4026
+ properties: any;
4027
+ }[];
4028
+ };
4029
+ summary: {
4030
+ totalLabels: number;
4031
+ totalRelationshipTypes: number;
4032
+ totalPropertyKeys: number;
4033
+ totalConstraints: number;
4034
+ totalIndexes: number;
4035
+ };
4036
+ error?: undefined;
4037
+ }> | _agentforge_core.Tool<{
4038
+ label: string;
4039
+ limit?: number | undefined;
4040
+ properties?: Record<string, any> | undefined;
4041
+ database?: string | undefined;
4042
+ }, {
4043
+ success: boolean;
4044
+ error: string;
4045
+ nodes?: undefined;
4046
+ count?: undefined;
4047
+ query?: undefined;
4048
+ } | {
4049
+ success: boolean;
4050
+ nodes: any[];
4051
+ count: number;
4052
+ query: {
4053
+ label: string;
4054
+ properties: Record<string, any> | undefined;
4055
+ limit: number | undefined;
4056
+ };
4057
+ error?: undefined;
4058
+ } | {
4059
+ success: boolean;
4060
+ error: string;
4061
+ query: {
4062
+ label: string;
4063
+ properties: Record<string, any> | undefined;
4064
+ limit?: undefined;
4065
+ };
4066
+ nodes?: undefined;
4067
+ count?: undefined;
4068
+ }> | _agentforge_core.Tool<{
4069
+ startNodeId: string | number;
4070
+ limit?: number | undefined;
4071
+ database?: string | undefined;
4072
+ relationshipType?: string | undefined;
4073
+ direction?: "outgoing" | "incoming" | "both" | undefined;
4074
+ maxDepth?: number | undefined;
4075
+ }, {
4076
+ success: boolean;
4077
+ error: string;
4078
+ paths?: undefined;
4079
+ count?: undefined;
4080
+ query?: undefined;
4081
+ } | {
4082
+ success: boolean;
4083
+ paths: {
4084
+ start: any;
4085
+ end: any;
4086
+ relationships: any;
4087
+ depth: any;
4088
+ }[];
4089
+ count: number;
4090
+ query: {
4091
+ startNodeId: string | number;
4092
+ relationshipType: string | undefined;
4093
+ direction: "outgoing" | "incoming" | "both" | undefined;
4094
+ maxDepth: number | undefined;
4095
+ };
4096
+ error?: undefined;
4097
+ } | {
4098
+ success: boolean;
4099
+ error: string;
4100
+ query: {
4101
+ startNodeId: string | number;
4102
+ relationshipType: string | undefined;
4103
+ direction: "outgoing" | "incoming" | "both" | undefined;
4104
+ maxDepth?: undefined;
4105
+ };
4106
+ paths?: undefined;
4107
+ count?: undefined;
4108
+ }> | _agentforge_core.Tool<{
4109
+ indexName: string;
4110
+ queryVector: number[];
4111
+ limit?: number | undefined;
4112
+ database?: string | undefined;
4113
+ }, {
4114
+ success: boolean;
4115
+ error: string;
4116
+ results?: undefined;
4117
+ count?: undefined;
4118
+ query?: undefined;
4119
+ } | {
4120
+ success: boolean;
4121
+ results: {
4122
+ node: any;
4123
+ score: any;
4124
+ }[];
4125
+ count: number;
4126
+ query: {
4127
+ indexName: string;
4128
+ vectorDimension: number;
4129
+ limit: number | undefined;
4130
+ };
4131
+ error?: undefined;
4132
+ } | {
4133
+ success: boolean;
4134
+ error: string;
4135
+ query: {
4136
+ indexName: string;
4137
+ vectorDimension: number;
4138
+ limit?: undefined;
4139
+ };
4140
+ results?: undefined;
4141
+ count?: undefined;
4142
+ }> | _agentforge_core.Tool<{
4143
+ indexName: string;
4144
+ queryText: string;
4145
+ limit?: number | undefined;
4146
+ database?: string | undefined;
4147
+ model?: string | undefined;
4148
+ }, {
4149
+ success: boolean;
4150
+ error: string;
4151
+ results?: undefined;
4152
+ count?: undefined;
4153
+ query?: undefined;
4154
+ embedding?: undefined;
4155
+ } | {
4156
+ success: boolean;
4157
+ results: {
4158
+ node: any;
4159
+ score: any;
4160
+ }[];
4161
+ count: number;
4162
+ query: {
4163
+ text: string;
4164
+ indexName: string;
4165
+ embeddingModel: string;
4166
+ vectorDimension: number;
4167
+ limit: number | undefined;
4168
+ };
4169
+ embedding: {
4170
+ model: string;
4171
+ dimensions: number;
4172
+ usage: {
4173
+ promptTokens: number;
4174
+ totalTokens: number;
4175
+ } | undefined;
4176
+ };
4177
+ error?: undefined;
4178
+ } | {
4179
+ success: boolean;
4180
+ error: string;
4181
+ query: {
4182
+ text: string;
4183
+ indexName: string;
4184
+ embeddingModel?: undefined;
4185
+ vectorDimension?: undefined;
4186
+ limit?: undefined;
4187
+ };
4188
+ results?: undefined;
4189
+ count?: undefined;
4190
+ embedding?: undefined;
4191
+ }> | _agentforge_core.Tool<{
4192
+ properties: Record<string, any>;
4193
+ label: string;
4194
+ textProperty: string;
4195
+ database?: string | undefined;
4196
+ model?: string | undefined;
4197
+ embeddingProperty?: string | undefined;
4198
+ }, {
4199
+ success: boolean;
4200
+ error: string;
4201
+ node?: undefined;
4202
+ nodeId?: undefined;
4203
+ embedding?: undefined;
4204
+ message?: undefined;
4205
+ } | {
4206
+ success: boolean;
4207
+ node: any;
4208
+ nodeId: any;
4209
+ embedding: {
4210
+ model: string;
4211
+ dimensions: number;
4212
+ property: string;
4213
+ usage: {
4214
+ promptTokens: number;
4215
+ totalTokens: number;
4216
+ } | undefined;
4217
+ };
4218
+ message: string;
4219
+ error?: undefined;
4220
+ }>)[];
4221
+ /**
4222
+ * Core Neo4j tools (without embedding features)
4223
+ */
4224
+ declare const neo4jCoreTools: (_agentforge_core.Tool<{
4225
+ cypher: string;
4226
+ parameters?: Record<string, any> | undefined;
4227
+ database?: string | undefined;
4228
+ }, {
4229
+ success: boolean;
4230
+ error: string;
4231
+ data?: undefined;
4232
+ recordCount?: undefined;
4233
+ summary?: undefined;
4234
+ query?: undefined;
4235
+ } | {
4236
+ success: boolean;
4237
+ data: any[];
4238
+ recordCount: number;
4239
+ summary: {
4240
+ query: string;
4241
+ parameters: Record<string, any> | undefined;
4242
+ counters: {
4243
+ nodesCreated: number;
4244
+ nodesDeleted: number;
4245
+ relationshipsCreated: number;
4246
+ relationshipsDeleted: number;
4247
+ propertiesSet: number;
4248
+ };
4249
+ };
4250
+ error?: undefined;
4251
+ query?: undefined;
4252
+ } | {
4253
+ success: boolean;
4254
+ error: string;
4255
+ query: string;
4256
+ data?: undefined;
4257
+ recordCount?: undefined;
4258
+ summary?: undefined;
4259
+ }> | _agentforge_core.Tool<{
4260
+ database?: string | undefined;
4261
+ }, {
4262
+ success: boolean;
4263
+ error: string;
4264
+ schema?: undefined;
4265
+ summary?: undefined;
4266
+ } | {
4267
+ success: boolean;
4268
+ schema: {
4269
+ nodeLabels: any[];
4270
+ relationshipTypes: any[];
4271
+ propertyKeys: any[];
4272
+ constraints: {
4273
+ name: any;
4274
+ type: any;
4275
+ entityType: any;
4276
+ labelsOrTypes: any;
4277
+ properties: any;
4278
+ }[];
4279
+ indexes: {
4280
+ name: any;
4281
+ type: any;
4282
+ entityType: any;
4283
+ labelsOrTypes: any;
4284
+ properties: any;
4285
+ }[];
4286
+ };
4287
+ summary: {
4288
+ totalLabels: number;
4289
+ totalRelationshipTypes: number;
4290
+ totalPropertyKeys: number;
4291
+ totalConstraints: number;
4292
+ totalIndexes: number;
4293
+ };
4294
+ error?: undefined;
4295
+ }> | _agentforge_core.Tool<{
4296
+ label: string;
4297
+ limit?: number | undefined;
4298
+ properties?: Record<string, any> | undefined;
4299
+ database?: string | undefined;
4300
+ }, {
4301
+ success: boolean;
4302
+ error: string;
4303
+ nodes?: undefined;
4304
+ count?: undefined;
4305
+ query?: undefined;
4306
+ } | {
4307
+ success: boolean;
4308
+ nodes: any[];
4309
+ count: number;
4310
+ query: {
4311
+ label: string;
4312
+ properties: Record<string, any> | undefined;
4313
+ limit: number | undefined;
4314
+ };
4315
+ error?: undefined;
4316
+ } | {
4317
+ success: boolean;
4318
+ error: string;
4319
+ query: {
4320
+ label: string;
4321
+ properties: Record<string, any> | undefined;
4322
+ limit?: undefined;
4323
+ };
4324
+ nodes?: undefined;
4325
+ count?: undefined;
4326
+ }> | _agentforge_core.Tool<{
4327
+ startNodeId: string | number;
4328
+ limit?: number | undefined;
4329
+ database?: string | undefined;
4330
+ relationshipType?: string | undefined;
4331
+ direction?: "outgoing" | "incoming" | "both" | undefined;
4332
+ maxDepth?: number | undefined;
4333
+ }, {
4334
+ success: boolean;
4335
+ error: string;
4336
+ paths?: undefined;
4337
+ count?: undefined;
4338
+ query?: undefined;
4339
+ } | {
4340
+ success: boolean;
4341
+ paths: {
4342
+ start: any;
4343
+ end: any;
4344
+ relationships: any;
4345
+ depth: any;
4346
+ }[];
4347
+ count: number;
4348
+ query: {
4349
+ startNodeId: string | number;
4350
+ relationshipType: string | undefined;
4351
+ direction: "outgoing" | "incoming" | "both" | undefined;
4352
+ maxDepth: number | undefined;
4353
+ };
4354
+ error?: undefined;
4355
+ } | {
4356
+ success: boolean;
4357
+ error: string;
4358
+ query: {
4359
+ startNodeId: string | number;
4360
+ relationshipType: string | undefined;
4361
+ direction: "outgoing" | "incoming" | "both" | undefined;
4362
+ maxDepth?: undefined;
4363
+ };
4364
+ paths?: undefined;
4365
+ count?: undefined;
4366
+ }> | _agentforge_core.Tool<{
4367
+ indexName: string;
4368
+ queryVector: number[];
4369
+ limit?: number | undefined;
4370
+ database?: string | undefined;
4371
+ }, {
4372
+ success: boolean;
4373
+ error: string;
4374
+ results?: undefined;
4375
+ count?: undefined;
4376
+ query?: undefined;
4377
+ } | {
4378
+ success: boolean;
4379
+ results: {
4380
+ node: any;
4381
+ score: any;
4382
+ }[];
4383
+ count: number;
4384
+ query: {
4385
+ indexName: string;
4386
+ vectorDimension: number;
4387
+ limit: number | undefined;
4388
+ };
4389
+ error?: undefined;
4390
+ } | {
4391
+ success: boolean;
4392
+ error: string;
4393
+ query: {
4394
+ indexName: string;
4395
+ vectorDimension: number;
4396
+ limit?: undefined;
4397
+ };
4398
+ results?: undefined;
4399
+ count?: undefined;
4400
+ }>)[];
4401
+ /**
4402
+ * Create Neo4j tools with custom configuration
4403
+ */
4404
+ declare function createNeo4jTools(config?: Neo4jToolsConfig, includeEmbeddingTools?: boolean): (_agentforge_core.Tool<{
4405
+ cypher: string;
4406
+ parameters?: Record<string, any> | undefined;
4407
+ database?: string | undefined;
4408
+ }, {
4409
+ success: boolean;
4410
+ error: string;
4411
+ data?: undefined;
4412
+ recordCount?: undefined;
4413
+ summary?: undefined;
4414
+ query?: undefined;
4415
+ } | {
4416
+ success: boolean;
4417
+ data: any[];
4418
+ recordCount: number;
4419
+ summary: {
4420
+ query: string;
4421
+ parameters: Record<string, any> | undefined;
4422
+ counters: {
4423
+ nodesCreated: number;
4424
+ nodesDeleted: number;
4425
+ relationshipsCreated: number;
4426
+ relationshipsDeleted: number;
4427
+ propertiesSet: number;
4428
+ };
4429
+ };
4430
+ error?: undefined;
4431
+ query?: undefined;
4432
+ } | {
4433
+ success: boolean;
4434
+ error: string;
4435
+ query: string;
4436
+ data?: undefined;
4437
+ recordCount?: undefined;
4438
+ summary?: undefined;
4439
+ }> | _agentforge_core.Tool<{
4440
+ database?: string | undefined;
4441
+ }, {
4442
+ success: boolean;
4443
+ error: string;
4444
+ schema?: undefined;
4445
+ summary?: undefined;
4446
+ } | {
4447
+ success: boolean;
4448
+ schema: {
4449
+ nodeLabels: any[];
4450
+ relationshipTypes: any[];
4451
+ propertyKeys: any[];
4452
+ constraints: {
4453
+ name: any;
4454
+ type: any;
4455
+ entityType: any;
4456
+ labelsOrTypes: any;
4457
+ properties: any;
4458
+ }[];
4459
+ indexes: {
4460
+ name: any;
4461
+ type: any;
4462
+ entityType: any;
4463
+ labelsOrTypes: any;
4464
+ properties: any;
4465
+ }[];
4466
+ };
4467
+ summary: {
4468
+ totalLabels: number;
4469
+ totalRelationshipTypes: number;
4470
+ totalPropertyKeys: number;
4471
+ totalConstraints: number;
4472
+ totalIndexes: number;
4473
+ };
4474
+ error?: undefined;
4475
+ }> | _agentforge_core.Tool<{
4476
+ label: string;
4477
+ limit?: number | undefined;
4478
+ properties?: Record<string, any> | undefined;
4479
+ database?: string | undefined;
4480
+ }, {
4481
+ success: boolean;
4482
+ error: string;
4483
+ nodes?: undefined;
4484
+ count?: undefined;
4485
+ query?: undefined;
4486
+ } | {
4487
+ success: boolean;
4488
+ nodes: any[];
4489
+ count: number;
4490
+ query: {
4491
+ label: string;
4492
+ properties: Record<string, any> | undefined;
4493
+ limit: number | undefined;
4494
+ };
4495
+ error?: undefined;
4496
+ } | {
4497
+ success: boolean;
4498
+ error: string;
4499
+ query: {
4500
+ label: string;
4501
+ properties: Record<string, any> | undefined;
4502
+ limit?: undefined;
4503
+ };
4504
+ nodes?: undefined;
4505
+ count?: undefined;
4506
+ }> | _agentforge_core.Tool<{
4507
+ startNodeId: string | number;
4508
+ limit?: number | undefined;
4509
+ database?: string | undefined;
4510
+ relationshipType?: string | undefined;
4511
+ direction?: "outgoing" | "incoming" | "both" | undefined;
4512
+ maxDepth?: number | undefined;
4513
+ }, {
4514
+ success: boolean;
4515
+ error: string;
4516
+ paths?: undefined;
4517
+ count?: undefined;
4518
+ query?: undefined;
4519
+ } | {
4520
+ success: boolean;
4521
+ paths: {
4522
+ start: any;
4523
+ end: any;
4524
+ relationships: any;
4525
+ depth: any;
4526
+ }[];
4527
+ count: number;
4528
+ query: {
4529
+ startNodeId: string | number;
4530
+ relationshipType: string | undefined;
4531
+ direction: "outgoing" | "incoming" | "both" | undefined;
4532
+ maxDepth: number | undefined;
4533
+ };
4534
+ error?: undefined;
4535
+ } | {
4536
+ success: boolean;
4537
+ error: string;
4538
+ query: {
4539
+ startNodeId: string | number;
4540
+ relationshipType: string | undefined;
4541
+ direction: "outgoing" | "incoming" | "both" | undefined;
4542
+ maxDepth?: undefined;
4543
+ };
4544
+ paths?: undefined;
4545
+ count?: undefined;
4546
+ }> | _agentforge_core.Tool<{
4547
+ indexName: string;
4548
+ queryVector: number[];
4549
+ limit?: number | undefined;
4550
+ database?: string | undefined;
4551
+ }, {
4552
+ success: boolean;
4553
+ error: string;
4554
+ results?: undefined;
4555
+ count?: undefined;
4556
+ query?: undefined;
4557
+ } | {
4558
+ success: boolean;
4559
+ results: {
4560
+ node: any;
4561
+ score: any;
4562
+ }[];
4563
+ count: number;
4564
+ query: {
4565
+ indexName: string;
4566
+ vectorDimension: number;
4567
+ limit: number | undefined;
4568
+ };
4569
+ error?: undefined;
4570
+ } | {
4571
+ success: boolean;
4572
+ error: string;
4573
+ query: {
4574
+ indexName: string;
4575
+ vectorDimension: number;
4576
+ limit?: undefined;
4577
+ };
4578
+ results?: undefined;
4579
+ count?: undefined;
4580
+ }> | _agentforge_core.Tool<{
4581
+ indexName: string;
4582
+ queryText: string;
4583
+ limit?: number | undefined;
4584
+ database?: string | undefined;
4585
+ model?: string | undefined;
4586
+ }, {
4587
+ success: boolean;
4588
+ error: string;
4589
+ results?: undefined;
4590
+ count?: undefined;
4591
+ query?: undefined;
4592
+ embedding?: undefined;
4593
+ } | {
4594
+ success: boolean;
4595
+ results: {
4596
+ node: any;
4597
+ score: any;
4598
+ }[];
4599
+ count: number;
4600
+ query: {
4601
+ text: string;
4602
+ indexName: string;
4603
+ embeddingModel: string;
4604
+ vectorDimension: number;
4605
+ limit: number | undefined;
4606
+ };
4607
+ embedding: {
4608
+ model: string;
4609
+ dimensions: number;
4610
+ usage: {
4611
+ promptTokens: number;
4612
+ totalTokens: number;
4613
+ } | undefined;
4614
+ };
4615
+ error?: undefined;
4616
+ } | {
4617
+ success: boolean;
4618
+ error: string;
4619
+ query: {
4620
+ text: string;
4621
+ indexName: string;
4622
+ embeddingModel?: undefined;
4623
+ vectorDimension?: undefined;
4624
+ limit?: undefined;
4625
+ };
4626
+ results?: undefined;
4627
+ count?: undefined;
4628
+ embedding?: undefined;
4629
+ }> | _agentforge_core.Tool<{
4630
+ properties: Record<string, any>;
4631
+ label: string;
4632
+ textProperty: string;
4633
+ database?: string | undefined;
4634
+ model?: string | undefined;
4635
+ embeddingProperty?: string | undefined;
4636
+ }, {
4637
+ success: boolean;
4638
+ error: string;
4639
+ node?: undefined;
4640
+ nodeId?: undefined;
4641
+ embedding?: undefined;
4642
+ message?: undefined;
4643
+ } | {
4644
+ success: boolean;
4645
+ node: any;
4646
+ nodeId: any;
4647
+ embedding: {
4648
+ model: string;
4649
+ dimensions: number;
4650
+ property: string;
4651
+ usage: {
4652
+ promptTokens: number;
4653
+ totalTokens: number;
4654
+ } | undefined;
4655
+ };
4656
+ message: string;
4657
+ error?: undefined;
4658
+ }>)[];
4659
+ /**
4660
+ * Initialize Neo4j tools from environment variables
4661
+ *
4662
+ * Required environment variables:
4663
+ * - NEO4J_URI: Neo4j connection URI (e.g., bolt://localhost:7687)
4664
+ * - NEO4J_USER: Neo4j username
4665
+ * - NEO4J_PASSWORD: Neo4j password
4666
+ *
4667
+ * Optional environment variables:
4668
+ * - NEO4J_DATABASE: Database name (defaults to 'neo4j')
4669
+ *
4670
+ * For embedding-enabled tools, also set:
4671
+ * - OPENAI_API_KEY: OpenAI API key for embedding generation
4672
+ * - EMBEDDING_MODEL: Embedding model to use (defaults to 'text-embedding-3-small')
4673
+ * - EMBEDDING_PROVIDER: Embedding provider (defaults to 'openai')
4674
+ */
4675
+ declare function initializeNeo4jTools(): Promise<void>;
4676
+
2611
4677
  /**
2612
4678
  * File Operations Types
2613
4679
  *
@@ -5369,4 +7435,4 @@ declare const askHumanTool: _agentforge_core.Tool<{
5369
7435
  suggestions?: string[] | undefined;
5370
7436
  }, AskHumanOutput>;
5371
7437
 
5372
- export { type AskHumanInput, AskHumanInputSchema, type AskHumanOutput, type CalculatorInput, CalculatorSchema, type ConfluenceAuth, type ConfluenceToolsConfig, type CreditCardValidatorInput, CreditCardValidatorSchema, type CsvToolsConfig, type CurrentDateTimeInput, CurrentDateTimeSchema, type DateArithmeticInput, DateArithmeticSchema, type DateComparisonInput, DateComparisonSchema, type DateDifferenceInput, DateDifferenceSchema, type DateFormatterInput, DateFormatterSchema, type DateTimeConfig, type DirectoryOperationsConfig, DuckDuckGoProvider, type EmailValidatorInput, EmailValidatorSchema, type FileOperationsConfig, type HtmlParserToolsConfig, HttpMethod, type HttpResponse, type HttpToolsConfig, type IpValidatorInput, IpValidatorSchema, type JsonToolsConfig, type MathFunctionsInput, MathFunctionsSchema, type MathOperationsConfig, type PathUtilitiesConfig, type PhoneValidatorInput, PhoneValidatorSchema, type RandomNumberInput, RandomNumberSchema, type RetryConfig, type ScraperResult, type ScraperToolsConfig, type SearchProvider, type SearchResult, SerperProvider, type SlackClientConfig, type SlackToolsConfig, type StatisticsInput, StatisticsSchema, type StringCaseConverterInput, StringCaseConverterSchema, type StringJoinInput, StringJoinSchema, type StringLengthInput, StringLengthSchema, type StringReplaceInput, StringReplaceSchema, type StringSplitInput, StringSplitSchema, type StringSubstringInput, StringSubstringSchema, type StringTrimInput, StringTrimSchema, type StringUtilitiesConfig, type TransformerToolsConfig, type UrlValidationResult, type UrlValidatorSimpleInput, UrlValidatorSimpleSchema, type UrlValidatorToolsConfig, type UuidValidatorInput, UuidValidatorSchema, type ValidationConfig, type WebSearchInput, type WebSearchOutput, type XmlToolsConfig, archiveConfluencePage, arrayFilter, arrayFilterSchema, arrayGroupBy, arrayGroupBySchema, arrayMap, arrayMapSchema, arraySort, arraySortSchema, askHumanTool, calculator, confluenceTools, createArrayFilterTool, createArrayGroupByTool, createArrayMapTool, createArraySortTool, createAskHumanTool, createCalculatorTool, createConfluencePage, createConfluenceTools, createCreditCardValidatorTool, createCsvGeneratorTool, createCsvParserTool, createCsvToJsonTool, createCsvTools, createCurrentDateTimeTool, createDateArithmeticTool, createDateComparisonTool, createDateDifferenceTool, createDateFormatterTool, createDateTimeTools, createDirectoryCreateTool, createDirectoryDeleteTool, createDirectoryListTool, createDirectoryOperationTools, createDuckDuckGoProvider, createEmailValidatorTool, createExtractImagesTool, createExtractLinksTool, createFileAppendTool, createFileDeleteTool, createFileExistsTool, createFileOperationTools, createFileReaderTool, createFileSearchTool, createFileWriterTool, createHtmlParserTool, createHtmlParserTools, createHttpTools, createIpValidatorTool, createJsonMergeTool, createJsonParserTool, createJsonQueryTool, createJsonStringifyTool, createJsonToCsvTool, createJsonToXmlTool, createJsonTools, createJsonValidatorTool, createMathFunctionsTool, createMathOperationTools, createObjectOmitTool, createObjectPickTool, createPathBasenameTool, createPathDirnameTool, createPathExtensionTool, createPathJoinTool, createPathNormalizeTool, createPathParseTool, createPathRelativeTool, createPathResolveTool, createPathUtilityTools, createPhoneValidatorTool, createRandomNumberTool, createScraperTools, createSerperProvider, createSlackTools, createStatisticsTool, createStringCaseConverterTool, createStringJoinTool, createStringLengthTool, createStringReplaceTool, createStringSplitTool, createStringSubstringTool, createStringTrimTool, createStringUtilityTools, createTransformerTools, createUrlBuilderTool, createUrlQueryParserTool, createUrlValidatorSimpleTool, createUrlValidatorTool, createUrlValidatorTools, createUuidValidatorTool, createValidationTools, createWebScraperTool, createXmlGeneratorTool, createXmlParserTool, createXmlToJsonTool, createXmlTools, creditCardValidator, csvGenerator, csvGeneratorSchema, csvParser, csvParserSchema, csvToJson, csvToJsonSchema, csvTools, currentDateTime, dateArithmetic, dateComparison, dateDifference, dateFormatter, dateTimeTools, directoryCreate, directoryCreateSchema, directoryDelete, directoryDeleteSchema, directoryList, directoryListSchema, directoryOperationTools, emailValidator, extractImages, extractImagesSchema, extractLinks, extractLinksSchema, fileAppend, fileAppendSchema, fileDelete, fileDeleteSchema, fileExists, fileExistsSchema, fileOperationTools, fileReader, fileReaderSchema, fileSearch, fileSearchSchema, fileWriter, fileWriterSchema, getConfluencePage, getSlackChannels, getSlackMessages, getSpacePages, htmlParser, htmlParserSchema, htmlParserTools, httpClient, httpGet, httpGetSchema, httpPost, httpPostSchema, httpRequestSchema, httpTools, ipValidator, jsonMerge, jsonMergeSchema, jsonParser, jsonParserSchema, jsonQuery, jsonQuerySchema, jsonStringify, jsonStringifySchema, jsonToCsv, jsonToCsvSchema, jsonToXml, jsonToXmlSchema, jsonTools, jsonValidator, jsonValidatorSchema, listConfluenceSpaces, mathFunctions, mathOperationTools, notifySlack, objectOmit, objectOmitSchema, objectPick, objectPickSchema, pathBasename, pathBasenameSchema, pathDirname, pathDirnameSchema, pathExtension, pathExtensionSchema, pathJoin, pathJoinSchema, pathNormalize, pathNormalizeSchema, pathParse, pathParseSchema, pathRelative, pathRelativeSchema, pathResolve, pathResolveSchema, pathUtilityTools, phoneValidator, randomNumber, scraperTools, searchConfluence, searchResultSchema, sendSlackMessage, slackTools, statistics, stringCaseConverter, stringJoin, stringLength, stringReplace, stringSplit, stringSubstring, stringTrim, stringUtilityTools, transformerTools, updateConfluencePage, urlBuilder, urlBuilderSchema, urlQueryParser, urlQueryParserSchema, urlValidator, urlValidatorSchema, urlValidatorSimple, urlValidatorTools, uuidValidator, validationTools, webScraper, webScraperSchema, webSearch, webSearchOutputSchema, webSearchSchema, xmlGenerator, xmlGeneratorSchema, xmlParser, xmlParserSchema, xmlToJson, xmlToJsonSchema, xmlTools };
7438
+ export { type AskHumanInput, AskHumanInputSchema, type AskHumanOutput, type BatchEmbeddingResult, type CalculatorInput, CalculatorSchema, type ConfluenceAuth, type ConfluenceToolsConfig, type CreditCardValidatorInput, CreditCardValidatorSchema, type CsvToolsConfig, type CurrentDateTimeInput, CurrentDateTimeSchema, DEFAULT_RETRY_CONFIG, type DateArithmeticInput, DateArithmeticSchema, type DateComparisonInput, DateComparisonSchema, type DateDifferenceInput, DateDifferenceSchema, type DateFormatterInput, DateFormatterSchema, type DateTimeConfig, type DirectoryOperationsConfig, DuckDuckGoProvider, type EmailValidatorInput, EmailValidatorSchema, type EmbeddingConfig, EmbeddingManager, type EmbeddingProvider, type EmbeddingResult, type EmbeddingRetryConfig, type FileOperationsConfig, type HtmlParserToolsConfig, HttpMethod, type HttpResponse, type HttpToolsConfig, type IEmbeddingProvider, type IpValidatorInput, IpValidatorSchema, type JsonToolsConfig, type MathFunctionsInput, MathFunctionsSchema, type MathOperationsConfig, type Neo4jConfig, type Neo4jNode, type Neo4jPath, type Neo4jRelationship, type Neo4jSchema, type Neo4jToolsConfig, OpenAIEmbeddingProvider, type PathUtilitiesConfig, type PhoneValidatorInput, PhoneValidatorSchema, type RandomNumberInput, RandomNumberSchema, type RetryConfig, type ScraperResult, type ScraperToolsConfig, type SearchProvider, type SearchResult, SerperProvider, type SlackClientConfig, type SlackToolsConfig, type StatisticsInput, StatisticsSchema, type StringCaseConverterInput, StringCaseConverterSchema, type StringJoinInput, StringJoinSchema, type StringLengthInput, StringLengthSchema, type StringReplaceInput, StringReplaceSchema, type StringSplitInput, StringSplitSchema, type StringSubstringInput, StringSubstringSchema, type StringTrimInput, StringTrimSchema, type StringUtilitiesConfig, type TransformerToolsConfig, type UrlValidationResult, type UrlValidatorSimpleInput, UrlValidatorSimpleSchema, type UrlValidatorToolsConfig, type UuidValidatorInput, UuidValidatorSchema, type ValidationConfig, type WebSearchInput, type WebSearchOutput, type XmlToolsConfig, archiveConfluencePage, arrayFilter, arrayFilterSchema, arrayGroupBy, arrayGroupBySchema, arrayMap, arrayMapSchema, arraySort, arraySortSchema, askHumanTool, calculator, confluenceTools, createArrayFilterTool, createArrayGroupByTool, createArrayMapTool, createArraySortTool, createAskHumanTool, createCalculatorTool, createConfluencePage, createConfluenceTools, createCreditCardValidatorTool, createCsvGeneratorTool, createCsvParserTool, createCsvToJsonTool, createCsvTools, createCurrentDateTimeTool, createDateArithmeticTool, createDateComparisonTool, createDateDifferenceTool, createDateFormatterTool, createDateTimeTools, createDirectoryCreateTool, createDirectoryDeleteTool, createDirectoryListTool, createDirectoryOperationTools, createDuckDuckGoProvider, createEmailValidatorTool, createExtractImagesTool, createExtractLinksTool, createFileAppendTool, createFileDeleteTool, createFileExistsTool, createFileOperationTools, createFileReaderTool, createFileSearchTool, createFileWriterTool, createHtmlParserTool, createHtmlParserTools, createHttpTools, createIpValidatorTool, createJsonMergeTool, createJsonParserTool, createJsonQueryTool, createJsonStringifyTool, createJsonToCsvTool, createJsonToXmlTool, createJsonTools, createJsonValidatorTool, createMathFunctionsTool, createMathOperationTools, createNeo4jCreateNodeWithEmbeddingTool, createNeo4jFindNodesTool, createNeo4jGetSchemaTool, createNeo4jQueryTool, createNeo4jTools, createNeo4jTraverseTool, createNeo4jVectorSearchTool, createNeo4jVectorSearchWithEmbeddingTool, createObjectOmitTool, createObjectPickTool, createPathBasenameTool, createPathDirnameTool, createPathExtensionTool, createPathJoinTool, createPathNormalizeTool, createPathParseTool, createPathRelativeTool, createPathResolveTool, createPathUtilityTools, createPhoneValidatorTool, createRandomNumberTool, createScraperTools, createSerperProvider, createSlackTools, createStatisticsTool, createStringCaseConverterTool, createStringJoinTool, createStringLengthTool, createStringReplaceTool, createStringSplitTool, createStringSubstringTool, createStringTrimTool, createStringUtilityTools, createTransformerTools, createUrlBuilderTool, createUrlQueryParserTool, createUrlValidatorSimpleTool, createUrlValidatorTool, createUrlValidatorTools, createUuidValidatorTool, createValidationTools, createWebScraperTool, createXmlGeneratorTool, createXmlParserTool, createXmlToJsonTool, createXmlTools, creditCardValidator, csvGenerator, csvGeneratorSchema, csvParser, csvParserSchema, csvToJson, csvToJsonSchema, csvTools, currentDateTime, dateArithmetic, dateComparison, dateDifference, dateFormatter, dateTimeTools, directoryCreate, directoryCreateSchema, directoryDelete, directoryDeleteSchema, directoryList, directoryListSchema, directoryOperationTools, emailValidator, embeddingManager, extractImages, extractImagesSchema, extractLinks, extractLinksSchema, fileAppend, fileAppendSchema, fileDelete, fileDeleteSchema, fileExists, fileExistsSchema, fileOperationTools, fileReader, fileReaderSchema, fileSearch, fileSearchSchema, fileWriter, fileWriterSchema, generateBatchEmbeddings, generateEmbedding, getCohereApiKey, getConfluencePage, getEmbeddingModel, getEmbeddingProvider, getHuggingFaceApiKey, getOllamaBaseUrl, getOpenAIApiKey, getSlackChannels, getSlackMessages, getSpacePages, getVoyageApiKey, htmlParser, htmlParserSchema, htmlParserTools, httpClient, httpGet, httpGetSchema, httpPost, httpPostSchema, httpRequestSchema, httpTools, initializeEmbeddings, initializeEmbeddingsWithConfig, initializeFromEnv, initializeNeo4jTools, ipValidator, isRetryableError, jsonMerge, jsonMergeSchema, jsonParser, jsonParserSchema, jsonQuery, jsonQuerySchema, jsonStringify, jsonStringifySchema, jsonToCsv, jsonToCsvSchema, jsonToXml, jsonToXmlSchema, jsonTools, jsonValidator, jsonValidatorSchema, listConfluenceSpaces, mathFunctions, mathOperationTools, neo4jCoreTools, neo4jCreateNodeWithEmbedding, neo4jCreateNodeWithEmbeddingSchema, neo4jFindNodes, neo4jFindNodesSchema, neo4jGetSchema, neo4jGetSchemaSchema, neo4jPool, neo4jQuery, neo4jQuerySchema, neo4jTools, neo4jTraverse, neo4jTraverseSchema, neo4jVectorSearch, neo4jVectorSearchSchema, neo4jVectorSearchWithEmbedding, neo4jVectorSearchWithEmbeddingSchema, notifySlack, objectOmit, objectOmitSchema, objectPick, objectPickSchema, pathBasename, pathBasenameSchema, pathDirname, pathDirnameSchema, pathExtension, pathExtensionSchema, pathJoin, pathJoinSchema, pathNormalize, pathNormalizeSchema, pathParse, pathParseSchema, pathRelative, pathRelativeSchema, pathResolve, pathResolveSchema, pathUtilityTools, phoneValidator, randomNumber, retryWithBackoff, scraperTools, searchConfluence, searchResultSchema, sendSlackMessage, slackTools, statistics, stringCaseConverter, stringJoin, stringLength, stringReplace, stringSplit, stringSubstring, stringTrim, stringUtilityTools, transformerTools, updateConfluencePage, urlBuilder, urlBuilderSchema, urlQueryParser, urlQueryParserSchema, urlValidator, urlValidatorSchema, urlValidatorSimple, urlValidatorTools, uuidValidator, validateBatch, validateText, validationTools, webScraper, webScraperSchema, webSearch, webSearchOutputSchema, webSearchSchema, xmlGenerator, xmlGeneratorSchema, xmlParser, xmlParserSchema, xmlToJson, xmlToJsonSchema, xmlTools };