/// import { Consumer } from "andross"; import { ICollectors, IStream, IStreamFactory, ITry, ITryFactory } from "../main"; /** @internal */ export declare function Expect(stream: IStream): Chai.Assertion; /** @internal */ export declare function expectTry(ATry: ITry, success: boolean, handler?: Consumer): void; /** @internal */ export declare function toObj(map: Map): { [s: string]: any; }; /** @internal */ export declare function setOf(...items: T[]): Set; /** @internal */ export declare class StreamTest { protected factory: IStreamFactory; constructor(factory: IStreamFactory); protected stream(iterable: Iterable, preparer: (stream: IStream) => IStream): Chai.Assertion; protected terminal(iterable: Iterable, preparer: (stream: IStream) => S): Chai.Assertion; protected promiseMe(iterable: Iterable, preparer: (stream: IStream) => Promise): Promise; protected action(iterable: Iterable, preparer: (stream: IStream) => void): Chai.Assertion; protected inf(): IStream; } /** @internal */ export interface IMain { Collectors: ICollectors; InplaceStreamFactory: IStreamFactory; TryFactory: ITryFactory; TypesafeStreamFactory: IStreamFactory; consumeFirst: (iterable: Iterable, sink: T[] | Consumer) => Iterable; monkeyPatch: (inplace?: boolean, force?: boolean) => void; } export declare function load(action: Consumer): void;