import { NativePath } from '@yarnpkg/fslib'; export declare function tryReadFile(path: NativePath): Promise; export declare function tryParseURL(str: string, base?: string | URL | undefined): import("url").URL | null; export declare function setEntrypointPath(file: NativePath): void; export declare function getFileFormat(filepath: string): string | null;