/** * SourceSuggestionsDialog Component * * Review queue for pending source suggestions and identity corrections * (Phase 2 — identification engine, D1). Lists the sub-threshold / * requiresReview tier of the latest AutoAssignResult so it is actionable * instead of silently dropped: [a]ccept or [s]kip per row, [A] accepts every * high-confidence (>= 0.8) entry, Esc closes. * * Decision semantics live in the pure helpers in * core/auto-source/suggestion-review.ts (shared with `pluginator assign`); * applying/persisting accepted assignments is the caller's job via onAccept * (AppViewRouter routes it through the production applyAssignments path). * * Every row renders exactly 1 terminal line (height={1} + wrap="truncate") * to preserve the virtual-list/viewport invariant (see v2.11.53-57). * * @since v2.13.0 (Phase 2 — identification engine) */ import type React from 'react'; import type { SourceAssignment } from '../../../core/auto-source/auto-source-types.js'; import { type SourceSuggestion } from '../../../core/auto-source/suggestion-review.js'; export interface SourceSuggestionsDialogProps { /** Pending review-queue entries (owned by App state via OverlayDataContext). */ suggestions: SourceSuggestion[]; /** Apply accepted assignments via the production applyAssignments+persist path. */ onAccept: (accepted: SourceAssignment[]) => void; /** Persist the post-decision pending list back to the owning state container. */ onSuggestionsChange: (remaining: SourceSuggestion[]) => void; /** * Called with the entry the user skipped ([s]). The caller persists the * dismissal (PreferencesService.dismissSuggestion keyed by suggestionKey) * so the same suggestion stays hidden across scans until its confidence * increases. Optional: without it, skips stay session-scoped. */ onSkip?: (skipped: SourceSuggestion) => void; onClose: () => void; isActive?: boolean; maxHeight?: number; } export declare function SourceSuggestionsDialog({ suggestions, onAccept, onSuggestionsChange, onSkip, onClose, isActive, maxHeight }: SourceSuggestionsDialogProps): React.ReactElement; //# sourceMappingURL=SourceSuggestionsDialog.d.ts.map