UNPKG

taraskevizer

Version:

Канвэртацыя акадэмічнага правапісу ў клясычны

21 lines (20 loc) 566 B
/** * Created in {@link whitespacesToSpaces}. * * Emptied in {@link restoreWhitespaces}. */ export type WhiteSpaceStorage = { spaces: string[]; }; /** * Captures all whitespaces and replaces them with a single space. * * Creates storage: {@link WhiteSpaceStorage}. */ export declare const whitespacesToSpaces: import("./types").TaraskStep<WhiteSpaceStorage>; /** * Brings original whitespaces back to the text. * * Empties {@link WhiteSpaceStorage.spaces}. */ export declare const restoreWhitespaces: import("./types").TaraskStep<WhiteSpaceStorage>;