import type { EnvelopeReturn, XyJsonDiagnostic } from '../lib/index.ts';
export interface NodeLintOptions {
    shouldFix?: boolean;
    verbose?: boolean;
}
interface PackageJson extends Record<string, unknown> {
    bin?: Record<string, string> | string;
    engines?: Record<string, string>;
    exports?: unknown;
    name?: string;
    private?: boolean;
    volta?: Record<string, string>;
}
export declare function isNodePackage(pkg: PackageJson): boolean;
export declare function checkVoltaNodeVersion(cwd: string, shouldFix: boolean): XyJsonDiagnostic[];
export declare function checkPackageEngines(cwd: string, location: string, shouldFix: boolean): XyJsonDiagnostic[];
export declare function nodeLint(options?: NodeLintOptions): EnvelopeReturn;
export {};
//# sourceMappingURL=node-lint.d.ts.map