export interface VersionData {
    version: string;
    packageName: string;
    description: string;
    branch: string;
    commitHash: string;
    instancePath: string;
    isDev: boolean;
}
/**
 * Fetches runtime version info from the server API.
 *
 * NEXT_PUBLIC_* env vars are inlined at build time for client components,
 * so they can show a stale version after a CLI upgrade. This hook fetches
 * the version from a server-side API route that reads the env vars at runtime.
 */
export declare function useVersion(): VersionData;
//# sourceMappingURL=use-version.d.ts.map