import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AskIndexResponseSource, AskIndexResponseSource$Outbound } from "./askindexresponsesource.js"; export type AskIndexResponse = { /** * Reserved for future use - conversation thread identifier */ threadId?: string | null | undefined; /** * The synthesized answer to the question */ answer: string; /** * Confidence score for the answer quality (0 to 1000) */ confidence: number; /** * List of source documents that contributed to the answer */ sources: Array; }; /** @internal */ export declare const AskIndexResponse$inboundSchema: z.ZodType; /** @internal */ export type AskIndexResponse$Outbound = { thread_id?: string | null | undefined; answer: string; confidence: number; sources: Array; }; /** @internal */ export declare const AskIndexResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AskIndexResponse$ { /** @deprecated use `AskIndexResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AskIndexResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AskIndexResponse$Outbound` instead. */ type Outbound = AskIndexResponse$Outbound; } export declare function askIndexResponseToJSON(askIndexResponse: AskIndexResponse): string; export declare function askIndexResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=askindexresponse.d.ts.map