/** * @module transforms */ /** * * Joins together several strings or numbers in a properly formatted English list. The last two items are seperated by the word * 'and' and the remaining items are seperated by a comma and space. * * @param items Array of strings * * @example * ```typescript * * const itemsString = toProperList(['apples', 'pears', 'bananas']) // => 'apples, pears and bananas' * ``` * */ export declare function toProperList(items: string[]): string; export declare function toProperList(...items: string[]): string; export default toProperList;