// SPDX-License-Identifier: Apache-2.0
import { LayeredModelConfigSource } from './layered-model-config-source.js';
import { YamlFileStorageBackend } from '../../backend/impl/yaml-file-storage-backend.js';
/**
 * A {@link ConfigSource} that reads default configuration data from its YAML file backend.
 */
export class DefaultConfigSource extends LayeredModelConfigSource {
    data;
    constructor(fileName, basePath, schema, mapper) {
        super(fileName, schema, new YamlFileStorageBackend(basePath), mapper);
        this.data = new Map();
    }
    get name() {
        return 'DefaultConfigSource';
    }
    get ordinal() {
        return 0;
    }
}
//# sourceMappingURL=default-config-source.js.map