/** * Databricks integration client implementation. * * Executes Databricks queries through the Superblocks orchestrator with * runtime validation using Zod schemas. */ import type { z } from "zod"; import type { QueryExecutor, TraceMetadata } from "../registry.js"; import type { IntegrationConfig, IntegrationClientImpl } from "../types.js"; import type { DatabricksClient } from "./types.js"; /** * Internal implementation of the Databricks client. */ export declare class DatabricksClientImpl implements DatabricksClient, IntegrationClientImpl { readonly config: IntegrationConfig; private readonly executeQuery; constructor(config: IntegrationConfig, executeQuery: QueryExecutor); get name(): string; get pluginId(): string; /** * Builds a Databricks request object from SQL and parameters. * * When params are provided, the SQL body is sent with placeholders intact * and the parameter values are passed via the `parameters` field * as a JSON-stringified array for server-side binding. * * @param sql - The SQL query with optional placeholders * @param params - Optional array of parameter values for server-side binding * @returns The plugin request object */ 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