import type * as Extend from "../index"; /** * A workflow step run. The shape of the `result` field depends on the `stepType`. */ export type StepRun = Extend.StepRun.Parse | Extend.StepRun.Extract | Extend.StepRun.Classify | Extend.StepRun.Split | Extend.StepRun.MergeExtract | Extend.StepRun.ConditionalExtract | Extend.StepRun.RuleValidation | Extend.StepRun.ExternalDataValidation; export declare namespace StepRun { interface Parse extends Extend.ParseStepRun { stepType: "PARSE"; } interface Extract extends Extend.ExtractStepRun { stepType: "EXTRACT"; } interface Classify extends Extend.ClassifyStepRun { stepType: "CLASSIFY"; } interface Split extends Extend.SplitStepRun { stepType: "SPLIT"; } interface MergeExtract extends Extend.MergeExtractStepRun { stepType: "MERGE_EXTRACT"; } interface ConditionalExtract extends Extend.ConditionalExtractStepRun { stepType: "CONDITIONAL_EXTRACT"; } interface RuleValidation extends Extend.RuleValidationStepRun { stepType: "RULE_VALIDATION"; } interface ExternalDataValidation extends Extend.ExternalDataValidationStepRun { stepType: "EXTERNAL_DATA_VALIDATION"; } }