import * as z from "zod/v3"; import { Document, Document$Outbound } from "./document.js"; import { DocumentSpecUnion, DocumentSpecUnion$Outbound } from "./documentspecunion.js"; import { RecommendationsRequestOptions, RecommendationsRequestOptions$Outbound } from "./recommendationsrequestoptions.js"; import { SessionInfo, SessionInfo$Outbound } from "./sessioninfo.js"; export type RecommendationsRequest = { /** * The ISO 8601 timestamp associated with the client request. */ timestamp?: Date | undefined; /** * A previously received trackingToken for a search associated with the same query. Useful for more requests and requests for other tabs. */ trackingToken?: string | undefined; sessionInfo?: SessionInfo | undefined; sourceDocument?: Document | undefined; /** * Hint to the server about how many results to send back. Server may return less or more. Structured results and clustered results don't count towards pageSize. */ pageSize?: number | undefined; /** * Hint to the server about how many characters long a snippet may be. Server may return less or more. */ maxSnippetSize?: number | undefined; recommendationDocumentSpec?: DocumentSpecUnion | undefined; requestOptions?: RecommendationsRequestOptions | undefined; }; /** @internal */ export type RecommendationsRequest$Outbound = { timestamp?: string | undefined; trackingToken?: string | undefined; sessionInfo?: SessionInfo$Outbound | undefined; sourceDocument?: Document$Outbound | undefined; pageSize?: number | undefined; maxSnippetSize?: number | undefined; recommendationDocumentSpec?: DocumentSpecUnion$Outbound | undefined; requestOptions?: RecommendationsRequestOptions$Outbound | undefined; }; /** @internal */ export declare const RecommendationsRequest$outboundSchema: z.ZodType; export declare function recommendationsRequestToJSON(recommendationsRequest: RecommendationsRequest): string; //# sourceMappingURL=recommendationsrequest.d.ts.map