import type * as Extend from "../index"; /** * Validates extraction outputs against formula-based rules. Routes to pass/fail next steps. * * See the [Rule Validation step docs](https://docs.extend.ai/2026-02-09/product/workflows/configuring-workflows-via-api#rule-validation-step). */ export interface RuleValidationStepDefinition { name: string; /** Optional on create/update. Required before the workflow can be deployed. Omitted in responses when the step is not yet configured. */ config?: Extend.RuleValidationStepDefinitionConfig; /** * Can only be set when `config` is present. Each entry must include a `result` of `"pass"` or `"fail"` to route based on whether all validation rules passed. * * See the [Rule Validation step docs](https://docs.extend.ai/2026-02-09/product/workflows/configuring-workflows-via-api#rule-validation-step). */ next?: Extend.RuleValidationNextEntry[]; }