import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AlternativeQuery } from "./alternativequery.js"; import { ConvertQueryError } from "./convertqueryerror.js"; export declare const SearchConvertQueryResponseTargets: { readonly Host: "host"; readonly Web: "web"; readonly Cert: "cert"; readonly Unknown: "unknown"; }; export type SearchConvertQueryResponseTargets = OpenEnum; export type SearchConvertQueryResponse = { /** * Alternative queries that may be used. For example, a query that includes web results in addition to host results. */ alternativeQueries?: Array | null | undefined; /** * Comments about the query conversion. */ comments?: Array | null | undefined; /** * The original query, converted to CenQL syntax. This may be empty if unable to translate the query. */ convertedQuery?: string | undefined; /** * The error messages if the query could not be converted. */ errors: Array | null; /** * The original Censys Search Language query. */ originalQuery: string; /** * The types of Platform data records (host, cert, and web) that can be targeted by the converted query. Note: Does not include targets that could be returned due to full-document search. This may be empty if the query is a match-all for full-document search query. */ targets: Array | null; }; /** @internal */ export declare const SearchConvertQueryResponseTargets$inboundSchema: z.ZodType; /** @internal */ export declare const SearchConvertQueryResponse$inboundSchema: z.ZodType; export declare function searchConvertQueryResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=searchconvertqueryresponse.d.ts.map