import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ResultTab, ResultTab$Outbound } from "./resulttab.js"; import { SearchProviderInfo, SearchProviderInfo$Outbound } from "./searchproviderinfo.js"; import { SearchRequestInputDetails, SearchRequestInputDetails$Outbound } from "./searchrequestinputdetails.js"; import { SearchRequestOptions, SearchRequestOptions$Outbound } from "./searchrequestoptions.js"; import { TextRange, TextRange$Outbound } from "./textrange.js"; export type QuerySuggestion = { /** * A query term missing from the original query on which this suggestion is based. */ missingTerm?: string | undefined; /** * The query being suggested (e.g. enforcing the missing term from the original query). */ query: string; searchProviderInfo?: SearchProviderInfo | undefined; /** * A user-facing description to display for the suggestion. */ label?: string | undefined; /** * The datasource associated with the suggestion. */ datasource?: string | undefined; resultTab?: ResultTab | undefined; requestOptions?: SearchRequestOptions | undefined; /** * The bolded ranges within the query of the QuerySuggestion. */ ranges?: Array | undefined; inputDetails?: SearchRequestInputDetails | undefined; }; /** @internal */ export declare const QuerySuggestion$inboundSchema: z.ZodType; /** @internal */ export type QuerySuggestion$Outbound = { missingTerm?: string | undefined; query: string; searchProviderInfo?: SearchProviderInfo$Outbound | undefined; label?: string | undefined; datasource?: string | undefined; resultTab?: ResultTab$Outbound | undefined; requestOptions?: SearchRequestOptions$Outbound | undefined; ranges?: Array | undefined; inputDetails?: SearchRequestInputDetails$Outbound | undefined; }; /** @internal */ export declare const QuerySuggestion$outboundSchema: z.ZodType; export declare function querySuggestionToJSON(querySuggestion: QuerySuggestion): string; export declare function querySuggestionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=querysuggestion.d.ts.map