import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { IndexMultimodalRequestImage, IndexMultimodalRequestImage$Outbound } from "./indexmultimodalrequestimage.js"; export type IndexMultimodalRequest = { /** * The name of the index to add the document to */ indexName: string; /** * The ID of the document. If not provided, a unique document ID will be automatically generated by the server. */ docId?: string | undefined; /** * Image data that can be provided as either a URL or base64 encoded data, but not both */ image?: IndexMultimodalRequestImage | undefined; /** * The text content of the document to be indexed */ content?: string | undefined; /** * Title of the document to be indexed */ title?: string | undefined; /** * URL associated with the document to be indexed */ url?: string | undefined; /** * Metadata associated with the document. Accepts key value pairs where the value can be a string, number, boolean, or list of strings. */ metadata?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const IndexMultimodalRequest$inboundSchema: z.ZodType; /** @internal */ export type IndexMultimodalRequest$Outbound = { index_name: string; doc_id?: string | undefined; image?: IndexMultimodalRequestImage$Outbound | undefined; content?: string | undefined; title?: string | undefined; url?: string | undefined; metadata?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const IndexMultimodalRequest$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 IndexMultimodalRequest$ { /** @deprecated use `IndexMultimodalRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IndexMultimodalRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IndexMultimodalRequest$Outbound` instead. */ type Outbound = IndexMultimodalRequest$Outbound; } export declare function indexMultimodalRequestToJSON(indexMultimodalRequest: IndexMultimodalRequest): string; export declare function indexMultimodalRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=indexmultimodalrequest.d.ts.map