import type * as Malloy from '@malloydata/malloy-interfaces'; export interface InfoConnection { fetchSchemaForTable(name: string): Promise; fetchSchemaForSQLQuery(sqlQuery: string): Promise; get dialectName(): string; } export interface Connection extends InfoConnection { runSQL(sql: string, schema: Malloy.Schema): Promise; } export interface LookupConnection { lookupConnection(connectionName?: string): Promise; }