export interface StoredCredentials {
    server: string;
    token: string;
    username: string;
    password: string;
    expiresAt: string;
}
export interface AuthContext {
    server: string;
    token: string;
}
/** Resolve auth from env → stored credentials → error */
export declare function resolveAuth(): Promise<AuthContext>;
/** Interactive or flag-based login */
export declare function login(options: {
    server?: string;
    username?: string;
    password?: string;
}): Promise<void>;
/** Clear stored credentials */
export declare function logout(): void;
/** Get the current server URL (for display purposes) */
export declare function getServerUrl(): string | null;
