/** * Public surface of `@docmost/git-sync`. * * Phase A (plan ยง12.A) vendors only the PURE converter + pure engine modules * from docmost-sync. Server integration (GitmostDataSource, orchestrator, * VaultGit, pull/push) is added in later steps. */ export { serializeDocmostMarkdown, serializeDocmostMarkdownBody, parseDocmostMarkdown, convertProseMirrorToMarkdown, markdownToProseMirror, canonicalizeContent, docsCanonicallyEqual, } from "./lib/index"; export type { DocmostMdMeta } from "./lib/index"; export { planReconciliation, decideAbsenceDeletions, MASS_DELETE_MIN_EXISTING, MASS_DELETE_FRACTION, } from "./engine/reconcile"; export type { LiveEntry, ExistingEntry, WriteEntry, MovedEntry, ReconciliationPlan, DeletionDecision, } from "./engine/reconcile"; export { buildVaultLayout } from "./engine/layout"; export type { PageNode, VaultEntry } from "./engine/layout"; export { sanitizeTitle, disambiguate } from "./engine/sanitize"; export { stabilizePageFile } from "./engine/stabilize"; export type { PageMeta } from "./engine/stabilize"; export { bodyHash } from "./engine/loop-guard"; export type { GitSyncClient, GitSyncPageNodeLite } from "./engine/client.types"; export { VaultGit, vaultGitEnv, buildCommitMessage, BOT_AUTHOR_NAME, BOT_AUTHOR_EMAIL, DEFAULT_BRANCH, } from "./engine/git"; export type { DiffEntry, MergeResult, CommitOptions } from "./engine/git"; export { readExisting, computePullActions, applyPullActions, } from "./engine/pull"; export type { ReadExistingDeps, PullActionsInput, PullActions, ApplyPullActionsDeps, ApplyResult, } from "./engine/pull"; export { classifyRenameMoves, computePushActions, applyPushActions, runPush, parentFolderFile, parseArgs, LAST_PUSHED_REF, DOCMOST_BRANCH, LOCAL_AUTHOR_NAME, LOCAL_AUTHOR_EMAIL, LOCAL_SOURCE_TRAILER, } from "./engine/push"; export type { CreateAction, UpdateAction, DeleteAction, RenameMoveAction, RenameMoveActionClassified, ClassifyRenameMovesDeps, PushActions, PushActionsInput, MetaSide, ApplyPushDeps, WrittenBackPage, PushedPageRecord, PushFailure, PushNoop, ApplyPushResult, PushDeps, PushRunResult, PushParsedArgs, } from "./engine/push"; export { parseSettings, envSchema } from "./engine/settings"; export type { Settings } from "./engine/settings"; export { loadSettingsOrExit } from "./engine/config-errors";