/** * Arabic vowel marks taken out of the text (`bodyText.tashkil`, #376): an * unvocalised edition set from a vocalised source. * * The marks leave the parsed blocks before anything reads them, so the * layout, the contents and the running heads see one text: each block's * `text`, its spans and its source map lose the same characters. The * source map keeps every character left where it was in the source, so a * line still maps back to the words it sets (a mark between two letters is * simply not mapped to); the source itself is never touched. */ import type { ContentBlock } from '../parse/index.js'; import type { TashkilMode } from '../types.js'; /** `text` without the marks `mode` takes out. */ export declare function stripTashkil(text: string, mode: Exclude): string; /** A block without the marks (the same block when it holds none): its * text, source map, spans and title breaks. A formula's TeX is left as * it is. */ export declare function stripBlockTashkil(block: ContentBlock, mode: Exclude): ContentBlock; /** * The blocks as `bodyText.tashkil` sets them: `blocks` itself when the * marks are kept or no block holds one, else every block without them. * Memoised on the (memoised) parsed array, as the outline and the layout * both ask for it. */ export declare function tashkilFor(blocks: ContentBlock[], mode: TashkilMode | undefined): ContentBlock[]; //# sourceMappingURL=tashkil.d.ts.map