export type FetchLatestVersion = () => Promise; export interface UpdateNotifierDeps { fetchLatestVersion?: FetchLatestVersion; log?: (msg: string) => void; env?: NodeJS.ProcessEnv; } export declare function checkForUpdate(pkgName: string, currentVersion: string, deps?: UpdateNotifierDeps): Promise;