import * as z from "zod"; import { Result as SafeParseResult } from "../../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Query = {}; export type Support = {}; /** * The partially evaluated result of the query. */ export type CompileResultJSONResult = { query?: Query | undefined; support?: Support | undefined; additionalProperties?: { [k: string]: any; }; }; /** * The partially evaluated result of the query. Result will be empty if the query is never true. */ export type CompileResultJSON = { /** * The partially evaluated result of the query. */ result?: CompileResultJSONResult | undefined; }; /** @internal */ export declare const Query$inboundSchema: z.ZodType; /** @internal */ export type Query$Outbound = {}; /** @internal */ export declare const Query$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Query$ { /** @deprecated use `Query$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Query$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Query$Outbound` instead. */ type Outbound = Query$Outbound; } export declare function queryToJSON(query: Query): string; export declare function queryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Support$inboundSchema: z.ZodType; /** @internal */ export type Support$Outbound = {}; /** @internal */ export declare const Support$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Support$ { /** @deprecated use `Support$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Support$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Support$Outbound` instead. */ type Outbound = Support$Outbound; } export declare function supportToJSON(support: Support): string; export declare function supportFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CompileResultJSONResult$inboundSchema: z.ZodType; /** @internal */ export type CompileResultJSONResult$Outbound = { query?: Query$Outbound | undefined; support?: Support$Outbound | undefined; [additionalProperties: string]: unknown; }; /** @internal */ export declare const CompileResultJSONResult$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CompileResultJSONResult$ { /** @deprecated use `CompileResultJSONResult$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CompileResultJSONResult$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CompileResultJSONResult$Outbound` instead. */ type Outbound = CompileResultJSONResult$Outbound; } export declare function compileResultJSONResultToJSON(compileResultJSONResult: CompileResultJSONResult): string; export declare function compileResultJSONResultFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CompileResultJSON$inboundSchema: z.ZodType; /** @internal */ export type CompileResultJSON$Outbound = { result?: CompileResultJSONResult$Outbound | undefined; }; /** @internal */ export declare const CompileResultJSON$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CompileResultJSON$ { /** @deprecated use `CompileResultJSON$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CompileResultJSON$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CompileResultJSON$Outbound` instead. */ type Outbound = CompileResultJSON$Outbound; } export declare function compileResultJSONToJSON(compileResultJSON: CompileResultJSON): string; export declare function compileResultJSONFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=compileresultjson.d.ts.map