v0-ui-reviewer
Version:
Next-gen UI/UX reviewer with multi-model AI support (OpenAI, Claude, v0), style extraction, and live preview sandbox
28 lines (27 loc) • 897 B
TypeScript
export interface V0Config {
apiKey?: string;
openaiApiKey?: string;
anthropicApiKey?: string;
defaultAIModel?: 'v0' | 'gpt-4' | 'gpt-4-turbo' | 'gpt-3.5-turbo' | 'claude-3-opus' | 'claude-3-sonnet' | 'claude-3-haiku';
timeout?: number;
defaultDevice?: 'desktop' | 'mobile';
defaultFullPage?: boolean;
defaultShowImage?: boolean;
logLevel?: 'error' | 'warn' | 'info' | 'debug';
outputDirectory?: string;
}
export declare class ConfigManager {
private config;
private configPath;
constructor();
get(key: keyof V0Config): any;
set(key: keyof V0Config, value: any): void;
getAll(): V0Config;
setAll(config: V0Config): void;
clear(): void;
getApiKey(): string | undefined;
ensureConfigDirectory(): Promise<void>;
isFirstRun(): boolean;
getConfigPath(): string;
}
export declare const configManager: ConfigManager;