/** * Like Partial, but also makes particular properties Partial one level deep. */ export type MakePartial = Partial> & { [K in PartialKeys]?: Partial; }; /** * Grabs the value of an item or item-returning function. * @param value Item or item-returning function. */ export declare const obtainValue: (value: (() => T) | T) => T; /** * Grabs a single random member of an array. * @template T Type of items in the array. * @param array Array of items. */ export declare const randomArrayMember: (array: readonly T[]) => T; /** * Creates a shuffled version of an array. * @template T Type of items in the array. * @param array Array to copy. * @returns Shuffled version of the array. */ export declare const shuffleArray: (array: readonly T[]) => T[];