import type { ConstantGenerator, IConstantBuilder } from "../types"; export declare class ConstantBuilder implements IConstantBuilder { #private; /** * Default constructor. * @param generator Function generator responsible for creating constants. */ constructor(generator: ConstantGenerator); /** * Sets the seed or generates a new one. * It's used in case you need consistent results in a test. * @param seed The seed to use to generate the data. * @returns The builder instance. */ seed: (seed?: number | undefined) => IConstantBuilder; /** * Generates one random entry from the constants list. * @returns The generated constant. */ entry: () => T; /** * Generates one or more random entries from the constants list. * @param quantity The number of constants to be generated. * @returns List containing _quantity_ number of constants. */ entries: (quantity: number) => T[]; /** * Generates and return a sample subset of the constants list. * This subset contains unique/non duplicated constants. * @param quantity The number of constants to be generated. * @returns List containing _quantity_ number of constants. */ sample: (quantity: number) => T[]; }