cliseo
Version:
Instant AI-Powered SEO Optimization CLI for Developers
12 lines • 911 B
TypeScript
import { Config } from '../types/index.js';
export declare function loadConfig(): Promise<Config>;
export declare function saveConfig(config: Partial<Config>, global?: boolean): Promise<void>;
export declare function updateConfig(updates: Partial<Config>, global?: boolean): Promise<Config>;
export declare function getApiKey(key: 'openaiApiKey' | 'githubToken' | 'googleApiKey'): Promise<string | undefined>;
export declare function setApiKey(key: 'openaiApiKey' | 'githubToken' | 'googleApiKey', value: string): Promise<void>;
export declare function getAuthToken(): Promise<string | undefined>;
export declare function setAuthToken(token: string, email: string, aiAccess: boolean): Promise<void>;
export declare function clearAuthToken(): Promise<void>;
export declare function isAuthenticated(): Promise<boolean>;
export declare function hasAiAccess(): Promise<boolean>;
//# sourceMappingURL=config.d.ts.map