mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
22 lines
541 B
TypeScript
22 lines
541 B
TypeScript
import { GraphPointer } from "clownface";
|
|
import { Writable } from "stream";
|
|
import { Logger } from 'winston';
|
|
import Pipeline from 'barnard59-core/lib/Pipeline';
|
|
import { VariableMap } from 'barnard59-core';
|
|
|
|
interface Runner {
|
|
finished: Promise<any>;
|
|
pipeline: Pipeline;
|
|
}
|
|
|
|
interface Create {
|
|
basePath: string;
|
|
outputStream: Writable;
|
|
variables?: VariableMap;
|
|
logger?: Logger;
|
|
level?: 'error' | 'info' | 'debug';
|
|
}
|
|
|
|
export default function create(ptr: GraphPointer, args?: Create): Promise<Runner>;
|
|
export {};
|