taraskevizer
Version:
Канвэртацыя акадэмічнага правапісу ў клясычны
25 lines (24 loc) • 744 B
TypeScript
import type { TaraskStep } from './types';
/**
* Created in {@link resolveSpecialSyntax}.
*
* Emptied in {@link applyNoFix}.
*/
export type SpecialSyntaxStorage = {
noFixArr: string[];
};
/**
* Brings parts from {@link SpecialSyntaxStorage} back to the text.
*
* Empties {@link SpecialSyntaxStorage.noFixArr}.
*/
export declare const applyNoFix: TaraskStep<SpecialSyntaxStorage>;
/**
* Captures noFix parts and stores them in {@link SpecialSyntaxStorage.noFixArr}.
* Places a {@link TaraskConfig.noFixPlaceholder} in their place.
*
* Use {@link applyNoFix} to bring the parts back to the text.
*
* Creates storage: {@link SpecialSyntaxStorage}.
*/
export declare const resolveSpecialSyntax: TaraskStep<SpecialSyntaxStorage>;