import { O as Options, C as Change } from './errors-C5bXmTWu.cjs'; export { L as LocaleData, a as LocaleSource, N as NarrowNbsp, P as PolytypoError, b as PolytypoErrorCode, e as ProtectRange, Q as QuotePair, R as Rule, c as RuleContext, d as RuleId } from './errors-C5bXmTWu.cjs'; /** * `polytypo/text` — text-only entry point. Its module graph excludes `parse5` and the * Micromark/MDX stack entirely (AUDIT_REMEDIATION_AND_RELEASE_PLAN.md 5.1): it imports * `./engine/text-pipeline.js` directly and never `./engine/pipeline.js`, `./modes/html.js` or * `./modes/markdown.js`. * * `mode` is absent from `TextOptions`, since this entry only ever runs `text` mode. `dialect` is * likewise absent — it has no effect in `text` mode even in the aggregate entry (types.ts), so * there is nothing for it to conflict with here. */ type TextOptions = Omit; declare function transform(input: string, options: TextOptions): string; /** * The same pipeline as this entry's `transform`, reporting instead of applying * (spec/rules/analyze.md). Offsets are code-point offsets into `input`. */ declare function analyze(input: string, options: TextOptions): Change[]; export { Change, type TextOptions, analyze, transform };