export type DatabaseType = 'MySQL' | 'PostgreSQL' | 'Oracle' | 'SQL Server' | 'SQLite' | 'Hive' | 'Dm'; export interface SqlGenerationRequest { tableStructure: string; dictionaryData: string; requirement: string; databaseType: DatabaseType; apiKey?: string; } export interface HistoryItem { id: string; timestamp: number; sql: string; } export enum LoadingState { IDLE = 'IDLE', LOADING = 'LOADING', SUCCESS = 'SUCCESS', ERROR = 'ERROR', }