import z from "zod"; import { DataCompression, GeometryRepresentation, ResultsFormat, SessionStatus, SessionType } from "./constants"; declare const ConnectionOptionsSchema: z.ZodObject<{ apiKey: z.ZodOptional; runtime: z.ZodOptional; region: z.ZodOptional; version: z.ZodOptional>; resultsFormat: z.ZodOptional>; dataCompression: z.ZodOptional>; geometryRepresentation: z.ZodOptional>; sessionType: z.ZodOptional>; forceNew: z.ZodOptional; shutdownAfterInactiveSeconds: z.ZodOptional; }, "strip", z.ZodTypeAny, { apiKey?: string | undefined; runtime?: string | undefined; region?: string | undefined; version?: string | null | undefined; resultsFormat?: ResultsFormat.ARROW | undefined; dataCompression?: DataCompression | undefined; geometryRepresentation?: GeometryRepresentation | undefined; sessionType?: SessionType | undefined; forceNew?: boolean | undefined; shutdownAfterInactiveSeconds?: number | undefined; }, { apiKey?: string | undefined; runtime?: string | undefined; region?: string | undefined; version?: string | null | undefined; resultsFormat?: ResultsFormat.ARROW | undefined; dataCompression?: DataCompression | undefined; geometryRepresentation?: GeometryRepresentation | undefined; sessionType?: SessionType | undefined; forceNew?: boolean | undefined; shutdownAfterInactiveSeconds?: number | undefined; }>; export type ConnectionOptions = z.infer; export declare const ConnectionOptionsSchemaNormalized: z.ZodObject; runtime: z.ZodOptional; region: z.ZodOptional; version: z.ZodOptional>; resultsFormat: z.ZodOptional>; dataCompression: z.ZodOptional>; geometryRepresentation: z.ZodOptional>; sessionType: z.ZodOptional>; forceNew: z.ZodOptional; shutdownAfterInactiveSeconds: z.ZodOptional; }, { apiKey: z.ZodString; resultsFormat: z.ZodDefault>>; dataCompression: z.ZodDefault>>; geometryRepresentation: z.ZodDefault>>; sessionType: z.ZodDefault>>; forceNew: z.ZodDefault>; }>, "strip", z.ZodTypeAny, { apiKey: string; resultsFormat: ResultsFormat.ARROW; dataCompression: DataCompression; geometryRepresentation: GeometryRepresentation; sessionType: SessionType; forceNew: boolean; runtime?: string | undefined; region?: string | undefined; version?: string | null | undefined; shutdownAfterInactiveSeconds?: number | undefined; }, { apiKey: string; runtime?: string | undefined; region?: string | undefined; version?: string | null | undefined; resultsFormat?: ResultsFormat.ARROW | undefined; dataCompression?: DataCompression | undefined; geometryRepresentation?: GeometryRepresentation | undefined; sessionType?: SessionType | undefined; forceNew?: boolean | undefined; shutdownAfterInactiveSeconds?: number | undefined; }>; export type ConnectionOptionsNormalized = z.infer; export declare const SessionResponseSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodNativeEnum; appMeta: z.ZodOptional>>; traces: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>; message: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: SessionStatus; id: string; message?: string | null | undefined; appMeta?: { url: string; } | null | undefined; traces?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined; }, { status: SessionStatus; id: string; message?: string | null | undefined; appMeta?: { url: string; } | null | undefined; traces?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined; }>; export type SessionReponse = z.infer; export declare const ReadySessionResponseSchema: z.ZodObject; appMeta: z.ZodOptional>>; traces: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>; message: z.ZodOptional>; }, { status: z.ZodLiteral; appMeta: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; }>, "strip", z.ZodTypeAny, { status: SessionStatus.READY; id: string; appMeta: { url: string; }; message?: string | null | undefined; traces?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined; }, { status: SessionStatus.READY; id: string; appMeta: { url: string; }; message?: string | null | undefined; traces?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined; }>; export declare const ExecuteSQLEventSchema: z.ZodObject<{ kind: z.ZodLiteral<"execute_sql">; execution_id: z.ZodString; statement: z.ZodString; }, "strip", z.ZodTypeAny, { kind: "execute_sql"; execution_id: string; statement: string; }, { kind: "execute_sql"; execution_id: string; statement: string; }>; export type ExecuteSQLEvent = z.infer; export declare const RetrieveResultsEventSchema: z.ZodObject<{ kind: z.ZodLiteral<"retrieve_results">; execution_id: z.ZodString; geometry: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { kind: "retrieve_results"; execution_id: string; geometry: GeometryRepresentation; }, { kind: "retrieve_results"; execution_id: string; geometry: GeometryRepresentation; }>; export type RetrieveResultsEvent = z.infer; export declare const CancelExecutionEventSchema: z.ZodObject<{ kind: z.ZodLiteral<"cancel">; execution_id: z.ZodString; }, "strip", z.ZodTypeAny, { kind: "cancel"; execution_id: string; }, { kind: "cancel"; execution_id: string; }>; export type CancelExecutionEvent = z.infer; export declare const EventWithExecutionIdSchema: z.ZodObject<{ execution_id: z.ZodString; }, "strip", z.ZodTypeAny, { execution_id: string; }, { execution_id: string; }>; export declare const StateUpdatedEventSchema: z.ZodObject; state: z.ZodLiteral<"succeeded">; }>, "strip", z.ZodTypeAny, { kind: "state_updated"; execution_id: string; state: "succeeded"; }, { kind: "state_updated"; execution_id: string; state: "succeeded"; }>; export type StateUpdatedEvent = z.infer; export declare const ExecutionResultEventSchema: z.ZodObject; state: z.ZodLiteral<"succeeded">; results: z.ZodObject<{ result_bytes: z.ZodType; compression: z.ZodNativeEnum; format: z.ZodNativeEnum; geometry: z.ZodNativeEnum; geo_columns: z.ZodArray; }, "strip", z.ZodTypeAny, { geometry: GeometryRepresentation; result_bytes: Buffer; compression: DataCompression; format: ResultsFormat; geo_columns: string[]; }, { geometry: GeometryRepresentation; result_bytes: Buffer; compression: DataCompression; format: ResultsFormat; geo_columns: string[]; }>; }>, "strip", z.ZodTypeAny, { kind: "execution_result"; execution_id: string; state: "succeeded"; results: { geometry: GeometryRepresentation; result_bytes: Buffer; compression: DataCompression; format: ResultsFormat; geo_columns: string[]; }; }, { kind: "execution_result"; execution_id: string; state: "succeeded"; results: { geometry: GeometryRepresentation; result_bytes: Buffer; compression: DataCompression; format: ResultsFormat; geo_columns: string[]; }; }>; export type ExecutionResultEvent = z.infer; export declare const ErrorEventSchema: z.ZodObject; message: z.ZodString; }>, "strip", z.ZodTypeAny, { message: string; kind: "error"; execution_id: string; }, { message: string; kind: "error"; execution_id: string; }>; export type ErrorEvent = z.infer; export {};