import * as z from "zod/v3"; import * as components from "../components/index.js"; import { GleanBaseError } from "./gleanbaseerror.js"; export type GleanDataErrorData = { /** * 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; }; export declare class GleanDataError extends GleanBaseError { /** * 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; /** The original data that was passed to this error instance. */ data$: GleanDataErrorData; constructor(err: GleanDataErrorData, httpMeta: { response: Response; request: Request; body: string; }); } /** @internal */ export declare const GleanDataError$inboundSchema: z.ZodType; //# sourceMappingURL=gleandataerror.d.ts.map