import { DurationString } from '@perses-dev/spec'; export interface SQLProxy { kind: 'sqlproxy'; spec: SQLProxySpec; } export interface SQLProxySpec { driver: 'mysql' | 'mariadb' | 'postgres'; host: string; database: string; secret?: string; mysql?: MySQLConfig; mariadb?: MySQLConfig; postgres?: PostgresConfig; } export interface MySQLConfig { params?: Record; maxAllowedPacket?: number; timeout?: DurationString; readTimeout?: DurationString; writeTimeout?: DurationString; } export interface PostgresConfig { maxConns?: number; connectTimeout?: DurationString; prepareThreshold?: DurationString; sslMode?: 'disable' | 'allow' | 'prefer' | 'require' | 'verify-full' | 'verify-ca'; } //# sourceMappingURL=sql.d.ts.map