1 | import { StringDistribution } from "../types";
|
2 | /**
|
3 | * Returns a distribution that returns a random string using numbers,
|
4 | * uppercase and lowercase letters, `_`, and `-` of length `length`.
|
5 | * @param length Length of the result string
|
6 | */
|
7 | export declare function string(): StringDistribution;
|
8 | /**
|
9 | * Returns a distribution that returns a random string using the provided
|
10 | * string pool as the possible characters to choose from of length `length`.
|
11 | * @param length Length of the result string
|
12 | */
|
13 | export declare function string(pool: string): StringDistribution;
|