import * as yaml from 'yaml';
import type { PackageManagerName, Workspace } from '../pm/index.ts';
import type { LintResult } from './package-lint.ts';
export declare function readPnpmWorkspaceDocument(cwd: string): yaml.Document.Parsed | undefined;
export declare function readPnpmWorkspaceGlobs(cwd: string): string[] | undefined;
export declare function checkPnpmReleaseAgeExcludes(cwd: string, pm: PackageManagerName, workspaces?: readonly Workspace[]): LintResult;
export declare function checkPnpmDependencyOverrides(cwd: string, pm: PackageManagerName, rootPkg: Record<string, unknown>): LintResult;
export declare function checkPnpmMinimumReleaseAge(cwd: string, pm: PackageManagerName): LintResult;
export declare function fixPnpmMinimumReleaseAge(cwd: string): void;
export declare function fixPnpmReleaseAgeExcludes(cwd: string, workspaces?: readonly Workspace[]): void;
//# sourceMappingURL=package-lint-pnpm.d.ts.map