import { MorphSegment } from './types'; export declare function createIdAllocator(): { reserve(id: string): void; has(id: string): boolean; take(base: string): string; }; export type IdAllocator = ReturnType; /** Whitespace-delimited words — the unit the diff aligns on, and so a number's bounds. */ export declare function groupIntoWords(segments: MorphSegment[]): { word: string; segments: MorphSegment[]; }[]; export declare function segmentText(value: string, locale: string, numbers?: boolean): MorphSegment[];