/**
 * Browser Automation Framework - Main Entry
 */

// Core exports
export * from './core/types';
export * from './core/interfaces/IBrowserProvider';
export * from './core/interfaces/IAction';
export * from './core/interfaces/ISmartSelector';
export * from './core/base/BaseBrowserProvider';
export * from './core/base/BaseAction';

// Workflow (通用组件)
export * from './workflow/WorkflowEngine';

// Factory
export * from './factory/BrowserFactory';

// Providers
export * from './providers/adspower/AdsPowerProvider';

// Register providers
import { BrowserFactory } from './factory/BrowserFactory';
import { AdsPowerProvider } from './providers/adspower/AdsPowerProvider';
import { BrowserProviderType } from './core/types';

// Auto-register AdsPower
BrowserFactory.register(BrowserProviderType.ADSPOWER, AdsPowerProvider);

console.log('✅ Browser Automation Framework (TypeScript) initialized');
