principles-disciple 1.245.1 → 1.245.2

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.
@@ -10,7 +10,7 @@
10
10
  * - Cache invalidated after every write (D-05)
11
11
  * - 200-term hard cap enforced before any write (T-38-01)
12
12
  */
13
- import type { CorrectionKeyword, CorrectionKeywordStore, CorrectionMatchResult } from './correction-types.js';
13
+ import type { CorrectionKeyword, CorrectionKeywordStore } from './correction-types.js';
14
14
  export declare function _resetCorrectionCueCache(): void;
15
15
  export declare function loadCorrectionKeywordStore(stateDir: string): CorrectionKeywordStore;
16
16
  export declare function saveCorrectionKeywordStore(stateDir: string, store: CorrectionKeywordStore): void;
@@ -19,8 +19,6 @@ export declare class CorrectionCueLearner {
19
19
  private readonly store;
20
20
  private readonly stateDir;
21
21
  constructor(stateDir: string);
22
- match(text: string): CorrectionMatchResult;
23
- recordHits(terms: string[]): void;
24
22
  recordTruePositive(term: string): void;
25
23
  recordFalsePositive(term: string): void;
26
24
  add(keyword: Omit<CorrectionKeyword, 'addedAt'>): void;
@@ -1,3 +1,3 @@
1
- import type { CorrectionKeyword, CorrectionKeywordStore, CorrectionMatchResult } from '@principles/core/runtime-v2';
2
- export type { CorrectionKeyword, CorrectionKeywordStore, CorrectionMatchResult, };
1
+ import type { CorrectionKeyword, CorrectionKeywordStore } from '@principles/core/runtime-v2';
2
+ export type { CorrectionKeyword, CorrectionKeywordStore, };
3
3
  export { MAX_CORRECTION_KEYWORDS, CORRECTION_SEED_KEYWORDS, } from '@principles/core/runtime-v2';