import type { Block } from '../core/index.ts'; import type { CheckOutput } from './check-output.ts'; import type { SequenceValidatorRecursive } from './sequence-validator-recursive.ts'; /** * @public * * Sequence validator phase two - once all the checking has been done, iterate through the check results * and recurse back on the sequence validator if a recurse instruction is found */ export type RecurseSequence = TCheckOutput extends infer Error extends { __error: true; } ? Omit : TCheckOutput extends infer Recurse extends { __recurse: true; in: unknown; out: unknown; before: readonly Block[]; sequence: readonly Block[]; } ? SequenceValidatorRecursive : TCheckOutput; //# sourceMappingURL=recurse-sequence.d.ts.map