import { O as Options, D as Dialect, C as Change } from './errors-C5bXmTWu.cjs'; export { L as LocaleData, a as LocaleSource, N as NarrowNbsp, P as PolytypoError, b as PolytypoErrorCode, Q as QuotePair, R as Rule, c as RuleContext, d as RuleId } from './errors-C5bXmTWu.cjs'; /** * `polytypo/markdown` โ€” Markdown-only entry point. Its module graph includes the Micromark/MDX * stack and `parse5` (the latter via `./modes/markdown.js` importing `./modes/html.js` for * normative embedded-HTML handling, modes.md 3.7) โ€” both are legitimately reachable here * (AUDIT_REMEDIATION_AND_RELEASE_PLAN.md 5.1). It imports `./engine/markdown-pipeline.js` * directly and never `./engine/pipeline.js`. * * `mode` is absent from `MarkdownOptions`, since this entry only ever runs `markdown` mode. * `dialect` keeps the aggregate entry's contract: required, no default (types.ts). */ type MarkdownOptions = Omit & { dialect: Dialect; }; declare function transform(input: string, options: MarkdownOptions): string; /** * The same pipeline as this entry's `transform`, reporting instead of applying * (spec/rules/analyze.md). Offsets are code-point offsets into `input` โ€” into the document, * not into a span (analyze.md ยง6). */ declare function analyze(input: string, options: MarkdownOptions): Change[]; export { Dialect, type MarkdownOptions, analyze, transform };