import type * as core from "../../../../../core/index.js"; /** * @example * {} */ export interface DocAiParseRequest { /** Document file(s) to parse. Repeatable multipart part. Exactly one of `file` and `upload_ids` must be provided. */ file?: core.file.Uploadable[] | undefined; /** Comma-separated upload IDs returned by `POST /doc-ai/v1/job/upload`. Exactly one of `file` and `upload_ids` must be provided. */ upload_ids?: string; /** Language of the document in BCP-47 format (e.g. `hi-IN`, `en-IN`). Defaults to Indic: when omitted, the document is processed as an Indic-language document. To process an English document, set `language` to `en-IN`. Sarvam Vision supports 22 Indian languages plus English; see the [Sarvam Vision model page](/api/api-guides-tutorials/models/sarvam-vision) for the full list. */ language?: string; /** Nature of the document content. */ content_type?: DocAiParseRequest.ContentType; /** Model to use for digitisation. */ model?: string; } export declare namespace DocAiParseRequest { /** Nature of the document content. */ const ContentType: { readonly Printed: "printed"; readonly Handwritten: "handwritten"; readonly Mixed: "mixed"; }; type ContentType = (typeof ContentType)[keyof typeof ContentType]; }