code: function getDefaultStageHandlingSettings(options) {
    const settings = options && typeof options === 'object' ? copy(options, deep) : {};
  
    const defaultOptions = loadDefaultStageHandlingOptions();
    merge(defaultOptions, settings);
  
    const defaultSettings = {
      customToStage: undefined,
      convertAliasToStage: convertAliasToStage,
  
      injectStageIntoStreamName: toStageSuffixedStreamName,
      extractStageFromStreamName: extractStageFromSuffixedStreamName,
      extractNameAndStageFromStreamName: extractNameAndStageFromSuffixedStreamName,
  
      injectStageIntoResourceName: toStageSuffixedResourceName,
      extractStageFromResourceName: extractStageFromSuffixedResourceName,
      extractNameAndStageFromResourceName: extractNameAndStageFromSuffixedResourceName
    };
    return merge(defaultSettings, settings);
  }
docs: Returns the default stage handling settings partially overridden by the given stage handling options (if any).
  
  This function is used internally by {@linkcode configureDefaultStageHandling}, but could also be used in custom
  configurations to get the default settings as a base to be overridden with your custom settings before calling
  {@linkcode configureStageHandling}.
  
  @param {StageHandlingOptions|undefined} [options] - optional stage handling options to use to override the default options
  @returns {StageHandlingSettings} a stage handling settings object