/** * MSSQL (Microsoft SQL Server) integration client implementation. * * Executes MSSQL 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 { MSSQLClient } from "./types.js"; /** * Internal implementation of the MSSQL client. */ export declare class MSSQLClientImpl implements MSSQLClient, IntegrationClientImpl { readonly config: IntegrationConfig; private readonly executeQuery; constructor(config: IntegrationConfig, executeQuery: QueryExecutor); get name(): string; get pluginId(): string; /** * Builds a MSSQL request object from SQL and parameters. * * When params are provided, the SQL body is sent with placeholders intact * (e.g. @PARAM_1, @PARAM_2) 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 @PARAM_N 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