UNPKG

harmonyc

Version:

Harmony Code - model-driven BDD for Vitest

23 lines (22 loc) 546 B
import type { Branch } from './model.ts'; export declare class Router<N> { outs: N[]; index: number; random: () => number; started: Set<N>; covered: Set<N>; constructor(outs: N[], seed?: string); next(): N; get incompleteCount(): number; } type N = Branch; export declare class Routers { private root; routers: Map<Branch, Router<Branch>>; constructor(root: N); discover(branch: N): void; get(branch: N): Router<Branch>; nextWalk(): Branch[]; getIncompleteCount(): number; } export {};