import * as z from "zod"; import { Result as SafeParseResult } from "../../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { MaskingRule, MaskingRule$Outbound } from "./maskingrule.js"; /** * The partially evaluated result of the query as UCAST. */ export type CompileResultUCASTResult = { /** * UCAST JSON object describing the conditions under which the query is true. */ query?: { [k: string]: any; } | undefined; /** * Column masking rules, where the key is the column name, and the value describes which masking function to use. */ masks?: { [k: string]: { [k: string]: MaskingRule; }; } | undefined; additionalProperties?: { [k: string]: any; }; }; /** * The partially evaluated result of the query, in UCAST format. Result will be empty if the query is never true. */ export type CompileResultUCAST = { /** * The partially evaluated result of the query as UCAST. */ result?: CompileResultUCASTResult | undefined; }; /** @internal */ export declare const CompileResultUCASTResult$inboundSchema: z.ZodType; /** @internal */ export type CompileResultUCASTResult$Outbound = { query?: { [k: string]: any; } | undefined; masks?: { [k: string]: { [k: string]: MaskingRule$Outbound; }; } | undefined; [additionalProperties: string]: unknown; }; /** @internal */ export declare const CompileResultUCASTResult$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 CompileResultUCASTResult$ { /** @deprecated use `CompileResultUCASTResult$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CompileResultUCASTResult$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CompileResultUCASTResult$Outbound` instead. */ type Outbound = CompileResultUCASTResult$Outbound; } export declare function compileResultUCASTResultToJSON(compileResultUCASTResult: CompileResultUCASTResult): string; export declare function compileResultUCASTResultFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CompileResultUCAST$inboundSchema: z.ZodType; /** @internal */ export type CompileResultUCAST$Outbound = { result?: CompileResultUCASTResult$Outbound | undefined; }; /** @internal */ export declare const CompileResultUCAST$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 CompileResultUCAST$ { /** @deprecated use `CompileResultUCAST$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CompileResultUCAST$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CompileResultUCAST$Outbound` instead. */ type Outbound = CompileResultUCAST$Outbound; } export declare function compileResultUCASTToJSON(compileResultUCAST: CompileResultUCAST): string; export declare function compileResultUCASTFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=compileresultucast.d.ts.map