export type ConnectionType = 'mysql' | 'postgresql' | 'bigquery' | 'snowflake' | 'shopify' | 'csv' | 'custom' | 'sqlserver' | 'redshift' | 'databricks' | 'clickhouse' | 'mongodb'; export interface Connection { name: string; type: ConnectionType; host?: string; port?: number; database?: string; user?: string; password?: string; projectId?: string; keyFile?: string; account?: string; warehouse?: string; store?: string; apiKey?: string; apiSecret?: string; filePath?: string; connectionString?: string; createdAt: string; updatedAt: string; } export interface ConnectionsConfig { version: string; connections: Connection[]; } export declare function encrypt(text: string): string; export declare function decrypt(encryptedText: string): string; export declare function loadConnections(): ConnectionsConfig; export declare function saveConnections(config: ConnectionsConfig): void; export declare function writeToEnvFile(connection: Connection): void; export declare function saveConnection(connection: Connection): void; export declare function getConnection(name: string): Connection | null; export declare function deleteConnection(name: string): boolean; export declare function listConnections(): Array<{ name: string; type: ConnectionType; host?: string; createdAt: string; }>;