import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AskIndexRequest = { /** * The name of the index to ask a question to */ indexName: string; askIndexRequest: components.AskIndexRequest; }; /** @internal */ export declare const AskIndexRequest$inboundSchema: z.ZodType; /** @internal */ export type AskIndexRequest$Outbound = { index_name: string; AskIndexRequest: components.AskIndexRequest$Outbound; }; /** @internal */ export declare const AskIndexRequest$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 AskIndexRequest$ { /** @deprecated use `AskIndexRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AskIndexRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AskIndexRequest$Outbound` instead. */ type Outbound = AskIndexRequest$Outbound; } export declare function askIndexRequestToJSON(askIndexRequest: AskIndexRequest): string; export declare function askIndexRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=askindex.d.ts.map