/*!
 * 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
 */

/**
 * Represents a package version with file paths
 */
export interface PackageVersion {
    version: string;
    packagePath: string;
    nuspecPath: string;
}
/**
 * Information about a package and its versions
 */
export interface PackageInfo {
    id: string;
    versions: PackageVersion[];
}
/**
 * Service interface for accessing package files from disk
 */
export interface PackageService {
    readonly getPackageVersions: (packageId: string) => Promise<string[]>;
    readonly getPackageFile: (packageId: string, version: string) => Promise<Buffer | undefined>;
    readonly getNuspecFile: (packageId: string, version: string) => Promise<Buffer | undefined>;
    readonly getPackageFilePath: (packageId: string, version: string) => Promise<string | undefined>;
    readonly getNuspecFilePath: (packageId: string, version: string) => Promise<string | undefined>;
    readonly packageExists: (packageId: string, version: string) => Promise<boolean>;
}
/**
 * Creates a package service for file system operations
 * @param packagesRoot - Root directory containing package files (default: './packages')
 * @returns Configured package service instance
 */
export declare const createPackageService: (packagesRoot?: string) => PackageService;
//# sourceMappingURL=packageService.d.ts.map