import type { LoginResponse, SessionEnvelopeResponse } from './types.js'; export type SupportedShell = 'posix' | 'powershell' | 'cmd'; /** * Applies side effects after a successful CLI login, such as updating the * process environment with the latest token. Returns true when the token was * written to the environment. */ export declare function applyLoginEnvironmentToken(response: LoginResponse): boolean; export declare function applySessionEnvironmentId(response: SessionEnvelopeResponse): boolean; export declare function clearSessionEnvironmentId(sessionId?: string): boolean; export declare function formatEnvExport(variable: string, value: string, shell?: SupportedShell): string;