import type { Logger } from '@ama-mcp/core'; /** * Validates that a package name is safe and follows npm naming conventions. * Prevents path traversal attacks and ensures the name is a valid npm package. * @param packageName The package name to validate * @returns true if the package name is valid and safe */ export declare const isValidPackageName: (packageName: string) => boolean; /** * Load SDK packages list from package.json * @param projectPath Path to project root * @param logger Optional logger for debug output * @returns Array of package names configured in sdkContext.packages */ export declare const loadSdkPackagesFromPackageJson: (projectPath: string, logger?: Logger) => string[]; /** * Generates a safe URI from a package name * @param packageName The npm package name * @returns A URI-safe identifier */ export declare const generateUri: (packageName: string) => string; //# sourceMappingURL=utils.d.ts.map