/** * MotherDuck Cloud Service Integration * Provides connectivity to MotherDuck cloud instances */ import { DuckDBService } from '../duckdb/service.js'; export interface MotherDuckConfig { token: string; database?: string; endpoint?: string; timeout?: number; } export interface MotherDuckStatus { connected: boolean; database?: string; cloudInstance?: string; bytesUsed?: number; bytesLimit?: number; error?: string; } /** * Service for managing MotherDuck cloud connections */ export declare class MotherDuckService { private duckdb; private config?; private isConnected; private attachedDatabase?; constructor(duckdb: DuckDBService); /** * Attach to MotherDuck cloud instance */ attach(config: MotherDuckConfig): Promise; /** * Detach from MotherDuck */ detach(): Promise; /** * Get current MotherDuck status */ getStatus(): Promise; /** * List databases in MotherDuck */ listDatabases(): Promise; /** * Create a new database in MotherDuck */ createDatabase(name: string): Promise; /** * Share a local table to MotherDuck */ shareTable(localTable: string, cloudTable?: string): Promise; /** * Import a table from MotherDuck to local */ importTable(cloudTable: string, localTable?: string): Promise; /** * Execute a query on MotherDuck */ query(sql: string): Promise; /** * Build MotherDuck connection string */ private buildConnectionString; /** * Qualify table names for MotherDuck */ private qualifyTablesForMotherDuck; /** * Check if connected to MotherDuck */ isAttached(): boolean; /** * Get current configuration */ getConfig(): MotherDuckConfig | undefined; } //# sourceMappingURL=motherduck.d.ts.map