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