import type { Segment } from './types.js'; /** Splits the text into segments, marking what must not be modified. */ export declare function segment(text: string): Segment[]; /** Joins segments back into a single string. */ export declare function join(segments: Segment[]): string; /** Returns only the text of the protected segments, in order. */ export declare function protectedTexts(segments: Segment[]): string[]; //# sourceMappingURL=segment.d.ts.map