/** * Lakebase client implementation. * * Uses the native Lakebase plugin type from @superblocksteam/types. * Supports server-side parameterized SQL queries via the `parameters` field. */ import type { z } from "zod"; import type { QueryExecutor, TraceMetadata } from "../registry.js"; import type { IntegrationConfig, IntegrationClientImpl } from "../types.js"; import type { LakebaseClient } from "./types.js"; /** * Internal implementation of LakebaseClient. * * Communicates with the orchestrator to execute SQL queries. * Uses server-side parameterization via the `parameters` field. */ export declare class LakebaseClientImpl implements LakebaseClient, IntegrationClientImpl { readonly name: string; readonly pluginId: string; readonly config: IntegrationConfig; private readonly executeQuery; constructor(config: IntegrationConfig, executeQuery: QueryExecutor); /** * Builds a Lakebase plugin request object. * * Parameters are passed via the `parameters` field as a JSON-stringified * array. The server performs parameter binding, avoiding client-side * SQL interpolation. */ private buildRequest; query(sql: string, schema: z.ZodSchema, params?: unknown[], metadata?: TraceMetadata): Promise; execute(sql: string, params?: unknown[], metadata?: TraceMetadata): Promise<{ rowCount: number; }>; } //# sourceMappingURL=client.d.ts.map