/** At most the first `max` UTF-16 units of `text`, never ending inside a surrogate pair. */ export declare function clipHead(text: string, max: number): string; /** At most the last `max` UTF-16 units of `text`, never starting inside a surrogate pair. */ export declare function clipTail(text: string, max: number): string;