export interface DqlRuntimeVersionStatus { /** Version of the code actually serving this process. */ runningVersion: string; /** ISO timestamp of process start — identifies a server started before a rebuild/upgrade. */ processStartedAt: string; /** Where the running code lives: the project's node_modules, a global install, or a dev checkout. */ invocationSource: 'project_local' | 'global' | 'dev_or_unknown'; /** Range declared for @duckcodeailabs/dql-cli in the project package.json, if any. */ projectPinnedRange?: string; /** Version installed in the project's node_modules, if any. */ projectInstalledVersion?: string; /** Latest published version from npm, when the background check has succeeded. */ latestKnownVersion?: string; latestCheckStatus: 'ok' | 'unknown'; /** Human-readable drift warnings; empty means no drift detected. */ drift: string[]; upgradeCommand?: string; } /** Best-effort latest published version; never throws, never blocks longer than 2s. */ export declare function fetchLatestPublishedDqlVersion(): Promise; /** Synchronous view of the cached latest version (health endpoints must stay fast). */ export declare function cachedLatestPublishedDqlVersion(): string | undefined; export declare function resolveDqlRuntimeVersionStatus(input: { projectRoot: string; runningVersion: string; runtimeUrl?: string; }): DqlRuntimeVersionStatus; //# sourceMappingURL=version-status.d.ts.map