import { Service } from "../../services/service"; /** @internal */ export declare const UTILITIES_SVC = "UtilitiesService"; export declare class UtilitiesService extends Service { /** * @internal * */ static getInstance(): UtilitiesService; /** * @internal * */ static build(): UtilitiesService; private rtlDirCheck; private usableRandomChars; private constructor(); /** * @internal * */ asyncForEach(array: T[], callback: (item: T, index: number, array: T[]) => Promise): Promise; /** * @internal * */ isRTL(str: string): boolean; /** * @internal * */ randomString(length?: number): string; /** * @internal * */ getUUID(): string; /** * @internal * */ addUrlParameter(url: string, urlParameter: any): string; /** * @internal * */ isNumeric(str: any): boolean; /** * @internal * */ asyncTimeout(ms: number): Promise; /** * @internal * */ selectRandomly(possibilities: any[]): any; /** * @internal * */ arrayMove(arr: any[], oldIndex: number, newIndex: number): void; /** * @internal * */ removeSpecialChars(initialStr: string): string; getBase64Image(url: string): Promise; /** * Method checks for validity of an API Url for security reasons * @param environmentApiUrl - url to check * @returns true if environment is valid, false otherwise */ checkEnvironmentApiUrl(environmentApiUrl: string): Promise; } export declare const asyncForEach: (array: any[], callback: any) => Promise; export declare const roundTo: (value: number, decimals?: number) => number; /** * Get the unique YouTube video ID from its URL. * The ID of a YouTube video is used to uniquely identify each video on the platform. * This ID allows you to find the video precisely in the YouTube database and access it directly via its unique URL. */ export declare const getYoutubeVideoIdFromURL: (url: string) => string; /** * Computes the MD5 hash of a given value encoded in Latin-1. * The input is first parsed using Latin-1 encoding before hashing, * and the result is returned as a hexadecimal string. * @param date - The value to hash (typically a string or date-like value) * @returns The MD5 hash as a lowercase hexadecimal string */ export declare const MD5: (date: any) => string; //# sourceMappingURL=utilities.service.d.ts.map