import { fromSessionStorage, toSessionStorage } from './session-storage.js';
export function getParameterValue(_in, name) {
    try {
        return JSON.parse(fromSessionStorage(`${_in}.${name}`));
    }
    catch {
        return null;
    }
}
export function setParameterValue(_in, name, value) {
    toSessionStorage(`${_in}.${name}`, JSON.stringify(value));
}
//# sourceMappingURL=parameters.js.map