import { AIResponse, ProjectContext, FileContent } from '../types/index.js';
/**
 * Simple device code authentication flow for CLI
 */
export declare function login(): Promise<boolean>;
/**
 * Check if user is authenticated
 */
export declare function isAuthenticated(): Promise<boolean>;
/**
 * Call the AI optimization endpoint
 */
export declare function getAIOptimizations(projectContext: ProjectContext, files: FileContent[], currentIssues?: any[], optimizationType?: string): Promise<AIResponse>;
/**
 * Logout and clear stored tokens
 */
export declare function logout(): Promise<void>;
//# sourceMappingURL=api.d.ts.map