export declare function csv(items: Array | string): string; declare type ImageType = 'webp' | 'png'; export declare function avatarUrl(avatarId: string, pixels?: number, imgType?: ImageType): string; interface AvatarItemBase { avatarId: string; avatarUrl(pixels?: number, imgType?: ImageType): string; } /** Add an avatar-URL-generating `avatarUrl()` method to an object that has an `avatarId` field. */ export declare function attachAvatarUrlToItem(item: item): item; /** Add avatar-URL-generating `avatarUrl()` methods to an objects that have an `avatarId` field. */ export declare function attachAvatarUrlToArrayItems(items: item[]): item[]; /** For an HTTP query object, convert all array values into CSVs. */ export declare function cleanQuery(query?: { [param: string]: string | boolean | string[] | number | null | undefined; }): { [param: string]: string | number | boolean; }; export declare function capitalize(string: string): string; export {}; //# sourceMappingURL=utility.d.ts.map