/** * MRSF — Public API (library surface). * * Usage: * import { validate, reanchorFile, addComment, ... } from "mrsf"; */ import * as discovery from "./lib/discovery.js"; import * as resolveFiles from "./lib/resolve-files.js"; import * as parser from "./lib/parser.js"; import * as writer from "./lib/writer.js"; import * as validator from "./lib/validator.js"; import * as fuzzy from "./lib/fuzzy.js"; import * as git from "./lib/git.js"; import * as reanchor from "./lib/reanchor.js"; import * as anchorContext from "./lib/anchor-context.js"; import * as globalReconciliation from "./lib/global-reconciliation.js"; import * as revisionProjection from "./lib/revision-projection.js"; import * as confidenceCalibration from "./lib/confidence-calibration.js"; import * as comments from "./lib/comments.js"; import * as identity from "./lib/identity.js"; import * as validateCore from "./lib/validate-core.js"; import { mrsfSchema } from "./lib/schema.js"; export type { MrsfDocument, Comment, CommentExtensions, CommentExtensionValue, MrsfConfig, DiagnosticSeverity, ValidationDiagnostic, ValidationResult, ReanchorStatus, ReanchorResult, AnchorPosition, FuzzyCandidate, DiffHunk, AddCommentOptions, EditCommentOptions, CommentFilter, AnchorHealth, StatusResult, BaseOptions, ReanchorOptions, ValidateOptions, } from "./lib/types.js"; export declare const findWorkspaceRoot: typeof discovery.findWorkspaceRoot; export declare const loadConfig: typeof discovery.loadConfig; export declare const discoverSidecar: typeof discovery.discoverSidecar; export declare const sidecarToDocument: typeof discovery.sidecarToDocument; export declare const discoverAllSidecars: typeof discovery.discoverAllSidecars; export declare const resolveSidecarPaths: typeof resolveFiles.resolveSidecarPaths; export declare const parseSidecar: typeof parser.parseSidecar; export declare const parseSidecarContent: typeof parser.parseSidecarContent; export declare const parseSidecarLenient: typeof parser.parseSidecarLenient; export declare const parseSidecarContentLenient: typeof parser.parseSidecarContentLenient; export declare const readDocumentLines: typeof parser.readDocumentLines; export type { LenientParseResult } from "./lib/parser.js"; export declare const computeHash: typeof writer.computeHash; export declare const syncHash: typeof writer.syncHash; export declare const toYaml: typeof writer.toYaml; export declare const toJson: typeof writer.toJson; export declare const writeSidecar: typeof writer.writeSidecar; export declare const validate: typeof validator.validate; export declare const validateFile: typeof validator.validateFile; export declare const validateDocument: typeof validateCore.validateDocument; export { mrsfSchema }; export declare const exactMatch: typeof fuzzy.exactMatch; export declare const normalizedMatch: typeof fuzzy.normalizedMatch; export declare const fuzzySearch: typeof fuzzy.fuzzySearch; export declare const combinedScore: typeof fuzzy.combinedScore; export declare const isGitAvailable: typeof git.isGitAvailable; export declare const findRepoRoot: typeof git.findRepoRoot; export declare const getGitUserName: typeof git.getGitUserName; export declare const getCurrentCommit: typeof git.getCurrentCommit; export declare const resolveCommit: typeof git.resolveCommit; export declare const isStale: typeof git.isStale; export declare const getDiff: typeof git.getDiff; export declare const getLineShift: typeof git.getLineShift; export declare const getFileAtCommit: typeof git.getFileAtCommit; export declare const getStagedFiles: typeof git.getStagedFiles; export declare const detectRenames: typeof git.detectRenames; export declare const parseDiffHunks: typeof git.parseDiffHunks; export declare const DEFAULT_THRESHOLD = 0.6; export declare const HIGH_THRESHOLD = 0.8; export declare const reanchorComment: typeof reanchor.reanchorComment; export declare const reanchorDocumentLines: typeof reanchor.reanchorDocumentLines; export declare const reanchorDocumentText: typeof reanchor.reanchorDocumentText; export declare const toReanchorLines: typeof reanchor.toReanchorLines; export declare const resolveAnchor: typeof reanchor.resolveAnchor; export declare const reanchorDocument: typeof reanchor.reanchorDocument; export declare const applyReanchorResults: typeof reanchor.applyReanchorResults; export declare const reanchorFile: typeof reanchor.reanchorFile; export declare const createAnchorContextIndex: typeof anchorContext.createAnchorContextIndex; export declare const reconcileCommentAnchors: typeof globalReconciliation.reconcileCommentAnchors; export declare const createRevisionProjection: typeof revisionProjection.createRevisionProjection; export declare const calibrateAnchorEvidence: typeof confidenceCalibration.calibrateAnchorEvidence; export type { AnchorContextIndex, ContextAnchorCandidate, ContextAnchorResolution, } from "./lib/anchor-context.js"; export type { ProjectedAnchor, RevisionProjectionIndex, } from "./lib/revision-projection.js"; export type { CalibratedAnchor, ConfidenceBand, } from "./lib/confidence-calibration.js"; export declare const addComment: typeof comments.addComment; export declare const editComment: typeof comments.editComment; export declare const normalizeCommentExtensions: typeof comments.normalizeCommentExtensions; export declare const populateSelectedText: typeof comments.populateSelectedText; export declare const resolveComment: typeof comments.resolveComment; export declare const unresolveComment: typeof comments.unresolveComment; export declare const removeComment: typeof comments.removeComment; export declare const filterComments: typeof comments.filterComments; export declare const getThreads: typeof comments.getThreads; export declare const summarize: typeof comments.summarize; export type { CommentSummary, RemoveCommentOptions } from "./lib/comments.js"; export declare const formatAuthor: typeof identity.formatAuthor; export declare const parseAuthor: typeof identity.parseAuthor; export declare const newCommentId: typeof identity.newCommentId; export type { ParsedAuthor } from "./lib/identity.js"; //# sourceMappingURL=index.d.ts.map