import { CommandInputParameter } from "../../mappings/d2sb/CommandInputParameter"; import { CommandLineBinding } from "../../mappings/d2sb/CommandLineBinding"; import { CommandLineTool } from "../../mappings/d2sb/CommandLineTool"; import { CommandOutputParameter } from "../../mappings/d2sb/CommandOutputParameter"; import { Expression } from "../../mappings/d2sb/Expression"; import { ProcessRequirement } from "../../mappings/d2sb/ProcessRequirement"; import { CommandLineToolModel } from "../generic/CommandLineToolModel"; import { ProcessRequirementModel } from "../generic/ProcessRequirementModel"; import { RequirementBaseModel } from "../generic/RequirementBaseModel"; import { Serializable } from "../interfaces/Serializable"; import { SBDraft2CommandArgumentModel } from "./SBDraft2CommandArgumentModel"; import { SBDraft2CommandInputParameterModel } from "./SBDraft2CommandInputParameterModel"; import { SBDraft2CommandOutputParameterModel } from "./SBDraft2CommandOutputParameterModel"; import { SBDraft2CreateFileRequirementModel } from "./SBDraft2CreateFileRequirementModel"; import { SBDraft2ExpressionModel } from "./SBDraft2ExpressionModel"; import { SBDraft2ResourceRequirementModel } from "./SBDraft2ResourceRequirementModel"; import { EnvironmentDef } from "../../mappings/v1.0"; import { EnvironmentDefModel } from "../generic/EnvVarRequirementModel"; export declare class SBDraft2CommandLineToolModel extends CommandLineToolModel implements Serializable { cwlVersion: string; baseCommand: Array; inputs: Array; outputs: Array; resources: SBDraft2ResourceRequirementModel; requirements: Array; fileRequirement: SBDraft2CreateFileRequirementModel; hints: Array; arguments: Array; stdin: SBDraft2ExpressionModel; stdout: SBDraft2ExpressionModel; hasStdErr: boolean; constructor(json?: CommandLineTool, loc?: string); setRuntime(runtime?: any): void; /** * Returns the context object for expressions in supplied port * @param port * @returns {{$job?: {inputs?: any; allocatedResources?: any}; $self?: any}} */ getContext(port?: any): { $job?: { inputs?: any; allocatedResources?: any; }; $self?: any; }; /** * Resets job value to dummy values */ resetJobDefaults(): void; addHint(hint?: ProcessRequirement | any): RequirementBaseModel; addBaseCommand(cmd?: Expression | string | number): SBDraft2ExpressionModel; updateBaseCommand(cmd: SBDraft2ExpressionModel[]): void; addArgument(arg?: string | CommandLineBinding): SBDraft2CommandArgumentModel; addInput(input?: CommandInputParameter): SBDraft2CommandInputParameterModel; addOutput(output: CommandOutputParameter): SBDraft2CommandOutputParameterModel; createEnvVariable(env: EnvironmentDef, type: "expression" | "string"): EnvironmentDefModel; setRequirement(req: ProcessRequirement, hint?: boolean): void; updateStream(stream: SBDraft2ExpressionModel, type: "stdin" | "stdout"): void; private createReq(req, loc, hint?); deserialize(tool: CommandLineTool): void; serialize(): CommandLineTool | any; }