/** * Wraps text to fit within a specified width, breaking at word boundaries. * * @param text - The text to wrap * @param width - The maximum width in characters (default: 80) * @returns The wrapped text with line breaks * * @example * ```javascript * const wrapped = wrapText("This is a very long text that needs to be wrapped to fit within an 80 character width.", 20); * console.log(wrapped); * // Output: * // This is a very * // long text that * // needs to be * // wrapped to fit * // within an 80 * // character width. * ``` */ declare function wrapText(text: string, width?: number): string; export { wrapText };