/** * Trims whitespace from the left side of a string up to the offset * @param {*} str * @param {*} offset */ export declare function trimLeftMax(str: string, offset: number): string; /** * Trims a multiline string * @param buffer * @param offset */ export declare function trimMultiQuote(buffer: string, offset: number): string; /** * Truncates a string to the given length, adding ellipsis * * @param str * @param len */ export declare function truncate(str: string, len?: number, ellipsis?: string): string; /** * Slugifys a string * * https://lucidar.me/en/web-dev/how-to-slugify-a-string-in-javascript/ * * @param value */ export declare function slugify(value: string): string; /** * Adds single quotes to a string if it does not already have them * * @param str * @returns */ export declare function ensureQuotes(str: string, quoteChar?: string): string; /** * Removes single or double quotes from a string * * @param str * @returns */ export declare function removeQuotes(str: string): string;