/** * Go Tool Detection Strategy * * Handles detection for the Go ecosystem: * - Dev tools are typically NOT in go.mod * - Tools installed via `go install` are standalone binaries * - Version pinning often done in tools.go with //go:build tools constraint * - Some tools are built into the Go toolchain (go test, go vet, gofmt) * - Scripts usually in Makefile, not a manifest */ import type { ConfigFile } from '../types/layer-types'; import type { ToolDetectionStrategy, PackageData, ToolAvailability, InstallInstruction } from './tool-detection'; export declare class GoToolDetection implements ToolDetectionStrategy { ecosystem: "go"; displayName: string; detectToolAvailability(toolId: string, packageData: PackageData, configFiles: Record): ToolAvailability; /** * Check if a module is imported in tools.go content */ private checkToolsGo; getInstallInstructions(toolId: string, _packageManager?: string): InstallInstruction; getDefaultCommand(toolId: string): string; isToolchainTool(toolId: string): boolean; getToolIdFromPackage(packageName: string): string[]; } export declare const goToolDetection: GoToolDetection; //# sourceMappingURL=go-tools.d.ts.map