@aiquants/enrichment-react 0.4.0 → 0.5.1

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,18 +1,125 @@
1
- import { SearchDegradationReason, DiffLinePage, DocumentHistory, DocumentComparison, DocumentChangeFeedPage, DocumentCaptureAnswer, ConfidentialityLevel, ReadableEntry, PipelineRunStatus, PipelineStepKey, RestrictedRunMark, RestrictedIngestMark, ChunkBodyFidelity, ChunkChangeKind, DocumentStateCause, DocumentFacet, FacetChangeCounts, JsonValue, EnrichmentStageKey, SearchMode, ChunkSource, PipelinePhase, PipelineStepMetric, DocumentKind, StepGate, PipelineFlow, NothingToReadToken, PipelineStepStatus, PipelineTrigger, RunTerminalStepOutcome, LedgerStepKey, RestrictedFailureMark } from "@aiquants/enrichment-core";
2
- import React$1, { ReactNode, JSX } from "react";
1
+ import React, { ReactNode, JSX } from "react";
2
+ import { CircuitBreakerStatus, SearchDegradationReason, SearchMode, SearchQualityTier, CircuitBreakerService, SearchFusion, FilterableConfidentialityLevel, DiffLinePage, DocumentHistory, DocumentComparison, DocumentChangeFeedPage, DocumentCaptureAnswer, SourceSpec, ConfidentialityLevel, ReadableEntry, PipelineRunStatus, StoredTerm, PipelineStepKey, RestrictedRunMark, RemovableProtectionScheme, UnlockDisposition, CopyReason, RestrictedIngestMark, ChunkBodyFidelity, ChunkChangeKind, DocumentStateCause, DocumentFacet, FacetChangeCounts, JsonValue, EnrichmentStageKey, ChunkSource, PipelinePhase, PipelineStepMetric, DocumentKind, StepGate, PipelineFlow, NothingToReadToken, PipelineStepStatus, PipelineTrigger, RunTerminalStepOutcome, LedgerStepKey, RestrictedFailureMark } from "@aiquants/enrichment-core";
3
3
  import { ResourceOutcome, ConsoleUiLabels } from "@aiquants/console-ui/core";
4
- interface SearchMetadataLike {
5
- is_degraded: boolean;
6
- search_mode: string;
7
- quality_tier: string;
8
- degradation_reason?: string | null;
4
+ interface DocumentSearchParams {
5
+ readonly q: string;
6
+ readonly mode: SearchMode;
7
+ readonly limit: number;
8
+ readonly threshold?: number;
9
+ readonly fusion?: SearchFusion;
10
+ readonly rrf_k?: number;
11
+ readonly alpha?: number;
12
+ readonly department_id?: number;
13
+ readonly confidentiality_level?: FilterableConfidentialityLevel;
14
+ readonly mime_type?: string;
15
+ readonly tag?: string;
16
+ }
17
+ type DocumentVectorScoreKind = "cosine" | "bm25" | "mixed";
18
+ interface DocumentVectorScore {
19
+ readonly value: number;
20
+ readonly kind: DocumentVectorScoreKind;
21
+ }
22
+ interface DocumentScores {
23
+ readonly fused: number;
24
+ readonly vector: DocumentVectorScore | null;
25
+ readonly lexical_rank: number | null;
26
+ readonly graph_rank: number | null;
27
+ }
28
+ interface DocumentGraphRelation {
29
+ readonly relation: string;
30
+ readonly target_name: string;
31
+ }
32
+ interface DocumentSearchHit {
33
+ readonly metadata_id: number | null;
34
+ readonly file_uri: string | null;
35
+ readonly file_name: string | null;
36
+ readonly mime_type: string | null;
37
+ readonly folder_path: string | null;
38
+ readonly confidentiality_level: string | null;
39
+ readonly department_id: number | null;
40
+ readonly created_by: string | null;
41
+ readonly mtime: string | null;
42
+ readonly ai_summary: string | null;
43
+ readonly tags: readonly string[] | null;
44
+ readonly structured_data: unknown;
45
+ readonly scores: DocumentScores;
46
+ readonly graph_relations: readonly DocumentGraphRelation[] | null;
47
+ }
48
+ interface DocumentSearchAuthzScopes {
49
+ readonly row_scope_applied: boolean;
50
+ readonly column_scope_applied: boolean;
51
+ readonly hidden_columns: readonly string[];
52
+ }
53
+ interface DocumentSearchExecutedTiers {
54
+ readonly lexical: boolean;
55
+ readonly dense: boolean;
56
+ readonly sparse: boolean;
57
+ readonly graph: boolean;
58
+ }
59
+ interface DocumentSearchMetadata {
60
+ readonly search_mode: SearchMode;
61
+ readonly requested_mode: SearchMode;
62
+ readonly executed_tiers: DocumentSearchExecutedTiers;
63
+ readonly quality_tier: SearchQualityTier;
64
+ readonly is_degraded: boolean;
65
+ readonly degradation_reasons: readonly string[];
66
+ readonly circuit_breaker_status: Readonly<Record<CircuitBreakerService, CircuitBreakerStatus>>;
67
+ readonly execution_time_ms: number;
68
+ }
69
+ interface DocumentSearchAnswer {
70
+ readonly hits: readonly DocumentSearchHit[];
71
+ readonly authz_scopes: DocumentSearchAuthzScopes;
72
+ readonly search_metadata: DocumentSearchMetadata;
73
+ }
74
+ interface VariantComparisonInput {
75
+ readonly query: string;
76
+ readonly strategy_ids: readonly [
77
+ number,
78
+ number
79
+ ];
80
+ readonly limit: number;
81
+ }
82
+ interface VariantHit {
83
+ readonly metadata_id: number;
84
+ readonly chunk_index: number;
85
+ readonly text: string | null;
86
+ readonly score: number;
9
87
  }
88
+ interface VariantResult {
89
+ readonly strategy_id: number;
90
+ readonly execution_ms: number;
91
+ readonly dense_ran: boolean;
92
+ readonly degradation_reasons: readonly string[];
93
+ readonly hits: readonly VariantHit[];
94
+ }
95
+ interface VariantComparisonAnswer {
96
+ readonly results: readonly VariantResult[];
97
+ readonly text_hidden: boolean;
98
+ }
99
+ declare const HIDDEN_FIELD_TEXT = "\u975E\u8868\u793A (\u5217\u306E\u30B9\u30B3\u30FC\u30D7)";
100
+ declare const SEARCH_MODE_LABELS: Readonly<Record<SearchMode, {
101
+ readonly label: string;
102
+ readonly description: string;
103
+ }>>;
104
+ declare const SEARCH_FUSION_LABELS: Readonly<Record<SearchFusion, string>>;
105
+ declare const QUALITY_TIER_LABELS: Readonly<Record<SearchQualityTier, string>>;
106
+ declare const BREAKER_STATE_LABELS: Readonly<Record<CircuitBreakerStatus, string>>;
107
+ declare const DEGRADATION_REASON_LABELS: Readonly<Record<SearchDegradationReason, string>>;
108
+ declare function degradationReasonText(code: string): string;
109
+ declare const SCORE_DECIMALS = 3;
110
+ declare function vectorScoreText(score: DocumentVectorScore): string;
111
+ interface RankAgreement {
112
+ readonly sharedCount: number;
113
+ readonly overlapRatio: number | null;
114
+ readonly meanAbsoluteRankDifference: number | null;
115
+ }
116
+ declare function rankAgreement(a: readonly string[], b: readonly string[]): RankAgreement;
117
+ declare function variantHitKey(hit: Pick<VariantHit, "metadata_id" | "chunk_index">): string;
10
118
  interface DegradedSearchBannerProps {
11
- metadata: SearchMetadataLike;
12
- onDismiss?: () => void;
119
+ readonly metadata: Pick<DocumentSearchMetadata, "is_degraded" | "requested_mode" | "search_mode" | "executed_tiers" | "quality_tier" | "degradation_reasons">;
120
+ readonly testId: string;
13
121
  }
14
- declare const REASON_LABELS: Readonly<Record<SearchDegradationReason, string>>;
15
- declare function DegradedSearchBanner({ metadata, onDismiss }: DegradedSearchBannerProps): React$1.JSX.Element | null;
122
+ declare function DegradedSearchBanner({ metadata, testId }: DegradedSearchBannerProps): ReactNode;
16
123
  interface DocumentComparisonQuery {
17
124
  readonly fromStateId: number;
18
125
  readonly toStateId: number;
@@ -87,9 +194,14 @@ interface RecentIngestLastRun {
87
194
  runId: number;
88
195
  status: PipelineRunStatus;
89
196
  retryScheduled: boolean;
90
- failedStepKey: PipelineStepKey | null;
197
+ failedStepKey: StoredTerm<PipelineStepKey> | null;
91
198
  finishedAt: string | null;
92
199
  }
200
+ interface RecentIngestUnlock {
201
+ protectionScheme: RemovableProtectionScheme;
202
+ disposition: UnlockDisposition;
203
+ copyReason: CopyReason | null;
204
+ }
93
205
  interface RecentIngestItem {
94
206
  id: number;
95
207
  fileUri: string;
@@ -102,6 +214,7 @@ interface RecentIngestItem {
102
214
  updatedAt: string;
103
215
  errorMessage?: string | null;
104
216
  lastRun: ReadableEntry<RecentIngestLastRun> | RestrictedRunMark | null;
217
+ unlock: RecentIngestUnlock | null;
105
218
  }
106
219
  type RecentIngestEntry = ReadableEntry<RecentIngestItem> | RestrictedIngestMark;
107
220
  interface IngestDomainOption {
@@ -125,19 +238,23 @@ interface IngestCapabilityPolicy {
125
238
  }
126
239
  interface DocumentIngestConsoleProps {
127
240
  tenantId: string;
241
+ sources: readonly SourceSpec[];
128
242
  policies?: readonly IngestCapabilityPolicy[];
129
243
  domainOptions: readonly IngestDomainOption[];
130
244
  recentItems?: readonly RecentIngestEntry[];
131
245
  inspectionResult?: FileInspectionResult | null;
132
246
  isSubmitting?: boolean;
133
247
  isInspecting?: boolean;
248
+ isBusy?: boolean;
249
+ promotingId?: number | null;
134
250
  onInspectUri?: (fileUri: string) => void;
135
251
  onIngestDocument?: (payload: DocumentIngestPayload) => void;
136
252
  onRetryItem?: (fileId: number) => void;
137
253
  onShowHistory?: (metadataId: number) => void;
254
+ onPromoteUnlockedCopy?: (metadataId: number) => void;
138
255
  listRefusal?: string;
139
256
  }
140
- declare function DocumentIngestConsole({ policies, tenantId, domainOptions, recentItems, inspectionResult, isSubmitting, isInspecting, onInspectUri, onIngestDocument, onRetryItem, onShowHistory, listRefusal }: DocumentIngestConsoleProps): ReactNode;
257
+ declare function DocumentIngestConsole({ policies, tenantId, sources, domainOptions, recentItems, inspectionResult, isSubmitting, isInspecting, isBusy, promotingId, onInspectUri, onIngestDocument, onRetryItem, onShowHistory, onPromoteUnlockedCopy, listRefusal, }: DocumentIngestConsoleProps): ReactNode;
141
258
  declare const FACET_LABELS: Readonly<Record<DocumentFacet, string>>;
142
259
  declare const DOCUMENT_STATE_CAUSE_LABELS: Readonly<Record<DocumentStateCause, string>>;
143
260
  declare const CHUNK_CHANGE_KIND_LABELS: Readonly<Record<ChunkChangeKind, string>>;
@@ -182,9 +299,10 @@ interface EnrichmentStrategyBoardProps {
182
299
  onToggleStage?: (row: EnrichmentStrategyRow, stage: EnrichmentStageKey, enabled: boolean) => void | Promise<void>;
183
300
  isUpdating?: boolean;
184
301
  }
302
+ declare const INERT_STAGE_NOTE = "\u8981\u7D04\u751F\u6210\u30FB\u69CB\u9020\u5316\u62BD\u51FA\u30FB\u30A2\u30BB\u30C3\u30C8\u62BD\u51FA\u306E\u5207\u308A\u66FF\u3048\u306F\u4FDD\u5B58\u3055\u308C\u307E\u3059\u304C\u3001\u4ECA\u306F\u52B9\u304D\u307E\u305B\u3093 (\u30C9\u30E1\u30A4\u30F3\u306F\u30E2\u30C7\u30EB\u304C\u6C7A\u3081\u308B\u306E\u3067\u3001\u6295\u5F71\u306E\u6BB5\u3060\u3051\u304C\u6226\u7565\u3092\u8AAD\u307F\u307E\u3059)\u3002";
185
303
  type GateState$1 = "open" | "closed" | "unmeasured" | "absent";
186
304
  declare function gateStateOf(featureFlagKey: string | null, flags: Readonly<Record<string, boolean>>): GateState$1;
187
- declare function EnrichmentStrategyBoard({ strategies, featureFlags, onToggleStage, isUpdating }: EnrichmentStrategyBoardProps): React$1.JSX.Element;
305
+ declare function EnrichmentStrategyBoard({ strategies, featureFlags, onToggleStage, isUpdating }: EnrichmentStrategyBoardProps): React.JSX.Element;
188
306
  interface ServiceHealthStatus {
189
307
  serviceName: string;
190
308
  category: "vector" | "graph" | "cache" | "database" | "api";
@@ -212,134 +330,31 @@ interface InfrastructureHealthMonitorProps {
212
330
  onRefresh?: () => void;
213
331
  className?: string;
214
332
  }
215
- declare function InfrastructureHealthMonitor({ health, isRefreshing, onRefresh, className }: InfrastructureHealthMonitorProps): React$1.JSX.Element;
216
- declare const SEARCH_MODE_LABELS: Record<SearchMode, {
217
- readonly label: string;
333
+ declare function InfrastructureHealthMonitor({ health, isRefreshing, onRefresh, className }: InfrastructureHealthMonitorProps): React.JSX.Element;
334
+ interface DeveloperSearchPreset {
335
+ readonly id: string;
336
+ readonly title: string;
218
337
  readonly description: string;
219
- }>;
220
- type FusionStrategy = "rrf" | "linear";
221
- type ConfidentialityLevelFilter = "ALL" | "PUBLIC" | "INTERNAL" | "DEPARTMENT" | "CONFIDENTIAL";
222
- interface SearchHitScoreBreakdown {
223
- fused: number;
224
- vector?: {
225
- value: number;
226
- kind: "cosine" | "bm25" | "mixed";
227
- };
228
- lexicalRank?: number;
229
- graphRank?: number;
230
- }
231
- interface SearchHitGraphRelation {
232
- relation: string;
233
- target_name: string;
234
- }
235
- interface MetadataSearchHit {
236
- id: number;
237
- file_uri: string;
238
- file_name: string;
239
- mime_type: string;
240
- folder_path: string | null;
241
- confidentiality_level: string;
242
- department_id: number | null;
243
- created_by: string;
244
- mtime: string;
245
- ai_summary: string | null;
246
- tags: string[] | null;
247
- structured_data: unknown;
248
- scores?: SearchHitScoreBreakdown;
249
- graph_relations?: SearchHitGraphRelation[];
250
- }
251
- interface MetadataSearchParams {
252
- q: string;
253
- mode: SearchMode;
254
- limit: number;
255
- threshold?: number;
256
- fusion?: FusionStrategy;
257
- rrf_k?: number;
258
- alpha?: number;
259
- department_id?: number;
260
- confidentiality_level?: ConfidentialityLevelFilter;
261
- mime_type?: string;
262
- tag?: string;
263
- }
264
- interface SearchAuthzScopes {
265
- rowScopeApplied: boolean;
266
- columnScopeApplied: boolean;
267
- }
268
- interface MetadataSearchResult {
269
- count: number;
270
- hits: MetadataSearchHit[];
271
- authzScopes: SearchAuthzScopes;
272
- search_metadata: SearchMetadataLike & {
273
- requested_mode?: SearchMode;
274
- executed_tiers?: {
275
- sql: boolean;
276
- dense: boolean;
277
- sparse: boolean;
278
- graph: boolean;
279
- };
280
- execution_time_ms?: number;
281
- circuit_breaker_status?: Record<string, string>;
282
- };
338
+ readonly params: Pick<DocumentSearchParams, "mode" | "limit"> & Partial<Pick<DocumentSearchParams, "threshold" | "fusion" | "rrf_k">>;
283
339
  }
284
- type CircuitBreakerState = "CLOSED" | "OPEN" | "HALF_OPEN";
340
+ declare const SEARCH_PRESETS: readonly DeveloperSearchPreset[];
341
+ declare const CONFIDENTIALITY_LEVEL_LABELS: Readonly<Record<FilterableConfidentialityLevel, string>>;
285
342
  interface MetadataSearchWorkbenchProps {
286
- tenantId: string;
287
- onSearch: (params: MetadataSearchParams) => Promise<MetadataSearchResult>;
288
- initialParams?: Partial<MetadataSearchParams>;
289
- initialResult?: MetadataSearchResult | null;
290
- circuitBreakerStatus?: Record<string, CircuitBreakerState>;
291
- isLoading?: boolean;
292
- }
293
- interface DeveloperSearchPreset {
294
- id: string;
295
- title: string;
296
- description: string;
297
- params: Pick<MetadataSearchParams, "mode" | "limit"> & Partial<Pick<MetadataSearchParams, "threshold" | "fusion" | "rrf_k">>;
343
+ readonly tenantId: string;
344
+ readonly onSearch: (params: DocumentSearchParams, signal: AbortSignal) => Promise<DocumentSearchAnswer>;
345
+ readonly initialParams?: Partial<DocumentSearchParams>;
298
346
  }
299
- declare const SEARCH_PRESETS: DeveloperSearchPreset[];
300
- declare function MetadataSearchWorkbench({ tenantId, onSearch, initialParams, initialResult, circuitBreakerStatus, isLoading: externalLoading }: MetadataSearchWorkbenchProps): React.JSX.Element;
347
+ declare function MetadataSearchWorkbench({ tenantId, onSearch, initialParams }: MetadataSearchWorkbenchProps): ReactNode;
301
348
  interface ComparisonVariant {
302
349
  readonly strategyId: number;
303
350
  readonly label: string;
304
351
  readonly embeddingModel: string;
305
352
  }
306
- interface ComparisonHit {
307
- readonly id: string;
308
- readonly title: string;
309
- readonly score: number;
310
- }
311
- interface ComparisonVariantResult {
312
- readonly strategyId: number;
313
- readonly executionMs: number;
314
- readonly hits: readonly ComparisonHit[];
315
- }
316
- interface ComparisonInput {
317
- readonly query: string;
318
- readonly strategyIds: readonly [
319
- number,
320
- number
321
- ];
322
- readonly limit: number;
323
- }
324
- type ComparisonOutcome = {
325
- readonly ok: true;
326
- readonly results: readonly ComparisonVariantResult[];
327
- } | {
328
- readonly ok: false;
329
- readonly reason: string;
330
- };
331
353
  interface ModelComparisonWorkbenchProps {
332
- variants: readonly ComparisonVariant[];
333
- onCompare: (input: ComparisonInput) => Promise<ComparisonOutcome>;
354
+ readonly variants: readonly ComparisonVariant[];
355
+ readonly onCompare: (input: VariantComparisonInput, signal: AbortSignal) => Promise<VariantComparisonAnswer>;
334
356
  }
335
357
  declare const SCORE_DISPLAY_DECIMALS = 4;
336
- declare function formatComparisonScore(score: number): string;
337
- interface RankAgreement {
338
- readonly sharedCount: number;
339
- readonly overlapRatio: number | null;
340
- readonly meanAbsoluteRankDifference: number | null;
341
- }
342
- declare function rankAgreement(a: readonly string[], b: readonly string[]): RankAgreement;
343
358
  declare function ModelComparisonWorkbench({ variants, onCompare }: ModelComparisonWorkbenchProps): ReactNode;
344
359
  interface OntologyClassItem {
345
360
  name: string;
@@ -452,7 +467,8 @@ declare const PIPELINE_RUN_STATUS_PRESENTATION: Readonly<Record<PipelineRunPrese
452
467
  declare const PIPELINE_STEP_STATUS_PRESENTATION: Readonly<Record<PipelineStepStatus, StepStatusPresentation>>;
453
468
  declare const PIPELINE_TRIGGER_LABELS: Readonly<Record<PipelineTrigger, string>>;
454
469
  declare const RUN_TERMINAL_STEP_LABEL = "\u6587\u66F8\u306E\u72B6\u614B\u306E\u8A18\u9332";
455
- declare function ledgerStepLabel(key: LedgerStepKey): string;
470
+ declare function ledgerStepLabel(key: StoredTerm<LedgerStepKey>): string;
471
+ declare function documentKindLabel(kind: StoredTerm<DocumentKind>): string;
456
472
  declare const RUN_TERMINAL_STEP_OUTCOME_LABELS: Readonly<Record<RunTerminalStepOutcome, string>>;
457
473
  declare const UNFINISHED_LABEL = "\u672A\u5B8C\u4E86";
458
474
  declare function pipelineRunPresentationKey(run: {
@@ -552,5 +568,5 @@ interface SyncStatusMonitorProps {
552
568
  onRefresh?: () => void;
553
569
  listRefusal?: string;
554
570
  }
555
- declare function SyncStatusMonitor({ counts, totalFiles, failedItems, onRetryAll, onRetryItem, isRetrying, onRefresh, listRefusal }: SyncStatusMonitorProps): React$1.JSX.Element;
556
- export { CHUNKING_ONLY_NOTE, CHUNK_BODY_FIDELITY_LABELS, CHUNK_CHANGE_KIND_LABELS, CHUNK_SOURCE_LABELS, type CircuitBreakerState, type ComparisonHit, type ComparisonInput, type ComparisonOutcome, type ComparisonVariant, type ComparisonVariantResult, type ConfidentialityLevelFilter, DOCUMENT_STATE_CAUSE_LABELS, DegradedSearchBanner, type DegradedSearchBannerProps, type DeveloperSearchPreset, type DiffLinePageQuery, type DiffLinePageReader, type DiffLineTarget, DocumentChangeFeed, type DocumentChangeFeedProps, type DocumentComparisonQuery, type DocumentHistoryHost, DocumentHistoryInspector, type DocumentHistoryInspectorProps, type DocumentHistoryReads, type DocumentHistoryTarget, DocumentIngestConsole, type DocumentIngestConsoleProps, type DocumentIngestLabel, type DocumentIngestPayload, type DocumentStateCapture, EnrichmentStrategyBoard, type EnrichmentStrategyBoardProps, type EnrichmentStrategyRow, FACET_LABELS, FAILED_RUN_STATE_MARK, FIELD_LABELS, FLOW_FOCUS_RING, FLOW_GEOMETRY, FLOW_NODE_TEXT, type FailedSyncEntry, type FailedSyncItem, type FileInspectionResult, FinishedInstant, type FinishedInstantProps, type FlowGeometry, type FlowLayout, type FusionStrategy, GATE_POLICY_LABELS, GATE_STATE_PRESENTATION, type GateState, HISTORY_REFUSAL, InfrastructureHealthMonitor, type InfrastructureHealthMonitorProps, type IngestCapabilityPolicy, type IngestDomainOption, type IngestRowAction, type LaidOutEdge, type LaidOutStep, MODEL_ONLY_CHANGE_MARK, type MetadataSearchHit, type MetadataSearchParams, type MetadataSearchResult, MetadataSearchWorkbench, type MetadataSearchWorkbenchProps, ModelComparisonWorkbench, type ModelComparisonWorkbenchProps, NOTHING_TO_READ_LABELS, NO_ENRICHMENT_RECORD_TEXT, NO_PREVIOUS_RECORD_TEXT, type OntologyClassItem, type OntologyPredicateItem, OntologyStatusCard, type OntologyStatusCardProps, type OntologyStatusData, PHASE_LABELS, PIPELINE_RUN_STATUS_PRESENTATION, PIPELINE_STEP_STATUS_PRESENTATION, PIPELINE_TRIGGER_LABELS, PipelineFlowViewer, type PipelineFlowViewerProps, type PipelineRunPresentationKey, type QdrantCollectionInfo, type QdrantCollectionSelection, type QdrantHealthInfo, type QdrantResourceUsage, QdrantStorageCard, type QdrantStorageCardProps, type QdrantStorageOverview, REASON_LABELS, RESTRICTED_DOCUMENT_TEXT, RESTRICTED_RUN_TEXT, RESTRICTED_STATE_TEXT, RUN_TERMINAL_STEP_LABEL, RUN_TERMINAL_STEP_OUTCOME_LABELS, type RankAgreement, type RecentIngestEntry, type RecentIngestItem, type RecentIngestLastRun, RecordedInstant, type RecordedInstantProps, SCORE_DISPLAY_DECIMALS, SEARCH_MODE_LABELS, SEARCH_PRESETS, type SearchAuthzScopes, type SearchHitGraphRelation, type SearchHitScoreBreakdown, type SearchMetadataLike, type ServiceHealthStatus, type StatusPresentation, type StepGatePolicy, type StepGateState, type StepStatusPresentation, type StrategyProvenance, type SyncStatusCounts, SyncStatusMonitor, type SyncStatusMonitorProps, type SystemInfrastructureHealth, UNFINISHED_LABEL, UNRECORDED_RUN_MARK, UNVERIFIED_CHUNK_NOTE, WHITESPACE_NORMALIZED_NOTE, facetCountsText, fieldLabel, formatComparisonScore, gateCaption, gateState, gateStateOf, historyFailedSentence, historyFailureSentence, ingestRowAction, jsonValueText, layoutFlow, ledgerStepLabel, pipelineRunPresentationKey, rankAgreement, revisionLabel, revisionTransitionText, skipReasonLabel, stepGatePolicy, stepGateState, unrecordedRunsMark };
571
+ declare function SyncStatusMonitor({ counts, totalFiles, failedItems, onRetryAll, onRetryItem, isRetrying, onRefresh, listRefusal }: SyncStatusMonitorProps): React.JSX.Element;
572
+ export { BREAKER_STATE_LABELS, CHUNKING_ONLY_NOTE, CHUNK_BODY_FIDELITY_LABELS, CHUNK_CHANGE_KIND_LABELS, CHUNK_SOURCE_LABELS, CONFIDENTIALITY_LEVEL_LABELS, type ComparisonVariant, DEGRADATION_REASON_LABELS, DOCUMENT_STATE_CAUSE_LABELS, DegradedSearchBanner, type DegradedSearchBannerProps, type DeveloperSearchPreset, type DiffLinePageQuery, type DiffLinePageReader, type DiffLineTarget, DocumentChangeFeed, type DocumentChangeFeedProps, type DocumentComparisonQuery, type DocumentGraphRelation, type DocumentHistoryHost, DocumentHistoryInspector, type DocumentHistoryInspectorProps, type DocumentHistoryReads, type DocumentHistoryTarget, DocumentIngestConsole, type DocumentIngestConsoleProps, type DocumentIngestLabel, type DocumentIngestPayload, type DocumentScores, type DocumentSearchAnswer, type DocumentSearchAuthzScopes, type DocumentSearchExecutedTiers, type DocumentSearchHit, type DocumentSearchMetadata, type DocumentSearchParams, type DocumentStateCapture, type DocumentVectorScore, type DocumentVectorScoreKind, EnrichmentStrategyBoard, type EnrichmentStrategyBoardProps, type EnrichmentStrategyRow, FACET_LABELS, FAILED_RUN_STATE_MARK, FIELD_LABELS, FLOW_FOCUS_RING, FLOW_GEOMETRY, FLOW_NODE_TEXT, type FailedSyncEntry, type FailedSyncItem, type FileInspectionResult, FinishedInstant, type FinishedInstantProps, type FlowGeometry, type FlowLayout, GATE_POLICY_LABELS, GATE_STATE_PRESENTATION, type GateState, HIDDEN_FIELD_TEXT, HISTORY_REFUSAL, INERT_STAGE_NOTE, InfrastructureHealthMonitor, type InfrastructureHealthMonitorProps, type IngestCapabilityPolicy, type IngestDomainOption, type IngestRowAction, type LaidOutEdge, type LaidOutStep, MODEL_ONLY_CHANGE_MARK, MetadataSearchWorkbench, type MetadataSearchWorkbenchProps, ModelComparisonWorkbench, type ModelComparisonWorkbenchProps, NOTHING_TO_READ_LABELS, NO_ENRICHMENT_RECORD_TEXT, NO_PREVIOUS_RECORD_TEXT, type OntologyClassItem, type OntologyPredicateItem, OntologyStatusCard, type OntologyStatusCardProps, type OntologyStatusData, PHASE_LABELS, PIPELINE_RUN_STATUS_PRESENTATION, PIPELINE_STEP_STATUS_PRESENTATION, PIPELINE_TRIGGER_LABELS, PipelineFlowViewer, type PipelineFlowViewerProps, type PipelineRunPresentationKey, QUALITY_TIER_LABELS, type QdrantCollectionInfo, type QdrantCollectionSelection, type QdrantHealthInfo, type QdrantResourceUsage, QdrantStorageCard, type QdrantStorageCardProps, type QdrantStorageOverview, RESTRICTED_DOCUMENT_TEXT, RESTRICTED_RUN_TEXT, RESTRICTED_STATE_TEXT, RUN_TERMINAL_STEP_LABEL, RUN_TERMINAL_STEP_OUTCOME_LABELS, type RankAgreement, type RecentIngestEntry, type RecentIngestItem, type RecentIngestLastRun, type RecentIngestUnlock, RecordedInstant, type RecordedInstantProps, SCORE_DECIMALS, SCORE_DISPLAY_DECIMALS, SEARCH_FUSION_LABELS, SEARCH_MODE_LABELS, SEARCH_PRESETS, type ServiceHealthStatus, type StatusPresentation, type StepGatePolicy, type StepGateState, type StepStatusPresentation, type StrategyProvenance, type SyncStatusCounts, SyncStatusMonitor, type SyncStatusMonitorProps, type SystemInfrastructureHealth, UNFINISHED_LABEL, UNRECORDED_RUN_MARK, UNVERIFIED_CHUNK_NOTE, type VariantComparisonAnswer, type VariantComparisonInput, type VariantHit, type VariantResult, WHITESPACE_NORMALIZED_NOTE, degradationReasonText, documentKindLabel, facetCountsText, fieldLabel, gateCaption, gateState, gateStateOf, historyFailedSentence, historyFailureSentence, ingestRowAction, jsonValueText, layoutFlow, ledgerStepLabel, pipelineRunPresentationKey, rankAgreement, revisionLabel, revisionTransitionText, skipReasonLabel, stepGatePolicy, stepGateState, unrecordedRunsMark, variantHitKey, vectorScoreText };