/** * Authentication Mode Detection * * Determines whether to use OAuth tokens (SaaS/production) or API keys (local dev) * * @deprecated Use getAuthMode() from jiraConnection.ts instead */ export type AuthMode = "oauth" | "apikey" | "none"; export interface AuthConfig { mode: AuthMode; isLocalDev: boolean; debugMode: boolean; useApiKey: boolean; useOAuth: boolean; } /** * Detect if running in local development */ export declare function isLocalDevelopment(): boolean; /** * Get authentication configuration */ export declare function getAuthConfig(): AuthConfig; /** * Check if debug mode is enabled */ export declare function isDebugMode(): boolean; /** * Get authentication for CLI commands */ export declare function getCliAuth(): Promise<{ mode: "oauth" | "apikey"; token?: string; email?: string; userId?: string; cloudId?: string; }>; //# sourceMappingURL=auth-mode.d.ts.map