/** * @name splitEvery * @namespace shared.string * @type Function * @platform js * @platform node * @status stable * * Split a string every n chars either by taking care of not spliting the words, or by simply spliting without any attention to that... * * @param {String} text The text to split * @param {Number} every How many characters to split the text * @param {Partial ['He','ll','o ','Wo','rl','d'] * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export type TSplitEverySettings = { splitWords: boolean; }; export default function __splitEvery(text: string, every: number, settings?: Partial): string[];