1 | import { Arbitrary } from './Arbitrary';
|
2 | import { ArbitraryWithContextualShrink } from './ArbitraryWithContextualShrink';
|
3 | import { NextArbitrary } from './NextArbitrary';
|
4 | /**
|
5 | * Convert an instance of NextArbitrary to an instance of Arbitrary
|
6 | * @param arb - The instance to be converted
|
7 | * @remarks Since 2.15.0
|
8 | * @public
|
9 | */
|
10 | export declare function convertFromNext<T>(arb: NextArbitrary<T>): Arbitrary<T>;
|
11 | /**
|
12 | * Convert an instance of NextArbitrary to an instance of ArbitraryWithContextualShrink
|
13 | * @param arb - The instance to be converted
|
14 | * @param legacyShrunkOnceContext - Default context to be returned when shrunk once
|
15 | * @remarks Since 2.15.0
|
16 | * @public
|
17 | */
|
18 | export declare function convertFromNextWithShrunkOnce<T>(arb: NextArbitrary<T>, legacyShrunkOnceContext: unknown): ArbitraryWithContextualShrink<T>;
|
19 | /**
|
20 | * Convert an instance of Arbitrary to an instance of NextArbitrary
|
21 | * @param arb - The instance to be converted
|
22 | * @remarks Since 2.15.0
|
23 | * @public
|
24 | */
|
25 | export declare function convertToNext<T>(arb: Arbitrary<T>): NextArbitrary<T>;
|