interface AuthTokens {
    access_token: string;
    refresh_token: string;
    email: string;
    updated_at: string;
}
/**
 * Login to nexus-prime.cfd and store auth tokens locally. Errors are
 * normalised so signup/signin failures don't surface raw HTTP codes —
 * users get something actionable, plus a reminder that the local no-license
 * grace period is intentionally short and licenses are reviewed manually.
 */
export declare function loginFromCLI(email: string, password: string): Promise<{
    email: string;
    plan?: string;
}>;
/**
 * Read stored auth token. Returns null if not logged in.
 */
export declare function readAuthToken(): string | null;
/**
 * Read stored auth info (email + tokens).
 */
export declare function readAuthInfo(): AuthTokens | null;
/**
 * Check if user is logged in.
 */
export declare function isLoggedIn(): boolean;
/**
 * Clear stored auth tokens (logout).
 */
export declare function logout(): void;
export {};
