UNPKG

kuvio

Version:

Create string patterns and derive things from them, such as regexes

16 lines (13 loc) 615 B
import * as FastCheck from 'fast-check'; import { A as Atom, Q as QuantifiedAtom, P as Pattern } from './types-b1ba45f9.js'; /** @internal */ declare const arbitraryFromAtom: (atom: Atom) => FastCheck.Arbitrary<string>; /** @internal */ declare const arbitraryFromQuantifiedAtom: (quantifiedAtom: QuantifiedAtom) => FastCheck.Arbitrary<string>; /** * Construct a `fast-check` `Arbitrary` instance from a given `Pattern`. * * @since 1.0.0 */ declare const arbitraryFromPattern: (pattern: Pattern) => FastCheck.Arbitrary<string>; export { arbitraryFromAtom, arbitraryFromPattern, arbitraryFromQuantifiedAtom };