import type { AxiosInstance } from 'axios'; import type { SpawnSyncReturns } from 'child_process'; export declare class PackageNotFoundError extends Error { constructor(message: string); } interface CheckVersionOptions { axios: AxiosInstance; spawnSync: (command: string, args: string[]) => SpawnSyncReturns; currentVersion: string; update?: boolean; } export declare function checkVersion({ axios, spawnSync, currentVersion, update, }: CheckVersionOptions): Promise; export {}; //# sourceMappingURL=checkVersion.d.ts.map