/*!
 * 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 { Logger, AuthMode } from '../types';
/**
 * Authentication mode service configuration
 */
export interface AuthModeServiceConfig {
    authMode: AuthMode;
    logger: Logger;
}
/**
 * Authentication mode service interface for managing authentication requirements
 */
export interface AuthModeService {
    readonly getAuthMode: () => AuthMode;
    readonly isAuthRequired: (endpoint: "general" | "publish" | "admin") => boolean;
}
/**
 * Legacy alias for backwards compatibility
 */
export type AuthService = AuthModeService;
/**
 * Creates an authentication mode service for managing authentication requirements
 * @param config - Authentication mode service configuration
 * @returns Authentication mode service instance
 */
export declare const createAuthService: (config: AuthModeServiceConfig) => AuthModeService;
//# sourceMappingURL=authService.d.ts.map