/*! * @license * Copyright Squiz Australia Pty Ltd. All Rights Reserved. */ import { AnyFunction, StringFunction } from '@squiz/mercury-support'; /** * Creates a concrete implementation of "createKey" for "randomObject". * @export * @param {StringFunction} [createKey] An optional factory to use to create the random keys. * @returns {StringFunction} Thee created factory to use to create keys. */ export declare function createConcreteCreateKey(createKey?: StringFunction): StringFunction; /** * Generate a random Object with random values. * @export * @param {number} [length] How many random keys to create. * @param {StringFunction} [createKey] An optional factory to use to create the random keys. * @param {StringFunction} [createValue] An optional factory to use to create the random values. * @returns {Record} The created random Object. */ export declare function randomObject(length?: number, createKey?: StringFunction, createValue?: T): Record>;