/** * Replacement text normalizer — deterministic paragraph boundary detection. * * Converts a flat `replacement.text` string into structured paragraph blocks * for cross-block (span) targets per D3 normalization rules. */ /** * Normalizes a flat replacement string into paragraph blocks for span targets. * * Rules (per D3): * 1. Normalize line endings (\r\n and \r → \n). * 2. Split paragraph boundaries on \n\n+ (two or more consecutive newlines). * 3. Trim leading/trailing empty chunks after split. * 4. Each separator run (\n\n, \n\n\n, etc.) creates one boundary (no implicit empty paragraphs). * 5. If normalized output has zero blocks, fail with INVALID_INPUT. * 6. Single \n within a chunk remains as inline line break content. */ export declare function normalizeReplacementText(text: string, stepId: string): string[]; //# sourceMappingURL=replacement-normalizer.d.ts.map