export declare function sha256(string: string): Promise<string>;
export declare function getRandomUUID(): string;
export declare function getObjectId(object: any): Promise<string>;
/**
 * returns a random list of elements of the array. It is possible that elements from the provided array will be repeated.
 * @param arr an array
 * @param elementCount the number of elements returned
 * @returns an array array the size of elementCount with random elements from arr. Elements might be repeated!
 */
export declare function getRandomElements(arr: any[], elementCount: number): any[];
/**
 * returns a random set of elements of the array. It is not possible that elements from the provided array will be repeated.
 * @param arr an array
 * @param elementCount the number of elements returned that must be smaller than the elementCound.
 * @returns an array array the size of elementCount with random elements from arr. Elements won't be repeated!
 */
export declare function getRandomSet<T>(arr: T[], elementCount: number): T[];
export declare function getTimeBasedAddress(address: string): Promise<string>;
export declare function getRandomNumber(max: number, min?: number): Promise<number>;
//# sourceMappingURL=crypto.d.ts.map