export declare function tryParseJson(text: string): unknown; export declare function tryParseJson(text: string, predicate: (parsed: unknown) => parsed is T): T | undefined; export declare function parseJson(text: string): unknown; export declare function parseJson(text: string, predicate?: (parsed: unknown) => parsed is T): T; export declare function identity(t: T): T; export declare function isObject(value: unknown): value is Record; export declare function withoutStart(s: string, start: string): string | undefined; export declare function computeHash(content: string): string; export declare function isScopedPackage(packageName: string): boolean; export declare function unmangleScopedPackage(packageName: string): string | undefined; export declare function mangleScopedPackage(packageName: string): string; export declare const atTypesSlash = "@types/"; export declare function isTypesPackageName(packageName: string): boolean; export declare function trimAtTypesPrefixIfPresent(packageName: string): string; export declare function mustTrimAtTypesPrefix(packageName: string): string; export declare function typesPackageNameToRealName(typesPackageName: string): string; export declare function sleep(seconds: number): Promise; export declare function isDeclarationPath(path: string): boolean;