jpglens
Version:
🔍 Universal AI-Powered UI Testing - See your interfaces through the lens of intelligence
54 lines • 2.26 kB
TypeScript
/**
* 🔍 jpglens - Universal AI-Powered UI Testing
* Main entry point for the jpglens library
*
* @author Taha Bahrami (Kaito)
* @license MIT
*/
export * from './core/types.js';
export * from './core/config.js';
export * from './core/ai-analyzer.js';
export * from './core/screenshot-capture.js';
export * from './providers/openrouter.js';
export * from './providers/openai.js';
export * from './providers/anthropic.js';
export { loadConfig, DEFAULT_CONFIG } from './core/config.js';
export { AIAnalyzer } from './core/ai-analyzer.js';
export { ScreenshotCapture } from './core/screenshot-capture.js';
export { ReportGenerator, DEFAULT_REPORT_CONFIG, DEFAULT_REPORT_TEMPLATES } from './core/report-generator.js';
export { APICompatibilityHandler, createAPICompatibilityHandler } from './core/api-compatibility.js';
export { ConsoleFormatter } from './core/console-formatter.js';
export { playwrightAnalyze, playwrightAnalyzeState, quickAnalyze as playwrightQuickAnalyze, analyzeUserJourney, analyzeCurrentState, analyzeCompleteJourney as playwrightAnalyzeJourney, } from './integrations/playwright.js';
export { analyzeCurrentState as seleniumAnalyze, analyze as seleniumAnalyzeQuick, analyzeCrossBrowser as seleniumCrossBrowser, analyzeCompleteJourney as seleniumAnalyzeJourney, } from './integrations/selenium.js';
export { analyzeComponentStates as storybookAnalyze, analyzeComponent as storybookQuickAnalyze, analyzeComponentA11y as storybookA11y, } from './integrations/storybook.js';
/**
* Main jpglens class for universal usage
*/
export declare class JPGLens {
private analyzer;
private screenshotCapture;
private config;
constructor(config?: any);
/**
* Initialize with async config loading
*/
static create(config?: any): Promise<JPGLens>;
/**
* Universal analysis method
*/
analyze(screenshot: any, context: any): Promise<any>;
/**
* Create screenshot from various sources
*/
createScreenshot(source: any, metadata: any): any;
/**
* Get configuration
*/
getConfig(): any;
}
/**
* Quick start function for immediate usage
*/
export declare function createJPGLens(config?: any): JPGLens;
export default JPGLens;
//# sourceMappingURL=index.d.ts.map