read-config-ng
Version:
Multi format configuration loader
18 lines • 843 B
TypeScript
import { ConfigObject, ConfigOptions } from '../types.js';
/**
* Load configuration files asynchronously
* Supports loading multiple files with parent hierarchy resolution
*/
export declare function loadAsync(paths: string | string[], opts?: ConfigOptions): Promise<ConfigObject>;
/**
* Load configuration files synchronously
* Supports loading multiple files with parent hierarchy resolution
*/
export declare function loadSync(paths: string | string[], opts?: ConfigOptions): ConfigObject;
export { mergeConfigs } from './merge-configs.js';
export { mergeParents, mergeParentsSync } from './merge-parents.js';
export { resolvePath, resolvePathSync } from './resolve-path.js';
export * from './parse/index.js';
export declare const async: typeof loadAsync;
export declare const sync: typeof loadSync;
//# sourceMappingURL=index.d.ts.map