import { execFileSync } from "child_process"; import type { DependencyProvider, DependencyManifest, GoDependencyLineResult, GoLineState, GoProcessedLine, GoUpdateResult, ProviderOptions } from "../types"; export declare const isReplaceBlockStart: (line: string) => boolean; export declare const isExcludeBlockStart: (line: string) => boolean; export declare const isBlockClose: (line: string) => boolean; export declare const isReplaceLine: (line: string) => boolean; export declare const preserveFinalNewline: (content: string) => string; export declare const updateRequireLine: (line: string, dependencies: Record) => GoDependencyLineResult; export declare const processLine: (line: string, state: GoLineState, dependencies: Record) => GoProcessedLine; export declare const updateExistingRequireLines: (content: string, dependencies: Record) => GoUpdateResult; export declare const parseRequireBlock: (content: string) => Record; export declare const parseSingleRequires: (content: string) => Record; export declare const buildRequireBlock: (dependencies: Record) => string; export declare const runGoModTidy: (filePath: string, options: ProviderOptions, execute?: typeof execFileSync) => void; export declare class GoProvider implements DependencyProvider { readonly language: "go"; readonly capabilities: { readonly supportsLatestResolution: true; readonly supportsPreciseMode: true; readonly versionStrategy: "semver"; }; private options; constructor(options?: ProviderOptions); getLatestVersion(packageName: string): Promise; getAllVersions(packageName: string): Promise; readManifest(filePath: string): DependencyManifest; writeManifest(filePath: string, manifest: DependencyManifest): void; validatePackageName(packageName: string): boolean; }