import { resolveConfigState } from "./config-state.js";
import { resolveEnvState } from "./environment-state.js";
export function resolveRunContextState({ env, envForRun, configInput, }) {
    const configState = resolveConfigState({
        envForRun,
        input: configInput,
    });
    const envState = resolveEnvState({
        env,
        envForRun,
        configForCli: configState.configForCli,
    });
    return { ...configState, ...envState };
}
//# sourceMappingURL=context.js.map