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"; /** * The type of the warning. */ export declare const WarningType: { readonly LongQuery: "LONG_QUERY"; readonly QuotedPunctuation: "QUOTED_PUNCTUATION"; readonly PunctuationOnly: "PUNCTUATION_ONLY"; readonly CopypastedQuotes: "COPYPASTED_QUOTES"; readonly InvalidOperator: "INVALID_OPERATOR"; readonly MaybeInvalidFacetQuery: "MAYBE_INVALID_FACET_QUERY"; readonly TooManyDatasourceGroups: "TOO_MANY_DATASOURCE_GROUPS"; }; /** * The type of the warning. */ export type WarningType = OpenEnum; export type SearchWarning = { /** * The type of the warning. */ warningType: WarningType; /** * The last term we considered in the user's long query. */ lastUsedTerm?: string | undefined; /** * The query after ignoring/removing quotes. */ quotesIgnoredQuery?: string | undefined; /** * A list of query terms that were ignored when generating search results, if any. For example, terms containing invalid filters such as "updated:invalid_date" will be ignored. */ ignoredTerms?: Array | undefined; }; /** @internal */ export declare const WarningType$inboundSchema: z.ZodType; /** @internal */ export declare const SearchWarning$inboundSchema: z.ZodType; export declare function searchWarningFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=searchwarning.d.ts.map