/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */ import { useObservableState } from 'observable-hooks';
/**
 * create a parallel array of output names for the steps
 *
 * @param workflow - The workflow instance
 * @returns
 */ export function useStepOutputs(workflow) {
    return useObservableState(workflow.outputNames$) ?? EMPTY;
}
const EMPTY = [];
