import { getWorkflowStepKind as getRawWorkflowStepKind, } from '../models/workflow-step-kind.js';
export function getWorkflowStepKind(step) {
    return getRawWorkflowStepKind(step);
}
export function isDelegatedWorkflowStep(step) {
    const kind = getWorkflowStepKind(step);
    return (kind === 'system'
        || kind === 'workflow_call'
        || (step.parallel?.length ?? 0) > 0
        || step.arpeggio !== undefined
        || step.teamLeader !== undefined);
}
export function isSystemWorkflowStep(step) {
    return getWorkflowStepKind(step) === 'system';
}
export function isWorkflowCallStep(step) {
    return getWorkflowStepKind(step) === 'workflow_call';
}
//# sourceMappingURL=step-kind.js.map