import { type FileSystem } from "../../src/platform/index.js"; import { type HostRuntime } from "../../src/platform/compat/process/host-runtime.js"; export declare const UPDATE_REGISTRY_URL = "https://registry.npmjs.org/veryfront/latest"; export declare const UPDATE_INSTALL_COMMAND = "npm install -g veryfront@latest"; interface UpdateCacheLocation { directory: string; file: string; } type UpdateCheckFileSystem = Pick; type UpdateCheckFetcher = (input: string | URL | Request, init?: RequestInit) => Promise; export interface UpdateCheckOptions { shouldSkip?: () => boolean; cacheLocation?: UpdateCacheLocation | null; fileSystem?: UpdateCheckFileSystem; fetcher?: UpdateCheckFetcher; now?: () => number; printNotice?: (current: string, latest: string) => void; debug?: (message: string) => void; } export declare function compareVersions(current: string, latest: string): boolean; export declare function shouldSkip(host?: HostRuntime): boolean; export declare function getUpdateInstallCommand(context?: { standalone: boolean; executablePath: string; }): string; export declare function checkForUpdates(currentVersion: string, options?: UpdateCheckOptions): Promise; export {}; //# sourceMappingURL=update-check.d.ts.map