UNPKG

732 BTypeScriptView Raw
1import type { Arbitrary } from '../check/arbitrary/definition/Arbitrary.js';
2import type { UnicodeJsonSharedConstraints } from './_internals/helpers/JsonConstraintsBuilder.js';
3export type { UnicodeJsonSharedConstraints };
4/**
5 * For any JSON strings with unicode support
6 *
7 * Keys and string values rely on {@link unicode}
8 *
9 * @param constraints - Constraints to be applied onto the generated instance (since 2.5.0)
10 *
11 * @deprecated Prefer using {@link json} with `noUnicodeString: false`, it will generate even more unicode strings: includings some having characters outside of BMP plan
12 * @remarks Since 0.0.7
13 * @public
14 */
15export declare function unicodeJson(constraints?: UnicodeJsonSharedConstraints): Arbitrary<string>;