import { GoModInfo } from '../types/go-mod-info'; /** * Parses a go.mod file and extracts module information. * * @param filePath - Path to the go.mod file * @returns GoModInfo object or null if parsing fails */ export declare function parseGoMod(filePath: string): Promise; /** * Parses already-read go.mod content and extracts module information. * Use this when the content comes from somewhere other than the real * filesystem (e.g. an Nx virtual `Tree`), where `parseGoMod`'s own file read * cannot be used. * * @param content - The raw contents of a go.mod file * @returns GoModInfo object or null if parsing fails */ export declare function parseGoModContent(content: string): GoModInfo | null;