wrapString.d.ts
1  /**
2   * Creates an array of strings split into groups the length of size.
3   * This function works with strings that contain ASCII characters.
4   *
5   * wrapText is different from would-be "chunk" implementation
6   * in that whitespace characters that occur on a chunk size limit are trimmed.
7   *
8   */
9  export declare const wrapString: (subject: string, size: number) => string[];