1 | /**
|
2 | * Generate randomized strings of a specified length using simple character sequences. The original generate-password.
|
3 | */
|
4 | declare function randomatic(pattern: string, length?: number, options?: randomatic.Options): string;
|
5 | declare function randomatic(pattern: string, options?: randomatic.Options): string;
|
6 | declare function randomatic(length: number): string;
|
7 |
|
8 | declare namespace randomatic {
|
9 | const isCrypto: boolean;
|
10 |
|
11 | interface Options {
|
12 | chars?: string | undefined;
|
13 | exclude?: string | string[] | undefined;
|
14 | }
|
15 | }
|
16 |
|
17 | export = randomatic;
|