@thanh01.pmt/research-kit 1.0.0

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/academic/index.cjs +368 -0
  2. package/dist/academic/index.cjs.map +1 -0
  3. package/dist/academic/index.d.cts +35 -0
  4. package/dist/academic/index.d.ts +35 -0
  5. package/dist/academic/index.js +4 -0
  6. package/dist/academic/index.js.map +1 -0
  7. package/dist/catalogBuilder-8A-Dg_A-.d.ts +30 -0
  8. package/dist/catalogBuilder-feU79wQQ.d.cts +30 -0
  9. package/dist/chunk-47L7ZHMY.js +316 -0
  10. package/dist/chunk-47L7ZHMY.js.map +1 -0
  11. package/dist/chunk-63X2HPCI.js +47 -0
  12. package/dist/chunk-63X2HPCI.js.map +1 -0
  13. package/dist/chunk-67V2GJGK.js +34 -0
  14. package/dist/chunk-67V2GJGK.js.map +1 -0
  15. package/dist/chunk-6Q2XCUG7.js +40 -0
  16. package/dist/chunk-6Q2XCUG7.js.map +1 -0
  17. package/dist/chunk-KGCDYFFD.js +3 -0
  18. package/dist/chunk-KGCDYFFD.js.map +1 -0
  19. package/dist/chunk-MHAYD555.js +239 -0
  20. package/dist/chunk-MHAYD555.js.map +1 -0
  21. package/dist/chunk-MPLDSHFM.js +396 -0
  22. package/dist/chunk-MPLDSHFM.js.map +1 -0
  23. package/dist/chunk-QZNLB5X4.js +65 -0
  24. package/dist/chunk-QZNLB5X4.js.map +1 -0
  25. package/dist/config/index.cjs +37 -0
  26. package/dist/config/index.cjs.map +1 -0
  27. package/dist/config/index.d.cts +2 -0
  28. package/dist/config/index.d.ts +2 -0
  29. package/dist/config/index.js +3 -0
  30. package/dist/config/index.js.map +1 -0
  31. package/dist/evidence/index.cjs +106 -0
  32. package/dist/evidence/index.cjs.map +1 -0
  33. package/dist/evidence/index.d.cts +45 -0
  34. package/dist/evidence/index.d.ts +45 -0
  35. package/dist/evidence/index.js +4 -0
  36. package/dist/evidence/index.js.map +1 -0
  37. package/dist/harvester/index.cjs +402 -0
  38. package/dist/harvester/index.cjs.map +1 -0
  39. package/dist/harvester/index.d.cts +54 -0
  40. package/dist/harvester/index.d.ts +54 -0
  41. package/dist/harvester/index.js +4 -0
  42. package/dist/harvester/index.js.map +1 -0
  43. package/dist/index-BU5n1ip_.d.cts +224 -0
  44. package/dist/index-BU5n1ip_.d.ts +224 -0
  45. package/dist/index.cjs +1132 -0
  46. package/dist/index.cjs.map +1 -0
  47. package/dist/index.d.cts +10 -0
  48. package/dist/index.d.ts +10 -0
  49. package/dist/index.js +10 -0
  50. package/dist/index.js.map +1 -0
  51. package/dist/literatureReview-C4AgVljZ.d.ts +43 -0
  52. package/dist/literatureReview-Dlods4Aw.d.cts +43 -0
  53. package/dist/pipeline/index.cjs +999 -0
  54. package/dist/pipeline/index.cjs.map +1 -0
  55. package/dist/pipeline/index.d.cts +102 -0
  56. package/dist/pipeline/index.d.ts +102 -0
  57. package/dist/pipeline/index.js +6 -0
  58. package/dist/pipeline/index.js.map +1 -0
  59. package/dist/provenanceTracker-ct4s5lJV.d.cts +24 -0
  60. package/dist/provenanceTracker-ct4s5lJV.d.ts +24 -0
  61. package/dist/webScraper-pKzdXhfI.d.ts +46 -0
  62. package/dist/webScraper-yBcYOHoL.d.cts +46 -0
  63. package/package.json +64 -0
@@ -0,0 +1,224 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const AcademicPaperSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ title: z.ZodString;
6
+ abstract: z.ZodOptional<z.ZodString>;
7
+ authors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
8
+ year: z.ZodOptional<z.ZodNumber>;
9
+ citationCount: z.ZodDefault<z.ZodNumber>;
10
+ venue: z.ZodOptional<z.ZodString>;
11
+ doi: z.ZodOptional<z.ZodString>;
12
+ url: z.ZodOptional<z.ZodString>;
13
+ pdfUrl: z.ZodOptional<z.ZodString>;
14
+ tldr: z.ZodOptional<z.ZodString>;
15
+ fieldsOfStudy: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ title: string;
19
+ authors: string[];
20
+ citationCount: number;
21
+ fieldsOfStudy: string[];
22
+ abstract?: string | undefined;
23
+ year?: number | undefined;
24
+ venue?: string | undefined;
25
+ doi?: string | undefined;
26
+ url?: string | undefined;
27
+ pdfUrl?: string | undefined;
28
+ tldr?: string | undefined;
29
+ }, {
30
+ id: string;
31
+ title: string;
32
+ abstract?: string | undefined;
33
+ authors?: string[] | undefined;
34
+ year?: number | undefined;
35
+ citationCount?: number | undefined;
36
+ venue?: string | undefined;
37
+ doi?: string | undefined;
38
+ url?: string | undefined;
39
+ pdfUrl?: string | undefined;
40
+ tldr?: string | undefined;
41
+ fieldsOfStudy?: string[] | undefined;
42
+ }>;
43
+ type AcademicPaper = z.infer<typeof AcademicPaperSchema>;
44
+ interface AcademicSearchOptions {
45
+ limit?: number;
46
+ yearRange?: string;
47
+ fieldsOfStudy?: string[];
48
+ apiKey?: string;
49
+ customAdapter?: CustomAcademicSearchAdapter;
50
+ }
51
+ /**
52
+ * Semantic Scholar & OpenAlex Academic Search Engine with Custom Adapter Support
53
+ */
54
+ declare class AcademicSearchEngine {
55
+ private apiKey?;
56
+ private customAdapter?;
57
+ constructor(options?: {
58
+ apiKey?: string;
59
+ customAdapter?: CustomAcademicSearchAdapter;
60
+ } | string);
61
+ setCustomAdapter(adapter: CustomAcademicSearchAdapter): void;
62
+ /**
63
+ * Search academic papers across Semantic Scholar with OpenAlex fallback or Custom Adapter
64
+ */
65
+ searchPapers(query: string, options?: AcademicSearchOptions): Promise<AcademicPaper[]>;
66
+ }
67
+
68
+ type SearchProviderType = 'tavily' | 'exa' | 'searxng' | 'duckduckgo' | 'semantic_scholar' | 'openalex' | 'arxiv' | 'custom';
69
+ type CrawlerProviderType = 'jina' | 'crawl4ai' | 'defuddle' | 'direct' | 'custom';
70
+ interface CustomSearchAdapter {
71
+ search(query: string, options?: {
72
+ limit?: number;
73
+ domainFilter?: string[];
74
+ }): Promise<Array<{
75
+ title: string;
76
+ url: string;
77
+ content: string;
78
+ score?: number;
79
+ }>>;
80
+ }
81
+ interface CustomCrawlerAdapter {
82
+ crawl(url: string): Promise<{
83
+ url: string;
84
+ title: string;
85
+ markdownContent: string;
86
+ byteSize: number;
87
+ }>;
88
+ }
89
+ interface CustomAcademicSearchAdapter {
90
+ searchPapers(query: string, options?: {
91
+ limit?: number;
92
+ yearRange?: string;
93
+ }): Promise<AcademicPaper[]>;
94
+ }
95
+ declare const ResearchConfigSchema: z.ZodObject<{
96
+ search: z.ZodDefault<z.ZodObject<{
97
+ preferredProvider: z.ZodDefault<z.ZodEnum<["tavily", "exa", "searxng", "duckduckgo", "semantic_scholar", "openalex", "arxiv", "custom"]>>;
98
+ fallbackChain: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
99
+ apiKeys: z.ZodDefault<z.ZodObject<{
100
+ tavily: z.ZodOptional<z.ZodString>;
101
+ exa: z.ZodOptional<z.ZodString>;
102
+ semanticScholar: z.ZodOptional<z.ZodString>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ tavily?: string | undefined;
105
+ exa?: string | undefined;
106
+ semanticScholar?: string | undefined;
107
+ }, {
108
+ tavily?: string | undefined;
109
+ exa?: string | undefined;
110
+ semanticScholar?: string | undefined;
111
+ }>>;
112
+ searxngHost: z.ZodOptional<z.ZodString>;
113
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
114
+ maxResultsPerQuery: z.ZodDefault<z.ZodNumber>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ preferredProvider: "tavily" | "exa" | "searxng" | "duckduckgo" | "semantic_scholar" | "openalex" | "arxiv" | "custom";
117
+ fallbackChain: string[];
118
+ apiKeys: {
119
+ tavily?: string | undefined;
120
+ exa?: string | undefined;
121
+ semanticScholar?: string | undefined;
122
+ };
123
+ timeoutMs: number;
124
+ maxResultsPerQuery: number;
125
+ searxngHost?: string | undefined;
126
+ }, {
127
+ preferredProvider?: "tavily" | "exa" | "searxng" | "duckduckgo" | "semantic_scholar" | "openalex" | "arxiv" | "custom" | undefined;
128
+ fallbackChain?: string[] | undefined;
129
+ apiKeys?: {
130
+ tavily?: string | undefined;
131
+ exa?: string | undefined;
132
+ semanticScholar?: string | undefined;
133
+ } | undefined;
134
+ searxngHost?: string | undefined;
135
+ timeoutMs?: number | undefined;
136
+ maxResultsPerQuery?: number | undefined;
137
+ }>>;
138
+ crawler: z.ZodDefault<z.ZodObject<{
139
+ preferredProvider: z.ZodDefault<z.ZodEnum<["jina", "crawl4ai", "defuddle", "direct", "custom"]>>;
140
+ fallbackChain: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
141
+ crawl4aiHost: z.ZodDefault<z.ZodString>;
142
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
143
+ maxContentLength: z.ZodDefault<z.ZodNumber>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ preferredProvider: "custom" | "jina" | "crawl4ai" | "defuddle" | "direct";
146
+ fallbackChain: string[];
147
+ timeoutMs: number;
148
+ crawl4aiHost: string;
149
+ maxContentLength: number;
150
+ }, {
151
+ preferredProvider?: "custom" | "jina" | "crawl4ai" | "defuddle" | "direct" | undefined;
152
+ fallbackChain?: string[] | undefined;
153
+ timeoutMs?: number | undefined;
154
+ crawl4aiHost?: string | undefined;
155
+ maxContentLength?: number | undefined;
156
+ }>>;
157
+ quality: z.ZodDefault<z.ZodObject<{
158
+ minRelevanceScore: z.ZodDefault<z.ZodNumber>;
159
+ requireCodeSnippets: z.ZodDefault<z.ZodBoolean>;
160
+ enableAntiHallucinationSweep: z.ZodDefault<z.ZodBoolean>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ minRelevanceScore: number;
163
+ requireCodeSnippets: boolean;
164
+ enableAntiHallucinationSweep: boolean;
165
+ }, {
166
+ minRelevanceScore?: number | undefined;
167
+ requireCodeSnippets?: boolean | undefined;
168
+ enableAntiHallucinationSweep?: boolean | undefined;
169
+ }>>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ search: {
172
+ preferredProvider: "tavily" | "exa" | "searxng" | "duckduckgo" | "semantic_scholar" | "openalex" | "arxiv" | "custom";
173
+ fallbackChain: string[];
174
+ apiKeys: {
175
+ tavily?: string | undefined;
176
+ exa?: string | undefined;
177
+ semanticScholar?: string | undefined;
178
+ };
179
+ timeoutMs: number;
180
+ maxResultsPerQuery: number;
181
+ searxngHost?: string | undefined;
182
+ };
183
+ crawler: {
184
+ preferredProvider: "custom" | "jina" | "crawl4ai" | "defuddle" | "direct";
185
+ fallbackChain: string[];
186
+ timeoutMs: number;
187
+ crawl4aiHost: string;
188
+ maxContentLength: number;
189
+ };
190
+ quality: {
191
+ minRelevanceScore: number;
192
+ requireCodeSnippets: boolean;
193
+ enableAntiHallucinationSweep: boolean;
194
+ };
195
+ }, {
196
+ search?: {
197
+ preferredProvider?: "tavily" | "exa" | "searxng" | "duckduckgo" | "semantic_scholar" | "openalex" | "arxiv" | "custom" | undefined;
198
+ fallbackChain?: string[] | undefined;
199
+ apiKeys?: {
200
+ tavily?: string | undefined;
201
+ exa?: string | undefined;
202
+ semanticScholar?: string | undefined;
203
+ } | undefined;
204
+ searxngHost?: string | undefined;
205
+ timeoutMs?: number | undefined;
206
+ maxResultsPerQuery?: number | undefined;
207
+ } | undefined;
208
+ crawler?: {
209
+ preferredProvider?: "custom" | "jina" | "crawl4ai" | "defuddle" | "direct" | undefined;
210
+ fallbackChain?: string[] | undefined;
211
+ timeoutMs?: number | undefined;
212
+ crawl4aiHost?: string | undefined;
213
+ maxContentLength?: number | undefined;
214
+ } | undefined;
215
+ quality?: {
216
+ minRelevanceScore?: number | undefined;
217
+ requireCodeSnippets?: boolean | undefined;
218
+ enableAntiHallucinationSweep?: boolean | undefined;
219
+ } | undefined;
220
+ }>;
221
+ type ResearchConfig = z.infer<typeof ResearchConfigSchema>;
222
+ declare const DEFAULT_RESEARCH_CONFIG: ResearchConfig;
223
+
224
+ export { AcademicPaperSchema as A, type CrawlerProviderType as C, DEFAULT_RESEARCH_CONFIG as D, ResearchConfigSchema as R, type SearchProviderType as S, type CustomSearchAdapter as a, type CustomCrawlerAdapter as b, type CustomAcademicSearchAdapter as c, type ResearchConfig as d, type AcademicPaper as e, type AcademicSearchOptions as f, AcademicSearchEngine as g };
@@ -0,0 +1,224 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const AcademicPaperSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ title: z.ZodString;
6
+ abstract: z.ZodOptional<z.ZodString>;
7
+ authors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
8
+ year: z.ZodOptional<z.ZodNumber>;
9
+ citationCount: z.ZodDefault<z.ZodNumber>;
10
+ venue: z.ZodOptional<z.ZodString>;
11
+ doi: z.ZodOptional<z.ZodString>;
12
+ url: z.ZodOptional<z.ZodString>;
13
+ pdfUrl: z.ZodOptional<z.ZodString>;
14
+ tldr: z.ZodOptional<z.ZodString>;
15
+ fieldsOfStudy: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ title: string;
19
+ authors: string[];
20
+ citationCount: number;
21
+ fieldsOfStudy: string[];
22
+ abstract?: string | undefined;
23
+ year?: number | undefined;
24
+ venue?: string | undefined;
25
+ doi?: string | undefined;
26
+ url?: string | undefined;
27
+ pdfUrl?: string | undefined;
28
+ tldr?: string | undefined;
29
+ }, {
30
+ id: string;
31
+ title: string;
32
+ abstract?: string | undefined;
33
+ authors?: string[] | undefined;
34
+ year?: number | undefined;
35
+ citationCount?: number | undefined;
36
+ venue?: string | undefined;
37
+ doi?: string | undefined;
38
+ url?: string | undefined;
39
+ pdfUrl?: string | undefined;
40
+ tldr?: string | undefined;
41
+ fieldsOfStudy?: string[] | undefined;
42
+ }>;
43
+ type AcademicPaper = z.infer<typeof AcademicPaperSchema>;
44
+ interface AcademicSearchOptions {
45
+ limit?: number;
46
+ yearRange?: string;
47
+ fieldsOfStudy?: string[];
48
+ apiKey?: string;
49
+ customAdapter?: CustomAcademicSearchAdapter;
50
+ }
51
+ /**
52
+ * Semantic Scholar & OpenAlex Academic Search Engine with Custom Adapter Support
53
+ */
54
+ declare class AcademicSearchEngine {
55
+ private apiKey?;
56
+ private customAdapter?;
57
+ constructor(options?: {
58
+ apiKey?: string;
59
+ customAdapter?: CustomAcademicSearchAdapter;
60
+ } | string);
61
+ setCustomAdapter(adapter: CustomAcademicSearchAdapter): void;
62
+ /**
63
+ * Search academic papers across Semantic Scholar with OpenAlex fallback or Custom Adapter
64
+ */
65
+ searchPapers(query: string, options?: AcademicSearchOptions): Promise<AcademicPaper[]>;
66
+ }
67
+
68
+ type SearchProviderType = 'tavily' | 'exa' | 'searxng' | 'duckduckgo' | 'semantic_scholar' | 'openalex' | 'arxiv' | 'custom';
69
+ type CrawlerProviderType = 'jina' | 'crawl4ai' | 'defuddle' | 'direct' | 'custom';
70
+ interface CustomSearchAdapter {
71
+ search(query: string, options?: {
72
+ limit?: number;
73
+ domainFilter?: string[];
74
+ }): Promise<Array<{
75
+ title: string;
76
+ url: string;
77
+ content: string;
78
+ score?: number;
79
+ }>>;
80
+ }
81
+ interface CustomCrawlerAdapter {
82
+ crawl(url: string): Promise<{
83
+ url: string;
84
+ title: string;
85
+ markdownContent: string;
86
+ byteSize: number;
87
+ }>;
88
+ }
89
+ interface CustomAcademicSearchAdapter {
90
+ searchPapers(query: string, options?: {
91
+ limit?: number;
92
+ yearRange?: string;
93
+ }): Promise<AcademicPaper[]>;
94
+ }
95
+ declare const ResearchConfigSchema: z.ZodObject<{
96
+ search: z.ZodDefault<z.ZodObject<{
97
+ preferredProvider: z.ZodDefault<z.ZodEnum<["tavily", "exa", "searxng", "duckduckgo", "semantic_scholar", "openalex", "arxiv", "custom"]>>;
98
+ fallbackChain: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
99
+ apiKeys: z.ZodDefault<z.ZodObject<{
100
+ tavily: z.ZodOptional<z.ZodString>;
101
+ exa: z.ZodOptional<z.ZodString>;
102
+ semanticScholar: z.ZodOptional<z.ZodString>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ tavily?: string | undefined;
105
+ exa?: string | undefined;
106
+ semanticScholar?: string | undefined;
107
+ }, {
108
+ tavily?: string | undefined;
109
+ exa?: string | undefined;
110
+ semanticScholar?: string | undefined;
111
+ }>>;
112
+ searxngHost: z.ZodOptional<z.ZodString>;
113
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
114
+ maxResultsPerQuery: z.ZodDefault<z.ZodNumber>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ preferredProvider: "tavily" | "exa" | "searxng" | "duckduckgo" | "semantic_scholar" | "openalex" | "arxiv" | "custom";
117
+ fallbackChain: string[];
118
+ apiKeys: {
119
+ tavily?: string | undefined;
120
+ exa?: string | undefined;
121
+ semanticScholar?: string | undefined;
122
+ };
123
+ timeoutMs: number;
124
+ maxResultsPerQuery: number;
125
+ searxngHost?: string | undefined;
126
+ }, {
127
+ preferredProvider?: "tavily" | "exa" | "searxng" | "duckduckgo" | "semantic_scholar" | "openalex" | "arxiv" | "custom" | undefined;
128
+ fallbackChain?: string[] | undefined;
129
+ apiKeys?: {
130
+ tavily?: string | undefined;
131
+ exa?: string | undefined;
132
+ semanticScholar?: string | undefined;
133
+ } | undefined;
134
+ searxngHost?: string | undefined;
135
+ timeoutMs?: number | undefined;
136
+ maxResultsPerQuery?: number | undefined;
137
+ }>>;
138
+ crawler: z.ZodDefault<z.ZodObject<{
139
+ preferredProvider: z.ZodDefault<z.ZodEnum<["jina", "crawl4ai", "defuddle", "direct", "custom"]>>;
140
+ fallbackChain: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
141
+ crawl4aiHost: z.ZodDefault<z.ZodString>;
142
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
143
+ maxContentLength: z.ZodDefault<z.ZodNumber>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ preferredProvider: "custom" | "jina" | "crawl4ai" | "defuddle" | "direct";
146
+ fallbackChain: string[];
147
+ timeoutMs: number;
148
+ crawl4aiHost: string;
149
+ maxContentLength: number;
150
+ }, {
151
+ preferredProvider?: "custom" | "jina" | "crawl4ai" | "defuddle" | "direct" | undefined;
152
+ fallbackChain?: string[] | undefined;
153
+ timeoutMs?: number | undefined;
154
+ crawl4aiHost?: string | undefined;
155
+ maxContentLength?: number | undefined;
156
+ }>>;
157
+ quality: z.ZodDefault<z.ZodObject<{
158
+ minRelevanceScore: z.ZodDefault<z.ZodNumber>;
159
+ requireCodeSnippets: z.ZodDefault<z.ZodBoolean>;
160
+ enableAntiHallucinationSweep: z.ZodDefault<z.ZodBoolean>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ minRelevanceScore: number;
163
+ requireCodeSnippets: boolean;
164
+ enableAntiHallucinationSweep: boolean;
165
+ }, {
166
+ minRelevanceScore?: number | undefined;
167
+ requireCodeSnippets?: boolean | undefined;
168
+ enableAntiHallucinationSweep?: boolean | undefined;
169
+ }>>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ search: {
172
+ preferredProvider: "tavily" | "exa" | "searxng" | "duckduckgo" | "semantic_scholar" | "openalex" | "arxiv" | "custom";
173
+ fallbackChain: string[];
174
+ apiKeys: {
175
+ tavily?: string | undefined;
176
+ exa?: string | undefined;
177
+ semanticScholar?: string | undefined;
178
+ };
179
+ timeoutMs: number;
180
+ maxResultsPerQuery: number;
181
+ searxngHost?: string | undefined;
182
+ };
183
+ crawler: {
184
+ preferredProvider: "custom" | "jina" | "crawl4ai" | "defuddle" | "direct";
185
+ fallbackChain: string[];
186
+ timeoutMs: number;
187
+ crawl4aiHost: string;
188
+ maxContentLength: number;
189
+ };
190
+ quality: {
191
+ minRelevanceScore: number;
192
+ requireCodeSnippets: boolean;
193
+ enableAntiHallucinationSweep: boolean;
194
+ };
195
+ }, {
196
+ search?: {
197
+ preferredProvider?: "tavily" | "exa" | "searxng" | "duckduckgo" | "semantic_scholar" | "openalex" | "arxiv" | "custom" | undefined;
198
+ fallbackChain?: string[] | undefined;
199
+ apiKeys?: {
200
+ tavily?: string | undefined;
201
+ exa?: string | undefined;
202
+ semanticScholar?: string | undefined;
203
+ } | undefined;
204
+ searxngHost?: string | undefined;
205
+ timeoutMs?: number | undefined;
206
+ maxResultsPerQuery?: number | undefined;
207
+ } | undefined;
208
+ crawler?: {
209
+ preferredProvider?: "custom" | "jina" | "crawl4ai" | "defuddle" | "direct" | undefined;
210
+ fallbackChain?: string[] | undefined;
211
+ timeoutMs?: number | undefined;
212
+ crawl4aiHost?: string | undefined;
213
+ maxContentLength?: number | undefined;
214
+ } | undefined;
215
+ quality?: {
216
+ minRelevanceScore?: number | undefined;
217
+ requireCodeSnippets?: boolean | undefined;
218
+ enableAntiHallucinationSweep?: boolean | undefined;
219
+ } | undefined;
220
+ }>;
221
+ type ResearchConfig = z.infer<typeof ResearchConfigSchema>;
222
+ declare const DEFAULT_RESEARCH_CONFIG: ResearchConfig;
223
+
224
+ export { AcademicPaperSchema as A, type CrawlerProviderType as C, DEFAULT_RESEARCH_CONFIG as D, ResearchConfigSchema as R, type SearchProviderType as S, type CustomSearchAdapter as a, type CustomCrawlerAdapter as b, type CustomAcademicSearchAdapter as c, type ResearchConfig as d, type AcademicPaper as e, type AcademicSearchOptions as f, AcademicSearchEngine as g };