///
import type ModuleClass from "module";
export declare function createRequire(filename: string): ReturnType;
export declare function getRequireFromLinter(): NodeRequire | null;
export declare function getRequireFromCwd(): NodeRequire | null;
export declare function requireFromLinter(module: string): T | null;
export declare function requireFromCwd(module: string): T | null;
export declare function loadNewest(items: {
getPkg: () => {
version: string;
} | null;
get: () => T | null;
}[]): T;