/// /// import { ReadStream } from 'fs'; import libStream = require("stream"); import { Readable } from "stream"; import { JobOptInputs } from './common/jobopt_model'; export type uuid = string; export interface stringMap { [s: string]: string; } export declare function isStringMap(obj: any): obj is stringMap; export interface stringMapOpt { [s: string]: string | undefined; } export declare function isStringMapOpt(obj: any): obj is stringMapOpt; export interface streamMap { [s: string]: libStream.Readable; } export declare function isStreamMap(obj: any): obj is streamMap; export interface streamOrStringMap { [s: string]: libStream.Readable | string; } export declare function isStreamOrStringMap(obj: any): obj is streamOrStringMap; export declare function isRecordOfStringToStringOrNumber(obj: any): obj is Record; export declare function isStringToStringOrStreamRecord(obj: any): obj is Record; export interface InputDataSocket { [s: string]: ReadStream | Path; } export declare function isInputDataSocket(obj: any): obj is InputDataSocket; export declare function isReadableStream(obj: any): obj is Readable; export declare function isValidJobOptInputs(obj: any): obj is JobOptInputs; export declare function isArrayOfString(obj: any): obj is string[]; export declare function isReadableOrString(obj: any): obj is Readable | string; export type Path = string; export declare function isPath(maybePath: string): maybePath is Path; export declare function isReadableOrPath(obj: any): obj is Readable | Path;