/*!
 * name: nuget-server
 * version: 0.19.0
 * description: NuGet server on Node.js
 * author: Kouji Matsui (@kekyo@mi.kekyo.net)
 * license: MIT
 * repository.url: https://github.com/kekyo/nuget-server.git
 * git.commit.hash: 5b9501882b352a0490b3091210ed1740cfb81389
 */

import { LogLevel, AuthMode, DuplicatePackagePolicy, Logger } from '../types';
/**
 * Configuration file structure for nuget-server
 */
export interface ConfigFile {
    port?: number;
    baseUrl?: string;
    packageDir?: string;
    usersFile?: string;
    realm?: string;
    logLevel?: LogLevel;
    trustedProxies?: string[];
    authMode?: AuthMode;
    sessionSecret?: string;
    passwordMinScore?: number;
    passwordStrengthCheck?: boolean;
    duplicatePackagePolicy?: DuplicatePackagePolicy;
}
/**
 * Loads configuration from a config.json file at the specified path
 * @param configPath Path to the config.json file
 * @param logger Optional logger for warnings
 * @returns Parsed and validated configuration object, or empty object if file doesn't exist or is invalid
 */
export declare const loadConfigFromPath: (configPath: string, logger?: Logger) => Promise<ConfigFile>;
/**
 * Loads configuration from a config.json file in the specified directory
 * @param configDir Directory containing config.json
 * @param logger Optional logger for warnings
 * @returns Parsed and validated configuration object, or empty object if file doesn't exist or is invalid
 * @deprecated Use loadConfigFromPath instead
 */
export declare const loadConfigFromFile: (configDir: string, logger?: Logger) => Promise<ConfigFile>;
//# sourceMappingURL=configLoader.d.ts.map