import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { GeneratedQna } from "./generatedqna.js"; import { GleanDataError } from "./gleandataerror.js"; import { SearchResult } from "./searchresult.js"; import { SessionInfo } from "./sessioninfo.js"; import { StructuredResult } from "./structuredresult.js"; export type ResultsResponse = { /** * A token that should be passed for additional requests related to this request (such as more results requests). */ trackingToken?: string | undefined; sessionInfo?: SessionInfo | undefined; results?: Array | undefined; structuredResults?: Array | undefined; generatedQnaResult?: GeneratedQna | undefined; gleanDataError?: GleanDataError | undefined; /** * A platform-generated request ID to correlate backend logs. */ requestID?: string | undefined; /** * Time in milliseconds the backend took to respond to the request. */ backendTimeMillis?: number | undefined; }; /** @internal */ export declare const ResultsResponse$inboundSchema: z.ZodType; export declare function resultsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=resultsresponse.d.ts.map