UNPKG

584 BTypeScriptView Raw
1import { Configuration } from "./configuration";
2import { Context } from "./context";
3export interface MarblesFunction {
4 (func: (context: Context) => any): () => any;
5 <T>(func: (context: Context, t: T) => any): (t: T) => any;
6 (func: (context: Context, ...rest: any[]) => any): (...rest: any[]) => any;
7}
8export declare function configure(configuration: Configuration): {
9 marbles: MarblesFunction;
10};
11export declare function configure<T>(factory: (t: T) => Configuration): {
12 marbles: MarblesFunction;
13};
14export declare const marbles: MarblesFunction;