import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ErrorMessage } from "./errormessage.js"; import { InvalidOperatorValueError } from "./invalidoperatorvalueerror.js"; export type GleanDataError = { /** * Indicates the gmail results could not be fetched due to bad token. */ badGmailToken?: boolean | undefined; /** * Indicates the outlook results could not be fetched due to bad token. */ badOutlookToken?: boolean | undefined; /** * Indicates results could not be fetched due to invalid operators in the query. */ invalidOperators?: Array | undefined; errorMessages?: Array | undefined; /** * Indicates the federated search results could not be fetched due to rate limiting. */ federatedSearchRateLimitError?: boolean | undefined; }; /** @internal */ export declare const GleanDataError$inboundSchema: z.ZodType; export declare function gleanDataErrorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=gleandataerror.d.ts.map