import { z } from "zod"; //#region src/cli/query/index.d.ts declare const queryOptionsSchema: z.ZodObject<{ workspaceId: z.ZodOptional; profile: z.ZodOptional; configPath: z.ZodOptional; engine: z.ZodEnum<{ sql: "sql"; gql: "gql"; }>; machineUser: z.ZodOptional; machineUserSource: z.ZodOptional>; query: z.ZodString; }, z.core.$strip>; type QueryOptions = z.input; type SQLQueryDispatchResult = { engine: "sql"; namespace: string; query: string; result: unknown; }; type GQLQueryDispatchResult = { engine: "gql"; query: string; result: unknown; }; type QueryDispatchResult = SQLQueryDispatchResult | GQLQueryDispatchResult; /** * Dispatch query execution. * @param options - Query command options * @returns Dispatch result */ export declare function query(options: QueryOptions): Promise; //#endregion