interface NpmCommandOptions { cwd?: string; doNotHandleError?: boolean; registry?: string; authToken?: string; } interface NpmRequestOptions { authToken?: string; headers?: Record; timeout?: number; } export declare function isNpmExecErrorWithStdout(error: unknown): error is { code: number; stdout: string; }; export declare function executeNpmCommand(args: string[], options?: NpmCommandOptions): Promise; export declare function executeNpmRequest(registryUrl: string, path: string, options?: NpmRequestOptions): Promise; export declare function verifyIntegrity(packageName: string, version: string, registryUrl: string, expectedIntegrity: string, authToken?: string): Promise; export declare function checkIfVersionExistsOrThrow(packageName: string, version: string, registryUrl: string, authToken?: string): Promise; export {};