1 | import { Arbitrary } from '../check/arbitrary/definition/Arbitrary';
|
2 | import { StringSharedConstraints } from './_internals/helpers/StringConstraintsExtractor';
|
3 | export { StringSharedConstraints } from './_internals/helpers/StringConstraintsExtractor';
|
4 | /**
|
5 | * For strings of {@link fullUnicode}
|
6 | * @remarks Since 0.0.11
|
7 | * @public
|
8 | */
|
9 | declare function fullUnicodeString(): Arbitrary<string>;
|
10 | /**
|
11 | * For strings of {@link fullUnicode}
|
12 | *
|
13 | * @param maxLength - Upper bound of the generated string length
|
14 | *
|
15 | * @deprecated
|
16 | * Superceded by `fc.fullUnicodeString({maxLength})` - see {@link https://github.com/dubzzz/fast-check/issues/992 | #992}.
|
17 | * Ease the migration with {@link https://github.com/dubzzz/fast-check/tree/main/codemods/unify-signatures | our codemod script}.
|
18 | *
|
19 | * @remarks Since 0.0.11
|
20 | * @public
|
21 | */
|
22 | declare function fullUnicodeString(maxLength: number): Arbitrary<string>;
|
23 | /**
|
24 | * For strings of {@link fullUnicode}
|
25 | *
|
26 | * @param minLength - Lower bound of the generated string length
|
27 | * @param maxLength - Upper bound of the generated string length
|
28 | *
|
29 | * @deprecated
|
30 | * Superceded by `fc.fullUnicodeString({minLength, maxLength})` - see {@link https://github.com/dubzzz/fast-check/issues/992 | #992}.
|
31 | * Ease the migration with {@link https://github.com/dubzzz/fast-check/tree/main/codemods/unify-signatures | our codemod script}.
|
32 | *
|
33 | * @remarks Since 0.0.11
|
34 | * @public
|
35 | */
|
36 | declare function fullUnicodeString(minLength: number, maxLength: number): Arbitrary<string>;
|
37 | /**
|
38 | * For strings of {@link fullUnicode}
|
39 | *
|
40 | * @param constraints - Constraints to apply when building instances
|
41 | *
|
42 | * @remarks Since 2.4.0
|
43 | * @public
|
44 | */
|
45 | declare function fullUnicodeString(constraints: StringSharedConstraints): Arbitrary<string>;
|
46 | export { fullUnicodeString };
|