/** One Go module requirement flattened from `go.mod`. */
export interface GoDependencySpec {
    readonly manifestPath: "go.mod";
    readonly name: string;
    readonly spec: string | null;
}
/** What reading a Go module manifest established. */
export type GoManifestOutcome = {
    readonly kind: "absent";
} | {
    readonly kind: "ok";
    readonly manifestPath: "go.mod";
    readonly specs: readonly GoDependencySpec[];
};
/**
 * Read the Go module dependency manifest when no JavaScript manifest exists.
 * @param root - Repository root
 * @returns Parsed Go module specs, or absent when this is not a Go module
 */
export declare function readGoManifest(root: string): Promise<GoManifestOutcome>;
/**
 * Find the committed Go module checksum file.
 * @param root - Repository root
 * @returns The checksum file path, or null when none is committed
 */
export declare function findGoLockfile(root: string): Promise<string | null>;
/**
 * Find where the repository audits its Go module dependency tree.
 * @param root - Repository root
 * @returns The repo-relative path of the first Go audit gate found, or null
 */
export declare function findGoAuditGate(root: string): Promise<string | null>;
/**
 * Check whether a Go module requirement spec floats.
 * @param spec - Version/pseudo-version from go.mod
 * @returns True when the spec is absent or branch-like rather than pinned
 */
export declare function isFloatingGoSpec(spec: string | null): boolean;
//# sourceMappingURL=doctor-readiness-supply-chain-go.d.ts.map