import type { LicenseStatus } from './types.js';
/**
 * Fetch the user's latest license key from the website API and activate it.
 * @throws If not logged in or if the API request fails.
 *
 * Set NEXUS_LICENSE_SYNC_OFFLINE=1 to skip the network round-trip and return
 * the current cached status instead (useful in tests and air-gapped envs).
 */
export declare function syncLicense(): Promise<LicenseStatus>;
/**
 * Request a plan upgrade through the website API.
 * @throws If not logged in or if the API request fails.
 */
export declare function requestUpgrade(requestedPlan: string): Promise<{
    requestId: string;
    status: string;
}>;
