UNPKG

512 BTypeScriptView Raw
1import type { Arbitrary } from '../check/arbitrary/definition/Arbitrary.js';
2import type { JsonSharedConstraints } from './_internals/helpers/JsonConstraintsBuilder.js';
3export type { JsonSharedConstraints };
4/**
5 * For any JSON strings
6 *
7 * Keys and string values rely on {@link string}
8 *
9 * @param constraints - Constraints to be applied onto the generated instance (since 2.5.0)
10 *
11 * @remarks Since 0.0.7
12 * @public
13 */
14export declare function json(constraints?: JsonSharedConstraints): Arbitrary<string>;